/* static/css/style.css */

/* ========== BOOTSTRAP CUSTOMIZATION ========== */
:root {
    --primary-color: #ff3c8f;
    --secondary-color: #1a0a2e;
    --dark-bg: #0d0515;
    --card-bg: rgba(38, 18, 58, 0.8);
    --text-light: #ddd;
    --success-color: #2ecc71;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --info-color: #3498db;
}

/* ========== OVERRIDE BOOTSTRAP DEFAULT THEME ========== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0d0515 !important; /* لون داكن ثابت بدون تدرجات */
    color: white !important;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
/* ========== RESET & BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========== LAYOUT CONTAINER ========== */
.container {
    display: flex;
    min-height: 100vh;
}

/* ========== SIDEBAR ========== */
.sidebar {
    width: 250px;
    height: 100vh;
    background: #1a0a2e; /* لون صلب بدلاً من الشفافية */
    position: fixed;
    left: 0;
    top: 0;
    padding: 25px 20px;
    border-right: 1px solid rgba(255, 60, 143, 0.2);
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.3);
    /*backdrop-filter: blur(10px);*/
    z-index: 1000;
    overflow-y: auto;
}

.logo {
    color: #ff3c8f;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 60, 143, 0.3);
    text-shadow: 0 0 10px rgba(255, 60, 143, 0.5);
}

.sidebar a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ddd;
    text-decoration: none;
    margin: 15px 0;
    padding: 12px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 16px;
    border-left: 4px solid transparent;
}

.sidebar a:hover,
.sidebar a.active {
    background: rgba(255, 60, 143, 0.15);
    color: #ff3c8f;
    transform: translateX(5px);
    border-left: 4px solid #ff3c8f;
}

.sidebar .icon {
    font-size: 18px;
}

/* ========== MAIN CONTENT ========== */
.main-content,
.main {
    flex: 1;
    margin-left: 250px;
    padding: 30px;
    min-height: 100vh;
    width: calc(100% - 250px);
    max-width: 100%;
}

/* ========== TOPBAR ========== */
.topbar {
    background: rgba(38, 18, 58, 0.8);
    padding: 20px 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.user-info {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #ff3c8f, #ff6b9d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 18px;
    margin-right: 12px;
}

.admin-badge {
    color: #ffc107;
    font-weight: bold;
}

.user-badge {
    color: #17a2b8;
    font-weight: bold;
}

.usdt-info {
    font-size: 14px;
}

.balance {
    color: #28a745;
    font-weight: 500;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    justify-content: center;
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(45deg, #ff3c8f, #ff6b9d);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #ff6b9d, #ff3c8f);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 60, 143, 0.3);
}

.btn-success {
    background: rgba(46, 204, 113, 0.2);
    border: 1px solid #2ecc71;
    color: #2ecc71;
}

.btn-success:hover {
    background: rgba(46, 204, 113, 0.3);
}

.btn-danger {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid #e74c3c;
    color: #e74c3c;
}

.btn-danger:hover {
    background: rgba(231, 76, 60, 0.3);
}

.btn-warning {
    background: rgba(243, 156, 18, 0.2);
    border: 1px solid #f39c12;
    color: #f39c12;
}

.btn-warning:hover {
    background: rgba(243, 156, 18, 0.3);
}

.btn-info {
    background: rgba(52, 152, 219, 0.2);
    border: 1px solid #3498db;
    color: #3498db;
}

.btn-info:hover {
    background: rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background: rgba(52, 152, 219, 0.2);
    border: 1px solid #3498db;
    color: #3498db;
}

.btn-secondary:hover {
    background: rgba(52, 152, 219, 0.3);
}

/* ========== ACTION BUTTONS ========== */
.action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.action-btn.view {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.action-btn.reply {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.action-btn.close {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ========== QUICK ACTIONS ========== */
.quick-actions {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

/* ========== FLASH MESSAGES ========== */
.flash-messages {
    margin-bottom: 20px;
}

.flash-message {
    padding: 18px 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeIn 0.5s ease;
    backdrop-filter: blur(10px);
}

.flash-success {
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
    border-left: 4px solid #28a745;
}

.flash-error {
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
    border-left: 4px solid #dc3545;
}

.flash-warning {
    background: rgba(243, 156, 18, 0.15);
    border: 1px solid rgba(243, 156, 18, 0.3);
    color: #f39c12;
    border-left: 4px solid #ffc107;
}

.flash-info {
    background: rgba(52, 152, 219, 0.15);
    border: 1px solid rgba(52, 152, 219, 0.3);
    color: #3498db;
    border-left: 4px solid #17a2b8;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== CONTENT WRAPPERS ========== */
.content-wrapper,
.form-container,
.card-box,
.dashboard-section,
.support-form,
.filters {
    background: rgba(38, 18, 58, 0.8);
    padding: 25px 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 25px;
}

/* ========== UNIFIED PAGE WIDTH (Full Width) ========== */
.content-wrapper,
.dashboard-section,
.dashboard-header,
.marketplace-header,
.support-container,
.crypto-deposit-container,
.form-container {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
}

/* ========== FORMS ========== */
.form-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 30px;
}

.form-container h2 {
    color: #ff3c8f;
    margin-bottom: 30px;
    text-align: center;
    font-size: 28px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ddd;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select,
.form-select,
.filter-input {
    width: 100%;
    padding: 14px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.form-select:focus,
.filter-input:focus {
    outline: none;
    border-color: #ff3c8f;
    box-shadow: 0 0 0 3px rgba(255, 60, 143, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
    font-family: monospace;
}

.form-text {
    color: #666;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

/* ========== CARDS GRID ========== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.card-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 60, 143, 0.3);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header h4 {
    color: #ff3c8f;
    font-size: 18px;
}

.price {
    font-size: 28px;
    font-weight: bold;
    color: #ff3c8f;
    margin: 20px 0;
    text-align: center;
}

/* ========== STATUS BADGES ========== */
.status-available,
.status-completed {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.status-pending {
    background: rgba(243, 156, 18, 0.15);
    color: #f39c12;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.status-sold {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

/* ========== TICKET STATUS ========== */
.ticket-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

.status-open {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
}

.status-closed {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

/* ========== TABLES ========== */
.table-container {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.admin-table th {
    background: rgba(255, 60, 143, 0.2);
    color: #ff3c8f;
    font-weight: bold;
    padding: 18px 20px;
    text-align: left;
    border-bottom: 2px solid rgba(255, 60, 143, 0.3);
    position: sticky;
    top: 0;
    z-index: 10;
}

.admin-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-table tr {
    transition: all 0.3s ease;
}

.admin-table tr:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* ========== DASHBOARD STYLES ========== */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.balance-card {
    background: rgba(38, 18, 58, 0.8);
    padding: 30px;
    border-radius: 15px;
    min-width: 300px;
    border: 1px solid rgba(255, 60, 143, 0.3);
    backdrop-filter: blur(10px);
}

.balance-amount {
    font-size: 42px;
    font-weight: bold;
    color: #ff3c8f;
    margin: 15px 0;
    text-align: center;
}

.balance-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.dashboard-section h3 {
    color: #ff3c8f;
    margin-bottom: 25px;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ========== STATS GRID ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(38, 18, 58, 0.8);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 60, 143, 0.5);
}

.stat-card h3 {
    color: #bbb;
    font-size: 13px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-number {
    font-size: 38px;
    font-weight: bold;
    color: #ff3c8f;
    text-shadow: 0 0 20px rgba(255, 60, 143, 0.3);
}

/* ========== INFO BOXES ========== */
.info-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 4px solid #ff3c8f;
}

.info-box h3 {
    color: #ff3c8f;
    margin-bottom: 15px;
}

.info-box ol,
.info-box ul {
    padding-left: 20px;
    margin: 15px 0;
}

.info-box li {
    margin-bottom: 10px;
    color: #ddd;
}

.current-balance {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
    font-size: 18px;
}

/* ========== MARKETPLACE ========== */
.marketplace-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: rgba(38, 18, 58, 0.8);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.balance-info {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 18px;
    flex-wrap: wrap;
}

.filter-row {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

/* ========== EMPTY STATES ========== */
.empty-state {
    text-align: center;
    padding: 80px 40px;
    background: rgba(38, 18, 58, 0.6);
    border-radius: 15px;
    margin: 30px 0;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.empty-state:hover {
    border-color: rgba(255, 60, 143, 0.3);
    background: rgba(38, 18, 58, 0.8);
}

.empty-state h3 {
    color: #ff3c8f;
    margin-bottom: 20px;
    font-size: 24px;
}

.empty-state p {
    color: #aaa;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

/* ========== CARD TYPES ========== */
.card-type-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 8px;
}

.card-type-visa {
    background: linear-gradient(45deg, #1a1f71, #f7b600);
    color: white;
}

.card-type-mastercard {
    background: linear-gradient(45deg, #eb001b, #f79e1b);
    color: white;
}

.card-type-amex {
    background: linear-gradient(45deg, #006fcf, #009cde);
    color: white;
}

.card-type-discover {
    background: linear-gradient(45deg, #ff6000, #ffa000);
    color: white;
}

.card-type-unknown {
    background: linear-gradient(45deg, #666, #999);
    color: white;
}

/* ========== BANK INFO ========== */
.bank-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
}

.bank-icon {
    font-size: 18px;
}

/* ========== EXPIRATION DATE ========== */
.exp-date {
    display: inline-block;
    background: rgba(255, 60, 143, 0.1);
    padding: 4px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 60, 143, 0.3);
    font-family: monospace;
    font-weight: bold;
}

/* ========== CARD DETAILS ========== */
.card-details {
    margin: 15px 0;
}

.card-details p {
    margin: 8px 0;
    color: #ddd;
    font-size: 14px;
}

.card-actions {
    margin-top: 20px;
    text-align: center;
}

.insufficient-funds {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 10px;
}

.insufficient-funds a {
    color: #ff3c8f;
    text-decoration: underline;
}

/* ========== FULL CARD DETAILS (Purchased) ========== */
.full-card-details {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    border: 1px solid #2ecc71;
}

.full-card-details h5 {
    color: #2ecc71;
    margin-bottom: 10px;
    font-weight: bold;
}

.card-numbers {
    font-family: monospace;
    font-size: 16px;
    line-height: 1.8;
}

.card-numbers p {
    margin: 5px 0;
    color: white;
}

/* ========== ADDRESS BOX ========== */
.address-box {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 10px;
    margin: 15px 0;
    border: 1px solid rgba(255, 60, 143, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.copy-btn {
    background: rgba(255, 60, 143, 0.2);
    border: 1px solid #ff3c8f;
    color: #ff3c8f;
    padding: 10px 25px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: rgba(255, 60, 143, 0.3);
    transform: scale(1.05);
}

/* ========== UPLOAD OPTIONS ========== */
.upload-options {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    background: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 15px;
    flex-wrap: wrap;
}

.upload-option {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 30px;
    background: rgba(38, 18, 58, 0.8);
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-option:hover {
    border-color: #ff3c8f;
    transform: translateY(-5px);
}

.upload-option h4 {
    color: #ff3c8f;
    margin-bottom: 15px;
    font-size: 20px;
}

.upload-option p {
    color: #aaa;
    margin-bottom: 20px;
}

/* ========== AUTH PAGES ========== */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #0d0515 0%, #1a0a2e 100%);
    padding: 20px;
}

.auth-box {
    background: rgba(38, 18, 58, 0.95);
    padding: 50px;
    border-radius: 20px;
    width: 100%;
    max-width: 450px;
    border: 1px solid rgba(255, 60, 143, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.auth-box h2 {
    color: #ff3c8f;
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

.auth-link {
    text-align: center;
    margin-top: 30px;
    color: #aaa;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-link a {
    color: #ff3c8f;
    text-decoration: none;
    font-weight: bold;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* ========== SUPPORT PAGE ========== */
.support-container {
    max-width: 100%;
    margin: 0 auto;
}

.support-form h3,
.direct-contact h3 {
    color: #ff3c8f;
    margin-bottom: 25px;
    text-align: center;
}

.support-info h4 {
    color: #3498db;
    margin-bottom: 15px;
}

.support-info li {
    margin-bottom: 10px;
    color: #ddd;
}

.telegram-btn {
    background: #0088cc;
    color: white;
    padding: 15px 40px;
    font-size: 18px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.telegram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 136, 204, 0.3);
}

/* ========== TICKET CATEGORIES ========== */
.ticket-category {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticket-category.technical {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.2), rgba(52, 152, 219, 0.1));
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.ticket-category.payment {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.2), rgba(46, 204, 113, 0.1));
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.ticket-category.card {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.2), rgba(155, 89, 182, 0.1));
    color: #9b59b6;
    border: 1px solid rgba(155, 89, 182, 0.3);
}

.ticket-category.account {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.2), rgba(231, 76, 60, 0.1));
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.ticket-category.other {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.2), rgba(243, 156, 18, 0.1));
    color: #f39c12;
    border: 1px solid rgba(243, 156, 18, 0.3);
}

/* ========== TICKET CONVERSATION ========== */
.conversation {
    margin: 25px 0;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.conversation::-webkit-scrollbar {
    width: 6px;
}

.conversation::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.conversation::-webkit-scrollbar-thumb {
    background: rgba(255, 60, 143, 0.3);
    border-radius: 3px;
}

.conversation::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 60, 143, 0.5);
}

.message {
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.admin {
    background: linear-gradient(135deg, rgba(255, 60, 143, 0.1), rgba(255, 60, 143, 0.05));
    border-left: 4px solid #ff3c8f;
    margin-left: 30px;
}

.message.user {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.05));
    border-left: 4px solid #3498db;
    margin-right: 30px;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.message-sender {
    font-weight: bold;
    color: #ff3c8f;
    display: flex;
    align-items: center;
    gap: 8px;
}

.message-time {
    color: #888;
    font-size: 11px;
    font-weight: 500;
}

/* ========== REPLY FORM ========== */
.reply-form {
    margin-top: 30px;
    padding: 25px;
    background: rgba(38, 18, 58, 0.9);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.template-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.template-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.template-btn:hover {
    background: rgba(255, 60, 143, 0.15);
    color: #ff3c8f;
    border-color: rgba(255, 60, 143, 0.3);
    transform: translateY(-2px);
}

/* ========== PRIORITY BADGES ========== */
.priority-high {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.25), rgba(231, 76, 60, 0.15));
    color: #e74c3c;
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.priority-medium {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.25), rgba(243, 156, 18, 0.15));
    color: #f39c12;
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.priority-low {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.25), rgba(46, 204, 113, 0.15));
    color: #2ecc71;
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

/* ========== ATTACHMENTS ========== */
.attachment {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(38, 18, 58, 0.8);
    border-radius: 8px;
    margin: 8px 5px;
    text-decoration: none;
    color: #ddd;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    transition: all 0.3s ease;
}

.attachment:hover {
    background: rgba(255, 60, 143, 0.15);
    color: #ff3c8f;
    border-color: rgba(255, 60, 143, 0.3);
    transform: translateY(-2px);
}

.attachment-icon {
    font-size: 18px;
}

/* ========== TICKET METADATA ========== */
.ticket-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin: 25px 0;
}

.meta-item {
    background: rgba(38, 18, 58, 0.9);
    padding: 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.meta-item:hover {
    border-color: rgba(255, 60, 143, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.meta-label {
    color: #aaa;
    font-size: 11px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.meta-value {
    font-weight: bold;
    color: white;
    font-size: 14px;
}

/* ========== CATEGORY FILTER ========== */
.category-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.category-filter-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 500;
}

.category-filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.category-filter-btn.active {
    background: rgba(255, 60, 143, 0.2);
    color: #ff3c8f;
    border-color: rgba(255, 60, 143, 0.3);
}

/* ========== SEARCH BOX ========== */
.search-box {
    position: relative;
    margin-bottom: 25px;
}

.search-box input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(38, 18, 58, 0.9);
    color: white;
    font-size: 15px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #ff3c8f;
    box-shadow: 0 0 0 3px rgba(255, 60, 143, 0.2);
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 18px;
}

/* ========== PAGINATION ========== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding: 20px;
    background: rgba(38, 18, 58, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 10px 18px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 45px;
    text-align: center;
}

.pagination a:hover {
    background: rgba(255, 60, 143, 0.2);
    color: #ff3c8f;
    transform: translateY(-2px);
}

.pagination .active {
    background: linear-gradient(45deg, #ff3c8f, #ff6b9d);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 60, 143, 0.3);
}

/* ========== MODAL ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal {
    background: rgba(38, 18, 58, 0.98);
    padding: 35px;
    border-radius: 18px;
    max-width: 500px;
    width: 90%;
    border: 1px solid rgba(255, 60, 143, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal h3 {
    color: #ff3c8f;
    margin-bottom: 25px;
    font-size: 24px;
    text-align: center;
}

/* ========== LOADING STATES ========== */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ff3c8f;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 5, 21, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: #ff3c8f;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    color: #ff3c8f;
    font-size: 16px;
    font-weight: bold;
}

/* ========== TOOLTIPS ========== */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    pointer-events: none;
    border: 1px solid rgba(255, 60, 143, 0.3);
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.9) transparent transparent transparent;
}

/* ========== TIME BADGE ========== */
.time-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 11px;
    color: #aaa;
    margin-left: 10px;
}

/* ========== BADGE WITH ICON ========== */
.badge-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.badge-with-icon i {
    font-size: 14px;
}

/* ========== CARD DETAILS PAGE ========== */
.card-details-display {
    background: rgba(38, 18, 58, 0.6);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: #ff3c8f;
    min-width: 120px;
}

.info-item span {
    text-align: right;
    flex: 1;
}

/* ========== GRID INFO DISPLAY ========== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.info-card {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 60, 143, 0.2);
}

.info-card h4 {
    color: #ff3c8f;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========== CHAT STYLES ========== */
.chat-container {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
}

.message-content {
    font-size: 16px;
    line-height: 1.8;
    white-space: pre-wrap;
}

/* ========== FILTER STYLES ========== */
.filter-input option {
    background: #2a1330;
    color: white;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .sidebar {
        width: 220px;
    }

    .main-content,
    .main {
        margin-left: 220px;
    }

    .cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 280px !important;
        max-width: 90vw;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        position: fixed;
        height: 100vh;
        z-index: 1000;
        left: 0;
        top: 0;
    }

    .sidebar.open {
        transform: translateX(0) !important;
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.5);
    }

    .mobile-menu-btn {
        display: block !important;
        position: fixed;
        top: 15px;
        left: 15px;
        padding: 12px 15px;
        font-size: 20px;
        background: linear-gradient(45deg, #ff3c8f, #ff6b9d);
        color: white;
        border: none;
        border-radius: 8px;
        z-index: 9999;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(255, 60, 143, 0.3);
        transition: all 0.3s ease;
    }

    .mobile-menu-btn:hover {
        transform: scale(1.05);
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        z-index: 999;
        backdrop-filter: blur(3px);
    }

    .sidebar-overlay.active {
        display: block !important;
    }

    .main-content,
    .main {
        margin-left: 0 !important;
        padding: 70px 20px 20px 20px !important;
        width: 100%;
        transition: padding 0.3s ease;
    }

    .sidebar a span:not(.icon) {
        display: inline-block;
        margin-left: 10px;
    }

    .sidebar a {
        padding: 12px 15px;
        font-size: 15px;
    }

    .logo {
        font-size: 22px;
        padding: 15px 0;
        margin-bottom: 30px;
    }

    .topbar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px;
        margin-bottom: 20px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    body.sidebar-open {
        overflow: hidden;
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .sidebar {
        display: block !important;
        transform: translateX(0) !important;
    }

    .sidebar-overlay {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 85vw !important;
    }

    .mobile-menu-btn {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
        font-size: 18px;
    }

    .main-content,
    .main {
        padding: 60px 15px 15px 15px !important;
    }
}


/* ========== FIX PAGE LOADING PERFORMANCE ========== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

img.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.lazy.loaded {
    opacity: 1;
}

.card-box {
    will-change: transform;
    contain: content;
}

.pagination-container {
    margin-top: 30px;
    text-align: center;
}

.loading-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.card-skeleton {
    background: rgba(38, 18, 58, 0.6);
    border-radius: 15px;
    padding: 25px;
    height: 200px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 0.8;
    }
}

/* ========== PAGINATION STYLES ========== */
.pagination-container {
    margin-top: 40px;
    padding: 25px;
    background: rgba(38, 18, 58, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.page-info {
    margin-bottom: 20px;
    color: #aaa;
    font-size: 14px;
}

.page-info p {
    margin: 0;
}

.pagination {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 20px;
}

.pagination-btn {
    padding: 10px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 45px;
    text-align: center;
    cursor: pointer;
}

.pagination-btn:hover {
    background: rgba(255, 60, 143, 0.2);
    border-color: rgba(255, 60, 143, 0.3);
    color: #ff3c8f;
    transform: translateY(-2px);
}

.pagination-active {
    padding: 10px 16px;
    border-radius: 8px;
    background: linear-gradient(45deg, #ff3c8f, #ff6b9d);
    color: white;
    font-weight: 500;
    min-width: 45px;
    text-align: center;
}

.pagination-dots {
    padding: 10px 5px;
    color: #666;
}

.page-jump {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.jump-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.jump-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    text-align: center;
}

.total-pages {
    color: #aaa;
    font-size: 14px;
}

/* ========== OPTIMIZE PERFORMANCE ========== */
.cards-grid {
    contain: layout style paint;
}

.card-box {
    transform: translateZ(0);
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.card-box.visible {
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-box:hover {
    transform: translateY(-2px) translateZ(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img {
    content-visibility: auto;
}

.cards-grid {
    content-visibility: auto;
    contain-intrinsic-size: 300px;
}

/* ========== CARD HOVER EFFECTS ========== */
.card-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* فقط الظل والتحرك */
    border: 2px solid transparent;
}

.card-box:hover {
    border-color: #ff3c8f;
    background: rgba(255, 60, 143, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 60, 143, 0.3);
}

.card-box:hover .price {
    color: #ff3c8f;
    font-size: 32px;
}

.card-box:hover .btn-primary {
    background: linear-gradient(45deg, #ff3c8f, #ff6b9d);
}

/* Compact Utility Classes */
.compact {
    font-size: 85% !important;
}

.small {
    font-size: 12px !important;
    padding: 8px !important;
}

.xs {
    font-size: 10px !important;
    padding: 4px !important;
}

.btn-sm {
    padding: 6px 12px !important;
    font-size: 12px !important;
}

.btn-xs {
    padding: 4px 8px !important;
    font-size: 10px !important;
    height: 28px !important;
}

/* Grid Adjustments */
.cards-grid.compact {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 10px !important;
}

.card-box.small {
    padding: 12px !important;
    margin-bottom: 10px !important;
    font-size: 12px !important;
}

/* Table Adjustments */
.transactions-table.compact th,
.transactions-table.compact td {
    padding: 8px 10px !important;
    font-size: 11px !important;
}

/* Form Elements */
.filter-input.small {
    padding: 6px 8px !important;
    font-size: 11px !important;
    height: 30px !important;
}

/* Pagination Compact */
.pagination.compact .pagination-btn {
    min-width: 30px !important;
    height: 30px !important;
    font-size: 11px !important;
}

/* Truncate Text */
.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

/* ========== FOOTER ========== */
.footer {
    margin-top: auto;
    padding: 20px;
    text-align: center;
    color: #aaa;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 100%;
    margin: 0 auto;
}

.footer-links {
    margin: 10px 0;
}

.footer-links a {
    color: #ff3c8f;
    text-decoration: none;
    margin: 0 5px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* ========== CRYPTO DEPOSIT CARDS ========== */
.crypto-deposit-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.crypto-deposit-container h2 {
    color: #ff3c8f;
    font-size: 28px;
    margin-bottom: 25px;
    text-align: center;
}

.crypto-deposit-container .info-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 4px solid #ff3c8f;
}

.crypto-deposit-container .info-box h3 {
    color: #ff3c8f;
    margin-bottom: 12px;
    font-size: 18px;
}

.crypto-deposit-container .info-box ol {
    padding-left: 20px;
    margin: 10px 0;
}

.crypto-deposit-container .info-box li {
    margin-bottom: 8px;
    color: #ddd;
    font-size: 14px;
}

/* ========== COIN CARD ========== */
.coin-card {
    background: rgba(38, 18, 58, 0.85);
    border: 1px solid rgba(255, 60, 143, 0.2);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.coin-card:hover {
    border-color: rgba(255, 60, 143, 0.5);
    box-shadow: 0 10px 30px rgba(255, 60, 143, 0.15);
    transform: translateY(-2px);
}

.coin-card header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.coin-symbol {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.coin-symbol.bitcoin {
    background: linear-gradient(135deg, #f7931a, #ffb347);
}

.coin-symbol.tron {
    background: linear-gradient(135deg, #ff060a, #ff4d4d);
}

.coin-symbol.solana {
    background: linear-gradient(135deg, #9945ff, #14f195);
}

.coin-card header div strong {
    display: block;
    font-size: 20px;
    color: white;
    margin-bottom: 4px;
}

.coin-card header div span {
    font-size: 13px;
    color: #aaa;
}

/* ========== COIN POLICY ========== */
.coin-policy {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}

.coin-policy > div {
    text-align: center;
}

.coin-policy > div span {
    display: block;
    font-size: 11px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.coin-policy > div strong {
    display: block;
    font-size: 18px;
    color: #ff3c8f;
    font-weight: bold;
}

/* ========== COIN RULE ALERT ========== */
.coin-rule-alert {
    display: flex;
    gap: 12px;
    background: rgba(243, 156, 18, 0.1);
    border: 1px solid rgba(243, 156, 18, 0.3);
    border-left: 4px solid #f39c12;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #ddd;
}

.coin-rule-alert__icon {
    width: 24px;
    height: 24px;
    background: #f39c12;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.coin-rule-alert strong {
    color: #f39c12;
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.coin-rule-alert p {
    margin: 5px 0;
    font-size: 12px;
    line-height: 1.5;
}

.coin-rule-alert b {
    color: #ff3c8f;
}

/* ========== DEPOSIT BUTTON ========== */
.deposit-button {
    width: 100%;
    padding: 15px 25px;
    background: linear-gradient(135deg, #ff3c8f, #ff6b9d);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.deposit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 60, 143, 0.4);
}

/* ========== ADDRESS REVEAL ========== */
.address-reveal {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 60, 143, 0.2);
    animation: fadeIn 0.3s ease;
}

.address-reveal.show {
    display: block;
}

.address-reveal .qr-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.address-reveal .qr-wrapper img {
    width: 180px;
    height: 180px;
    border-radius: 10px;
    background: white;
    padding: 10px;
}

.address-reveal .address-box {
    display: flex;
    gap: 10px;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 60, 143, 0.3);
    flex-wrap: wrap;
}

.address-reveal .address-box code {
    flex: 1;
    font-size: 13px;
    color: #fff;
    word-break: break-all;
    font-family: 'Courier New', monospace;
    min-width: 200px;
}

.address-reveal .copy-btn {
    background: rgba(255, 60, 143, 0.2);
    border: 1px solid #ff3c8f;
    color: #ff3c8f;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.address-reveal .copy-btn:hover {
    background: rgba(255, 60, 143, 0.4);
}

/* ========== CURRENT BALANCE ========== */
.current-balance {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    padding: 18px 25px;
    border-radius: 10px;
    margin: 25px 0;
    font-size: 16px;
    text-align: center;
}

.current-balance strong {
    color: #2ecc71;
}

/* ========== FORM SECTION ========== */
.deposit-form-section {
    background: rgba(38, 18, 58, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
    backdrop-filter: blur(10px);
}

.deposit-form-section h3 {
    color: #ff3c8f;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========== COIN CARDS GRID ========== */
.coin-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .coin-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .coin-policy {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .coin-card {
        padding: 18px;
    }
    
    .coin-card header div strong {
        font-size: 17px;
    }
    
    .coin-symbol {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
    
    .address-reveal .address-box code {
        font-size: 11px;
    }
    
    .deposit-form-section {
        padding: 20px;
    }
    
    .coin-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== DOWNLOAD BUTTON ========== */
.download-card-btn {
    background: rgba(52, 152, 219, 0.2);
    border: 1px solid rgba(52, 152, 219, 0.4);
    color: #3498db;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
    text-decoration: none;
}

.download-card-btn:hover {
    background: rgba(52, 152, 219, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
    color: white;
}

.download-all-btn {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
    text-decoration: none;
}

.download-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(46, 204, 113, 0.4);
    color: white;
}

/* ========== FULL WIDTH PAGE ========== */
.content-wrapper.full-width-page {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.content-wrapper.full-width-page + .footer {
    max-width: 100% !important;
}

/* ========== CYBER TOOL THEME ========== */
.dashboard-header h2 { color:#00fff9; font-weight:700; letter-spacing:.5px; }

.cyber-tabs { border-bottom:2px solid #00fff9; padding-bottom:8px; gap:6px; }
.cyber-tabs .nav-link {
    color:#5a7391; background:#131c2b;
    border:1px solid #00fff9; font-weight:600;
    border-radius:6px; padding:8px 18px; transition:all .2s;
}
.cyber-tabs .nav-link:hover { color:#00fff9; border-color:#ff00e5; }
.cyber-tabs .nav-link.active {
    background:#00fff9 !important; color:#0a0e17 !important;
    border-color:#00fff9 !important;
}

.cyber-panel {
    background:#0f1620; border:1px solid #00fff9;
    border-radius:10px; padding:22px;
    box-shadow:0 0 18px rgba(0,255,249,.08);
}

.cyber-input {
    background:#0a1520 !important; color:#39ff14 !important;
    border:1px solid #00fff9 !important;
    font-family:'Consolas',monospace !important; font-weight:600;
}
.cyber-input:focus { box-shadow:0 0 0 3px rgba(0,255,249,.25) !important; }
.cyber-input option { background:#0a1520; color:#39ff14; }

.cyber-btn-row { display:flex; flex-wrap:wrap; gap:8px; }
.cyber-btn {
    background:#0f1620; color:#00fff9; border:2px solid #00fff9;
    padding:8px 18px; border-radius:6px; cursor:pointer;
    font-family:'Consolas',monospace; font-weight:700;
    font-size:13px; transition:all .2s;
}
.cyber-btn:hover:not(:disabled) { background:#00fff9; color:#0a0e17; transform:translateY(-1px); }
.cyber-btn:disabled { opacity:.35; cursor:not-allowed; }
.cyber-btn.green   { border-color:#39ff14; color:#39ff14; }
.cyber-btn.green:hover:not(:disabled)   { background:#39ff14; color:#0a0e17; }
.cyber-btn.red     { border-color:#ff2a6d; color:#ff2a6d; }
.cyber-btn.red:hover:not(:disabled)     { background:#ff2a6d; color:#fff; }
.cyber-btn.cyan    { border-color:#00fff9; color:#00fff9; }
.cyber-btn.cyan:hover:not(:disabled)    { background:#00fff9; color:#0a0e17; }
.cyber-btn.yellow  { border-color:#f9f002; color:#f9f002; }
.cyber-btn.yellow:hover:not(:disabled)  { background:#f9f002; color:#0a0e17; }
.cyber-btn.magenta { border-color:#ff00e5; color:#ff00e5; }
.cyber-btn.magenta:hover:not(:disabled) { background:#ff00e5; color:#fff; }
.cyber-btn.purple  { border-color:#b967ff; color:#b967ff; }
.cyber-btn.purple:hover:not(:disabled)  { background:#b967ff; color:#fff; }

.cyber-stats {
    background:#1a2436; color:#39ff14; border:1px solid #ff00e5;
    padding:10px 15px; border-radius:6px; text-align:center;
    font-family:'Consolas',monospace; font-weight:700;
}

.cyber-output {
    background:#0a1520 !important; color:#00fff9 !important;
    border:1px solid #00fff9 !important;
    font-family:'Consolas',monospace !important;
    font-size:12px !important; height:320px; resize:vertical;
}
.cyber-output:focus { box-shadow:0 0 0 3px rgba(0,255,249,.25) !important; }

.cyber-pre {
    background:#0a1520; color:#39ff14; border:1px solid #00fff9;
    border-radius:6px; padding:15px; min-height:100px;
    font-family:'Consolas',monospace; white-space:pre-wrap; margin:0;
}

.cyber-check {
    color:#5a7391; font-size:12px; font-weight:700;
    display:inline-flex; align-items:center; gap:5px; cursor:pointer;
}
.cyber-check input { accent-color:#00fff9; }