/**
 * pages.css — page & component styles (extracted from Blade, no inline <style>)
 * Loaded globally via partials/styles.blade.php
 *
 * Design consistency: use var(--text-primary), var(--text-secondary), var(--danger), var(--success),
 * var(--accent-primary), var(--border-subtle), var(--glass-bg), var(--shadow-*) from fintech-modern.css.
 * Cards: .fintech-card, .fintech-card-sm, .fintech-card-elevated. Buttons: .fintech-btn, .fintech-button, .fintech-button-primary.
 */

/* ========== Utility ========== */
.page-wrap { min-height: calc(100vh - 64px); padding: 0; }
.fintech-heading-4.card-title-border,
.card-title-border { margin: 0 0 16px 0; padding-bottom: 12px; border-bottom: 1px solid var(--border-subtle); }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-between-wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.container-narrow { max-width: 720px; margin: 0 auto; }
.container-wide { max-width: 1200px; margin: 0 auto; }
.text-danger { color: var(--danger); font-size: 12px; margin-top: 4px; }
.link-back { display: inline-flex; align-items: center; gap: 8px; color: var(--text-secondary); text-decoration: none; margin-bottom: 24px; font-size: 14px; }
.link-back:hover { color: var(--text-primary); }
.modal-close-btn { background: transparent; border: none; color: var(--text-secondary); cursor: pointer; padding: 8px; font-size: 20px; line-height: 1; transition: color 0.2s; }
.modal-close-btn:hover { color: var(--text-primary); }

/* ========== Welcome ========== */
.welcome-kyc-bonus { margin: 32px 0 40px; }
.welcome-kyc-bonus-inner {
    max-width: 560px;
    margin: 0 auto;
    padding: 28px 24px;
    background: linear-gradient(135deg, rgba(255, 193, 20, 0.08) 0%, rgba(255, 193, 20, 0.02) 100%);
    border: 1px solid rgba(255, 193, 20, 0.25);
    border-radius: 16px;
    text-align: center;
}
.welcome-kyc-bonus-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-primary, #FFC114);
    background: rgba(255, 193, 20, 0.15);
    border-radius: 999px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.welcome-kyc-bonus-title { font-size: 1.25rem; font-weight: 700; color: var(--text-primary, #E5E5E5); margin: 0 0 10px 0; }
.welcome-kyc-bonus-desc { font-size: 0.95rem; color: var(--text-secondary, #999DB5); margin: 0 0 20px 0; line-height: 1.5; }
.welcome-kyc-bonus-inner .fintech-btn { text-decoration: none; }
/* Dashboard Enhancements */
.dashboard-header {
    margin-bottom: 32px;
    padding: 24px;
}

.dashboard-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.dashboard-header-badge {
    padding: 16px 28px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-header-badge:hover {
    border-color: var(--border-medium);
    transform: translateY(-2px);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.dashboard-stat-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.dashboard-stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.dashboard-main-grid {
    display: grid;
    grid-template-columns: 320px 1fr 400px;
    gap: 20px;
    margin-bottom: 28px;
}

.dashboard-chart-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-chart-card:hover {
    transform: translateY(-2px);
}

/* ======================================
   LIVE MARKETS TABLE — PREMIUM RESTYLE
   ====================================== */
.dashboard-market-table {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-market-table .fintech-table thead th {
    padding: 12px 16px;
    font-size: 10px;
    letter-spacing: 0.8px;
    color: var(--text-tertiary);
    background: rgba(8, 8, 11, 0.5);
    border-bottom: 1px solid var(--border-subtle);
    white-space: nowrap;
}

.dashboard-market-table .fintech-table tbody td {
    padding: 14px 16px;
    vertical-align: middle;
}

.dashboard-market-table .fintech-table tbody tr {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
}

.dashboard-market-table .fintech-table tbody tr:last-child {
    border-bottom: none;
}

.dashboard-market-table .fintech-table tbody tr::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: transparent;
    transition: background 0.25s;
    border-radius: 0 3px 3px 0;
}

.dashboard-market-table .fintech-table tbody tr:hover {
    background: rgba(255, 192, 20, 0.03);
}

.dashboard-market-table .fintech-table tbody tr:hover::after {
    background: var(--accent-primary);
}

/* Live Markets Table Header */
.dashboard-market-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.dashboard-market-table-header-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Live Markets Table Wrapper */
.dashboard-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.dashboard-table-wrapper::-webkit-scrollbar {
    height: 4px;
}

.dashboard-table-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.dashboard-table-wrapper::-webkit-scrollbar-thumb {
    background: var(--border-subtle);
    border-radius: 4px;
}

/* Pair Link in Tables */
.dashboard-pair-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
    transition: color 0.2s;
}

.dashboard-pair-link:hover {
    color: var(--accent-primary);
}

.dashboard-pair-link:hover .dashboard-pair-icon {
    box-shadow: 0 0 12px rgba(255, 192, 20, 0.3);
    transform: scale(1.08);
}

/* Pair Icon */
.dashboard-pair-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Pair Info */
.dashboard-pair-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dashboard-pair-info .text-value {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.dashboard-pair-info .fintech-text-tertiary {
    font-size: 11px;
}

/* Price column styling */
.dashboard-market-table .pair-price {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.dashboard-market-table .pair-price-sub {
    font-size: 10px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

/* Change badge pill */
.lm-change-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Roboto Mono', monospace;
    letter-spacing: 0.2px;
}

.lm-change-pill.positive {
    background: rgba(46, 204, 113, 0.12);
    color: #2ECC71;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.lm-change-pill.negative {
    background: rgba(255, 77, 79, 0.12);
    color: #FF4D4F;
    border: 1px solid rgba(255, 77, 79, 0.2);
}

/* Volume formatting */
.lm-volume {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    font-family: 'Roboto Mono', monospace;
}

/* Sparkline container */
.lm-sparkline-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Trade button */
.lm-trade-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: rgba(255, 192, 20, 0.1);
    border: 1px solid rgba(255, 192, 20, 0.25);
    border-radius: 6px;
    color: var(--accent-primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.lm-trade-btn:hover {
    background: var(--accent-primary);
    color: #0A0A0D;
    border-color: var(--accent-primary);
    box-shadow: 0 4px 16px rgba(255, 192, 20, 0.35);
    transform: translateY(-1px);
}

.dashboard-top-asset-item {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 14px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.dashboard-top-asset-item:hover {
    background: rgba(229, 229, 229, 0.02);
    padding-left: 8px;
    border-left: 2px solid var(--success);
}

.dashboard-mover-item {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.dashboard-mover-item:hover {
    background: rgba(229, 229, 229, 0.02);
    padding-left: 8px;
    transform: translateX(4px);
}

.dashboard-transaction-item {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.dashboard-transaction-item:hover {
    background: rgba(229, 229, 229, 0.02);
    padding-left: 8px;
}

.dashboard-metric-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Roboto Mono', monospace;
    margin-top: 4px;
}

.dashboard-metric-change.positive {
    color: var(--success);
}

.dashboard-metric-change.negative {
    color: var(--danger);
}

.dashboard-metric-change.neutral {
    color: var(--text-secondary);
}

.dashboard-metric-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 1200px) {
    .dashboard-main-grid {
        grid-template-columns: 280px 1fr 360px;
    }
}

@media (max-width: 1024px) {
    .dashboard-main-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dashboard-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard-header {
        padding: 20px 16px;
    }

    .dashboard-header-content {
        flex-direction: column;
    }

    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .dashboard-main-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .mobile-hide {
        display: none !important;
    }

    canvas {
        max-height: 250px !important;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .fintech-container {
        padding: 12px !important;
    }
}

/* Square Block Styles (KYC-inspired) */
.square-block {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-md), var(--shadow-inner);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.square-block:hover {
    border-color: var(--border-medium);
    box-shadow: var(--shadow-lg), var(--shadow-glow), var(--shadow-inner);
}

.square-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.square-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.square-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.square-more-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.square-more-link:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

/* Trending Topics */
.square-trending {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    flex-wrap: wrap;
}

.square-trending-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.square-trending-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.square-trending-tag {
    padding: 6px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.square-trending-tag:hover {
    background: var(--accent-hover);
    border-color: var(--success);
    color: var(--success);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.2);
}

/* Tabs */
.square-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0;
}

.square-tab {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    position: relative;
    top: 1px;
}

.square-tab:hover {
    color: var(--text-primary);
}

.square-tab.active {
    color: var(--text-primary);
    border-bottom-color: var(--success);
}

/* Tab Content */
.square-tab-content {
    display: none;
    animation: fadeInUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.square-tab-content.active {
    display: block;
}

/* News Timeline */
.square-news-timeline {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 8px;
}

.square-news-timeline::-webkit-scrollbar {
    width: 6px;
}

.square-news-timeline::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 3px;
}

.square-news-timeline::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 3px;
}

.square-news-timeline::-webkit-scrollbar-thumb:hover {
    background: var(--text-tertiary);
}

.square-news-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.2s;
    cursor: pointer;
}

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

.square-news-item:hover {
    padding-left: 8px;
    background: rgba(229, 229, 229, 0.02);
    border-left: 2px solid var(--success);
}

.square-news-time {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.square-news-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.square-news-description {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.square-news-source {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Skeleton Loader */
.square-skeleton {
    display: block;
}

.square-skeleton-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.square-skeleton-time {
    width: 80px;
    height: 12px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    margin-bottom: 12px;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.square-skeleton-title {
    width: 70%;
    height: 16px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    margin-bottom: 8px;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.square-skeleton-desc {
    width: 100%;
    height: 12px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    margin-bottom: 4px;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.square-skeleton-desc:last-child {
    width: 60%;
}

@keyframes skeleton-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Empty State */
.square-empty-state {
    padding: 48px 24px;
    text-align: center;
}

.square-empty-text {
    font-size: 13px;
    color: var(--text-tertiary);
    margin: 0;
}

/* User Card Styles */
.user-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-md), var(--shadow-inner);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-card:hover {
    border-color: var(--border-medium);
    box-shadow: var(--shadow-lg), var(--shadow-glow), var(--shadow-inner);
}

.user-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.user-card-avatar {
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.user-card-avatar-initial {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success) 0%, var(--accent-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.user-card-avatar-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
    border: 2px solid var(--success);
}

.user-card-verified-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--success);
    border: 2px solid var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.4);
}

.user-card-info {
    flex: 1;
}

.user-card-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.user-card-email {
    font-size: 12px;
    color: var(--text-secondary);
}

.user-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.user-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.user-card-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-card-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Roboto Mono', monospace;
}

.user-card-status-verified {
    color: var(--success);
}

.user-card-status-unverified {
    color: var(--text-tertiary);
}

.user-card-kyc-verified {
    color: var(--success);
}

.user-card-kyc-pending {
    color: #F39C12;
}

.user-card-kyc-unverified {
    color: var(--text-tertiary);
}

.user-card-footer {
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

.user-card-toggle-uid {
    width: 100%;
    padding: 10px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-card-toggle-uid:hover {
    background: var(--bg-secondary);
    border-color: var(--border-medium);
    color: var(--text-primary);
}

/* Balance Visibility Toggle */
.balance-visibility-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    padding: 4px 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-tertiary);
    transition: all 0.2s;
    border-radius: 4px;
}

.balance-visibility-toggle:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.balance-hidden {
    filter: blur(4px);
    user-select: none;
}

/* Responsive */
@media (max-width: 768px) {
    .square-block {
        padding: 24px 16px;
    }

    .square-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .square-tab {
        white-space: nowrap;
        padding: 10px 16px;
    }

    .user-card {
        padding: 20px 16px;
    }

    .user-card-header {
        flex-direction: column;
        text-align: center;
    }
}

/* ========== Settings ========== */
:root {
    --luxury-bg: #060608;
    --luxury-surface: rgba(14, 14, 18, 0.85);
    --luxury-border: rgba(212, 175, 55, 0.15);
    --luxury-gold: #D4AF37;
    --luxury-gold-soft: rgba(212, 175, 55, 0.12);
    --luxury-text: #F5F5F3;
    --luxury-text-muted: #8C8C8C;
    --luxury-radius: 14px;
}
.settings-container { max-width: 720px; margin: 0 auto; padding: 48px 32px 80px; min-height: calc(100vh - 64px); }
.settings-header { margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--luxury-border); }
.settings-header h1 { font-size: 2rem; font-weight: 600; color: var(--luxury-text); margin: 0 0 6px 0; letter-spacing: 0.02em; }
.settings-header p { font-size: 0.875rem; color: var(--luxury-text-muted); margin: 0; font-weight: 400; letter-spacing: 0.03em; }
.settings-tabs { display: flex; gap: 4px; margin-bottom: 32px; padding: 6px; background: var(--luxury-surface); border: 1px solid var(--luxury-border); border-radius: var(--luxury-radius); width: fit-content; }
.settings-tab { padding: 12px 28px; background: transparent; border: none; border-radius: 10px; color: var(--luxury-text-muted); font-size: 0.875rem; font-weight: 500; cursor: pointer; transition: all 0.25s ease; letter-spacing: 0.02em; }
.settings-tab:hover { color: var(--luxury-text); background: rgba(255,255,255,0.03); }
.settings-tab.active { color: var(--luxury-gold); background: var(--luxury-gold-soft); box-shadow: 0 0 0 1px var(--luxury-border); }
.settings-section { background: var(--luxury-surface); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid var(--luxury-border); border-radius: var(--luxury-radius); padding: 40px 36px; margin-bottom: 24px; box-shadow: 0 4px 24px rgba(0,0,0,0.2); }
.settings-section-title { font-size: 1.25rem; font-weight: 600; color: var(--luxury-text); margin: 0 0 28px 0; letter-spacing: 0.02em; padding-bottom: 16px; border-bottom: 1px solid var(--luxury-border); }
.settings-form-group { margin-bottom: 26px; }
.settings-form-group:last-of-type { margin-bottom: 32px; }
.settings-form-label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--luxury-text-muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.settings-form-input { width: 100%; padding: 16px 20px; background: rgba(10, 10, 12, 0.6); border: 1px solid var(--luxury-border); border-radius: 12px; color: var(--luxury-text); font-size: 0.9375rem; transition: all 0.25s ease; font-family: inherit; }
.settings-form-input::placeholder { color: var(--luxury-text-muted); opacity: 0.7; }
.settings-form-input:hover { border-color: rgba(212, 175, 55, 0.25); }
.settings-form-input:focus { outline: none; border-color: var(--luxury-gold); box-shadow: 0 0 0 3px var(--luxury-gold-soft); }
.settings-info-box { background: var(--luxury-gold-soft); border: 1px solid var(--luxury-border); border-radius: 12px; padding: 20px 22px; margin-bottom: 28px; }
.settings-info-box p { margin: 0; font-size: 0.8125rem; color: var(--luxury-text-muted); line-height: 1.65; letter-spacing: 0.01em; }
.settings-btn { padding: 14px 32px; border-radius: 12px; font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: all 0.25s ease; border: none; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; letter-spacing: 0.04em; font-family: inherit; }
.settings-btn-primary { background: linear-gradient(135deg, #D4AF37 0%, #B8962E 100%); color: #0A0A0A; box-shadow: 0 2px 12px rgba(212, 175, 55, 0.3); }
.settings-btn-primary:hover { background: linear-gradient(135deg, #E0BE40 0%, #C9A235 100%); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4); }
.settings-form-error { color: #E07C7C; font-size: 0.75rem; margin-top: 8px; font-weight: 500; }
@media (max-width: 768px) { .settings-container { padding: 32px 20px 60px; } .settings-section { padding: 28px 24px; } .settings-tabs { width: 100%; flex-wrap: wrap; } .settings-tab { flex: 1; min-width: 100px; justify-content: center; } }

/* ========== Wallets ========== */
@media (max-width: 768px) {
    .wallets-stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
    .wallets-main-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
    canvas { max-height: 200px !important; }
    .fintech-input { width: 100% !important; }
}
@media (max-width: 480px) { .wallets-stats-grid { grid-template-columns: 1fr !important; } }

/* ========== Transactions ========== */
.tx-page-header { margin-bottom: 20px; padding: 20px 24px; }
.tx-filters { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.tx-filters form { display: flex; gap: 8px; flex-wrap: wrap; }
.tx-filters select, .tx-filters input[type="text"] { padding: 10px 14px; background: rgba(10,10,13,0.7); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; color: var(--text-primary); font-size: 13px; font-family: 'Inter', sans-serif; transition: border-color 0.2s; outline: none; }
.tx-filters select:focus, .tx-filters input[type="text"]:focus { border-color: rgba(255,255,255,0.2); }
.tx-filters .search-input { min-width: 200px; flex: 1; }
.tx-chips { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.tx-chip { padding: 10px 16px; background: rgba(10,10,13,0.7); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; display: flex; flex-direction: column; gap: 2px; min-width: 110px; }
.tx-chip-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-secondary); font-weight: 600; }
.tx-chip-value { font-size: 16px; font-weight: 700; color: var(--text-primary); font-family: 'Roboto Mono', monospace; }
.tx-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tx-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.tx-table thead tr { border-bottom: 1px solid rgba(255,255,255,0.06); }
.tx-table thead th { padding: 10px 16px; text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-secondary); font-weight: 600; white-space: nowrap; }
.tx-table thead th.text-right { text-align: right; }
.tx-table tbody tr { border-bottom: 1px solid rgba(255,255,255,0.04); transition: background 0.15s; }
.tx-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.tx-table tbody td { padding: 14px 16px; vertical-align: middle; }
.tx-table tbody td.text-right { text-align: right; }
.kind-badge { display: inline-block; padding: 3px 9px; border-radius: 5px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; }
.kind-deposit { background: rgba(46,204,113,0.15); color: #2ECC71; }
.kind-withdraw { background: rgba(255,77,79,0.15); color: #FF4D4F; }
.kind-trade { background: rgba(255,193,20,0.15); color: #FFC114; }
.kind-swap { background: rgba(78,205,196,0.15); color: #4ECDC4; }
.kind-demo_funding { background: rgba(139,92,246,0.15); color: #8B5CF6; }
.kind-other { background: rgba(153,157,181,0.15); color: var(--text-secondary); }
.status-badge { display: inline-block; padding: 3px 9px; border-radius: 5px; font-size: 10px; font-weight: 700; text-transform: capitalize; }
.status-completed { background: rgba(46,204,113,0.15); color: #2ECC71; }
.status-pending { background: rgba(255,193,20,0.15); color: #FFC114; }
.status-failed { background: rgba(255,77,79,0.15); color: #FF4D4F; }
@media (max-width: 768px) {
    .tx-filters { flex-direction: column; align-items: stretch; }
    .tx-filters form { flex-direction: column; }
    .tx-filters select, .tx-filters input[type="text"] { width: 100%; }
    .tx-chips { gap: 8px; }
    .tx-chip { min-width: calc(50% - 4px); }
    .tx-table-wrap { overflow-x: unset; }
    .tx-table { min-width: unset; display: block; }
    .tx-table thead { display: none; }
    .tx-table tbody { display: block; }
    .tx-table tbody tr { display: block; background: rgba(10,10,13,0.7); border: 1px solid rgba(255,255,255,0.07); border-radius: 12px; padding: 14px; margin-bottom: 10px; }
    .tx-table tbody tr:hover { background: rgba(255,255,255,0.03); }
    .tx-table tbody td { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.04); text-align: left !important; }
    .tx-table tbody td:last-child { border-bottom: none; padding-bottom: 0; }
    .tx-table tbody td::before { content: attr(data-label); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-secondary); flex-shrink: 0; margin-right: 12px; }
    .tx-table tbody td.asset-cell { flex-direction: column; align-items: flex-start; }
    .tx-table tbody td.asset-cell::before { margin-bottom: 6px; }
}
@media (max-width: 480px) { .tx-chip { min-width: 100%; } }

/* ========== Notifications ========== */
.notifications-container { max-width: 1000px; margin: 0 auto; padding: 32px 24px; min-height: calc(100vh - 64px); }
.notifications-header { margin-bottom: 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.notifications-header h1 { font-size: 32px; font-weight: 700; color: var(--text-primary); margin: 0; text-transform: uppercase; letter-spacing: 0.5px; }
.notifications-actions { display: flex; gap: 12px; }
.notification-item { background: var(--glass-bg); backdrop-filter: var(--glass-blur); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 20px; margin-bottom: 16px; transition: all 0.3s; cursor: pointer; }
.notification-item:hover { border-color: var(--border-medium); transform: translateY(-2px); }
.notification-item.unread { border-left: 4px solid var(--accent-primary); background: rgba(255, 192, 20, 0.05); }
.notification-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.notification-title { font-size: 16px; font-weight: 600; color: var(--text-primary); margin: 0 0 8px 0; }
.notification-message { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin: 0 0 12px 0; }
.notification-footer { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-tertiary); }
.notifications-container .empty-state { text-align: center; padding: 80px 20px; color: var(--text-secondary); }
.notifications-container .empty-state svg { width: 80px; height: 80px; margin: 0 auto 24px; opacity: 0.5; }

/* ========== Support ========== */
.support-container { max-width: 900px; margin: 0 auto; padding: 32px 24px; min-height: calc(100vh - 64px); }
.support-container.support-index { max-width: 1200px; }
.ticket-list { display: flex; flex-direction: column; gap: 16px; }
.ticket-item { background: var(--glass-bg); backdrop-filter: var(--glass-blur); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 20px; transition: all 0.3s; text-decoration: none; display: flex; justify-content: space-between; align-items: center; }
.ticket-item:hover { border-color: var(--accent-primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.status-open { background: rgba(52, 152, 219, 0.1); color: #3498db; }
.status-answered { background: rgba(46, 204, 113, 0.1); color: #2ecc71; }
.status-closed { background: rgba(149, 165, 166, 0.1); color: #95a5a6; }
.chat-thread { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.message-bubble { padding: 20px; border-radius: 16px; max-width: 80%; position: relative; }
.message-user { align-self: flex-end; background: var(--accent-primary); color: #0A0A0D; border-bottom-right-radius: 4px; }
.message-admin { align-self: flex-start; background: var(--bg-tertiary); border: 1px solid var(--border-subtle); color: var(--text-primary); border-bottom-left-radius: 4px; }
.message-meta { font-size: 12px; margin-bottom: 8px; opacity: 0.8; display: flex; gap: 8px; align-items: center; }
.message-content { line-height: 1.6; white-space: pre-wrap; }
.ticket-header { background: var(--glass-bg); backdrop-filter: var(--glass-blur); border: 1px solid var(--border-subtle); border-radius: 16px; padding: 24px; margin-bottom: 32px; }
.ticket-status { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; text-transform: uppercase; }
.fintech-button-secondary { background: transparent; border: 1px solid var(--border-subtle); color: var(--text-secondary); padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 500; transition: all 0.2s; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.fintech-button-secondary:hover { border-color: var(--text-primary); color: var(--text-primary); background: rgba(255,255,255,0.05); }

/* ========== Favorites ========== */
.favorites-container { max-width: 1200px; margin: 0 auto; padding: 32px 24px; min-height: calc(100vh - 64px); }
.favorites-header { margin-bottom: 32px; }
.favorites-header h1 { font-size: 32px; font-weight: 700; color: var(--text-primary); margin: 0 0 8px 0; text-transform: uppercase; letter-spacing: 0.5px; }
.favorites-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.favorite-card { background: var(--glass-bg); backdrop-filter: var(--glass-blur); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 24px; transition: all 0.3s; }
.favorite-card:hover { border-color: var(--border-medium); transform: translateY(-2px); }
.favorites-container .empty-state { text-align: center; padding: 80px 20px; color: var(--text-secondary); }

/* ========== Shared .fintech-button ========== */
.fintech-button { padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s; border: none; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
/* Card as link: same hover as fintech-card for consistency (use instead of onmouseover) */
a.fintech-card.fintech-card-sm:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.fintech-button-primary { background: var(--accent-primary); color: var(--bg-primary, #0A0E27); }
.fintech-button-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.fintech-button-danger { background: var(--danger); color: #fff; }
.fintech-button-danger:hover { background: var(--danger); filter: brightness(1.1); }
.fintech-button-small { padding: 8px 16px; font-size: 12px; }

/* ========== KYC ========== */
.kyc-container { max-width: 1200px; margin: 0 auto; padding: 32px 24px; min-height: calc(100vh - 64px); }
.kyc-header { margin-bottom: 40px; text-align: center; }
.kyc-header h1 { font-size: 36px; font-weight: 700; color: var(--text-primary); margin: 0 0 12px 0; text-transform: uppercase; letter-spacing: 0.5px; }
.kyc-header p { font-size: 14px; color: var(--text-secondary); margin: 0; text-transform: uppercase; letter-spacing: 1px; }
.kyc-stepper { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; position: relative; padding: 0 40px; }
.kyc-stepper::before { content: ''; position: absolute; top: 20px; left: 80px; right: 80px; height: 2px; background: var(--border-subtle); z-index: 0; }
.kyc-stepper-progress { position: absolute; top: 20px; left: 80px; height: 2px; background: linear-gradient(90deg, var(--success) 0%, var(--accent-hover) 100%); z-index: 1; transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 0 12px rgba(46, 204, 113, 0.4); }
.kyc-step { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; flex: 1; }
.kyc-step-circle { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-tertiary); border: 2px solid var(--border-subtle); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: var(--text-tertiary); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); }
.kyc-step.active .kyc-step-circle { background: var(--success); border-color: var(--success); color: #FFFFFF; box-shadow: 0 0 20px rgba(46, 204, 113, 0.5), var(--shadow-md); transform: scale(1.1); }
.kyc-step.completed .kyc-step-circle { background: var(--success); border-color: var(--success); color: #FFFFFF; }
.kyc-alert-card { margin-bottom: 24px; background: rgba(231, 76, 60, 0.1); border-color: var(--danger, #e74c3c); }
.kyc-alert-card-inner { display: flex; align-items: center; gap: 12px; }
.kyc-errors-list { font-weight: 600; color: var(--danger, #e74c3c); margin-bottom: 8px; }
.kyc-errors-list ul { margin: 0; padding-left: 20px; color: var(--text-secondary); }

/* ========== Deposit / Withdraw ========== */
@media (max-width: 768px) {
    .deposit-main-grid, .withdraw-main-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
    .deposit-network-info { grid-template-columns: 1fr !important; }
    #qr { width: 180px !important; height: 180px !important; }
    .fintech-btn { min-height: 44px; }
    .fintech-input { font-size: 16px; min-height: 44px; }
    .fintech-modal { width: 95% !important; max-height: 90vh !important; }
}
@media (max-width: 480px) { .deposit-network-info { gap: 8px !important; } }
.fee-status-card { padding: 16px; border-radius: 12px; border: 1px solid; transition: all 0.3s; }
.fee-status-card.sufficient { background: rgba(0, 200, 83, 0.06); border-color: rgba(0, 200, 83, 0.25); }
.fee-status-card.insufficient { background: rgba(255, 77, 79, 0.06); border-color: rgba(255, 77, 79, 0.25); }
.network-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: rgba(45, 45, 50, 0.5); border: 1px solid rgba(60, 60, 65, 0.4); border-radius: 8px; font-size: 13px; color: var(--text-primary); font-weight: 500; }
.network-badge svg { width: 14px; height: 14px; color: var(--text-secondary); }
.fee-warning-box { margin: 16px 0; padding: 14px 16px; background: rgba(255, 77, 79, 0.08); border: 1px solid rgba(255, 77, 79, 0.3); border-radius: 10px; display: flex; align-items: flex-start; gap: 10px; }
.fee-warning-box svg { flex-shrink: 0; margin-top: 2px; }

/* ========== Auth captcha ========== */
.captcha-card { margin-top: 24px; padding: 16px; background: linear-gradient(135deg, rgba(30,30,36,0.9) 0%, rgba(22,22,26,0.95) 100%); border: 1px solid rgba(255,193,20,0.15); border-radius: 14px; position: relative; overflow: hidden; }
.captcha-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,193,20,0.3), transparent); opacity: 0.6; }
.captcha-card__header { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.captcha-card__icon { width: 18px; height: 18px; color: #FFC114; flex-shrink: 0; }
.captcha-card__label { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.85); letter-spacing: 0.02em; }
.captcha-card__body { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.captcha-card__puzzle { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.captcha-card__img { height: 52px; border-radius: 10px; cursor: pointer; border: 1px solid rgba(255,255,255,0.08); transition: all 0.25s ease; display: block; }
.captcha-card__img:hover { border-color: rgba(255,193,20,0.4); box-shadow: 0 0 20px rgba(255,193,20,0.08); }
.captcha-card__refresh { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; }
.captcha-card__refresh svg { width: 18px; height: 18px; }
.captcha-card__refresh:hover { background: rgba(255,193,20,0.12); border-color: rgba(255,193,20,0.25); color: #FFC114; }
.captcha-card__input-wrap { flex: 1; min-width: 100px; }
.captcha-card__input { width: 100%; padding: 12px 16px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; color: var(--text-primary); font-size: 16px; font-weight: 500; transition: border-color 0.2s ease; }
.captcha-card__input::placeholder { color: rgba(255,255,255,0.35); }
.captcha-card__input:focus { outline: none; border-color: rgba(255,193,20,0.4); background: rgba(255,255,255,0.06); box-shadow: 0 0 0 3px rgba(255,193,20,0.08); }
.captcha-card__error { margin-top: 10px; font-size: 13px; color: #FF4D4F; }

/* ========== Breadcrumbs ========== */
.breadcrumbs { margin-bottom: 24px; }
.breadcrumbs-list { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 0; }
.breadcrumbs-item { display: flex; align-items: center; gap: 4px; }
.breadcrumbs-link { font-size: 13px; color: var(--text-secondary, #999DB5); text-decoration: none; transition: color 0.2s; padding: 4px 8px; border-radius: 6px; }
.breadcrumbs-link:hover { color: var(--text-primary, #E5E5E5); background: var(--bg-tertiary, rgba(229, 229, 229, 0.05)); }
.breadcrumbs-current { font-size: 13px; font-weight: 600; color: var(--text-primary, #E5E5E5); padding: 4px 8px; }
.breadcrumbs-separator { color: var(--text-tertiary, #999DB5); flex-shrink: 0; }
@media (max-width: 768px) { .breadcrumbs { margin-bottom: 16px; } .breadcrumbs-link, .breadcrumbs-current { font-size: 12px; } }

/* ========== Stat card ========== */
.stat-card { display: flex; flex-direction: row; gap: 16px; align-items: flex-start; transition: all 0.3s; }
.stat-card-icon { flex-shrink: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--glass-bg); border-radius: 12px; font-size: 24px; }
.stat-card-icon svg { width: 24px; height: 24px; }
.stat-card-content { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.stat-card-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.8; }
.stat-card-value { color: var(--text-value); margin: 4px 0; }
.stat-card-change { display: flex; align-items: center; gap: 4px; font-weight: 600; }
.stat-card.fintech-card-sm .stat-card-icon { width: 36px; height: 36px; font-size: 18px; }
.stat-card.fintech-card-sm .stat-card-icon svg { width: 18px; height: 18px; }
.stat-card.fintech-card-lg .stat-card-icon { width: 56px; height: 56px; font-size: 28px; }
.stat-card.fintech-card-lg .stat-card-icon svg { width: 28px; height: 28px; }
.stat-card-primary { border-color: var(--accent-primary); background: var(--gradient-accent); }
.stat-card-success { border-color: var(--success); background: linear-gradient(135deg, rgba(46, 204, 113, 0.08) 0%, rgba(46, 204, 113, 0.03) 50%, transparent 100%); }
.stat-card-danger { border-color: var(--danger); background: linear-gradient(135deg, rgba(255, 77, 79, 0.08) 0%, rgba(255, 77, 79, 0.03) 50%, transparent 100%); }
@media (max-width: 480px) { .stat-card { flex-direction: column; align-items: stretch; } .stat-card-icon { align-self: flex-start; } }

/* ========== Empty state ========== */
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px; text-align: center; }
.empty-state-icon { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; color: var(--text-tertiary, #999DB5); margin-bottom: 24px; }
.empty-state-title { font-size: 18px; font-weight: 600; color: var(--text-primary, #E5E5E5); margin: 0 0 12px 0; }
.empty-state-description { font-size: 14px; color: var(--text-secondary, #999DB5); line-height: 1.6; max-width: 400px; margin: 0 0 24px; }
.empty-state-action { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; background: var(--bg-tertiary, rgba(229, 229, 229, 0.05)); border: 1px solid var(--border-subtle, rgba(229, 229, 229, 0.1)); border-radius: 10px; color: var(--text-primary, #E5E5E5); font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
.empty-state-action:hover { background: var(--bg-secondary, rgba(229, 229, 229, 0.08)); border-color: var(--border-medium, rgba(229, 229, 229, 0.2)); transform: translateY(-2px); }
@media (max-width: 768px) { .empty-state { padding: 40px 16px; } .empty-state-icon { width: 64px; height: 64px; margin-bottom: 20px; } .empty-state-title { font-size: 16px; } .empty-state-description { font-size: 13px; } }

/* ========== Copy button ========== */
.copy-button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--bg-tertiary, rgba(229, 229, 229, 0.05)); border: 1px solid var(--border-subtle, rgba(229, 229, 229, 0.1)); border-radius: 8px; color: var(--text-secondary, #999DB5); font-size: 12px; font-weight: 500; cursor: pointer; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
.copy-button:hover { background: var(--bg-secondary, rgba(229, 229, 229, 0.08)); border-color: var(--border-medium, rgba(229, 229, 229, 0.2)); color: var(--text-primary, #E5E5E5); }
.copy-button-small { padding: 4px 8px; font-size: 11px; gap: 4px; }
.copy-button-small svg { width: 14px; height: 14px; }
.copy-button-large { padding: 10px 16px; font-size: 14px; gap: 8px; }
.copy-button-large svg { width: 18px; height: 18px; }

/* ========== Modal & balance summary ========== */
.modal-pad { padding: 24px; }
.modal-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.modal-body { margin-bottom: 24px; }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; }
.balance-summary-card { margin-bottom: 16px; }
.balance-summary-label { margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.balance-summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.balance-summary-item-label { margin-bottom: 4px; font-size: 10px; }
.balance-summary-value { color: var(--text-primary); }
.balance-summary-value-muted { color: var(--text-secondary); }

/* ========== Support create ========== */
.support-container.support-create { max-width: 800px; }
.page-actions-end { display: flex; justify-content: flex-end; margin-top: 24px; }
.btn-submit-ticket { padding: 12px 32px; }

/* ========== Fees page ========== */
.fees-container { max-width: 1200px; margin: 0 auto; padding: 32px 24px; min-height: calc(100vh - 64px); }
.fees-header { margin-bottom: 40px; text-align: center; }
.fees-header h1 { font-size: 36px; font-weight: 700; color: var(--text-primary); margin: 0 0 12px 0; text-transform: uppercase; letter-spacing: 0.5px; }
.fees-header p { font-size: 14px; color: var(--text-secondary); margin: 0; text-transform: uppercase; letter-spacing: 1px; }
.fees-info-block { background: var(--glass-bg); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: 1px solid var(--border-subtle); border-radius: 16px; padding: 32px; margin-bottom: 32px; box-shadow: var(--shadow-md), var(--shadow-inner); }
.fees-info-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border-subtle); }
.fees-info-icon { width: 48px; height: 48px; background: rgba(46, 204, 113, 0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--success); }
.fees-info-title { font-size: 20px; font-weight: 700; color: var(--text-primary); margin: 0; }
.fees-info-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.fees-info-feature { display: flex; align-items: flex-start; gap: 12px; }
.fees-info-feature-icon { width: 24px; height: 24px; color: var(--success); flex-shrink: 0; margin-top: 2px; }
.fees-info-feature-text { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.fees-info-feature-text strong { color: var(--text-primary); font-weight: 600; }
.fees-toggle-group { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.fees-toggle-btn { padding: 10px 20px; background: var(--bg-tertiary); border: 1px solid var(--border-subtle); border-radius: 8px; color: var(--text-secondary); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; cursor: pointer; transition: all 0.3s; font-family: 'Inter', sans-serif; }
.fees-toggle-btn:hover { border-color: var(--border-medium); background: rgba(18, 18, 24, 0.96); }
.fees-toggle-btn.active { background: var(--success); border-color: var(--success); color: #FFFFFF; box-shadow: 0 4px 16px rgba(46, 204, 113, 0.4); }
.fees-tooltip { position: relative; display: inline-block; cursor: help; }
.fees-tooltip-icon { width: 16px; height: 16px; display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 768px) { .fees-toggle-btn { width: 100%; } }

/* ========== Blog ========== */
.blog-container { max-width: 1400px; margin: 0 auto; padding: 32px 24px; min-height: calc(100vh - 64px); }
.blog-header { margin-bottom: 48px; text-align: center; }
.blog-header h1 { font-size: 42px; font-weight: 700; color: var(--text-primary); margin: 0 0 16px 0; text-transform: uppercase; letter-spacing: 0.5px; }
.blog-header p { font-size: 16px; color: var(--text-secondary); margin: 0; text-transform: uppercase; letter-spacing: 1px; }
.blog-categories { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 48px; }
.blog-category-link { padding: 12px 24px; background: var(--glass-bg); backdrop-filter: var(--glass-blur); border: 1px solid var(--border-subtle); border-radius: 8px; color: var(--text-secondary); text-decoration: none; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.3s; display: flex; align-items: center; gap: 8px; }
.blog-category-link:hover, .blog-category-link.active { background: var(--success); border-color: var(--success); color: #FFFFFF; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.blog-card { background: var(--glass-bg); backdrop-filter: var(--glass-blur); border: 1px solid var(--border-subtle); border-radius: 16px; overflow: hidden; transition: all 0.3s; text-decoration: none; color: inherit; display: block; }
.blog-card:hover { border-color: var(--border-medium); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-post-image { background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%); width: 100%; height: 200px; object-fit: cover; display: block; flex-shrink: 0; }
.blog-card-content { padding: 24px; }
.blog-card-title { font-size: 18px; font-weight: 700; color: var(--text-primary); margin: 0 0 8px 0; line-height: 1.4; }
.blog-card-meta { font-size: 12px; color: var(--text-tertiary); margin-bottom: 12px; }
.blog-card-excerpt { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin: 0; }
.blog-pagination { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: nowrap; margin-top: 48px; flex-shrink: 0; }
.blog-pagination-link { padding: 8px 12px; min-width: 40px; background: var(--glass-bg); border: 1px solid var(--border-subtle); border-radius: 8px; color: var(--text-primary); text-decoration: none; font-size: 13px; font-weight: 600; transition: all 0.2s; text-align: center; white-space: nowrap; }
.blog-pagination-link:hover:not(.blog-pagination-disabled) { border-color: var(--accent-primary); color: var(--accent-primary); }
.blog-pagination-link.active { background: var(--accent-primary); border-color: var(--accent-primary); color: #fff; }
.blog-pagination-link.blog-pagination-disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.blog-pagination-ellipsis { padding: 8px 4px; color: var(--text-tertiary); font-size: 13px; user-select: none; }
@media (max-width: 768px) { .blog-pagination { flex-wrap: wrap; justify-content: center; } .blog-pagination-link { padding: 6px 10px; min-width: 36px; font-size: 12px; } }
.blog-category-count { opacity: 0.8; font-weight: 400; }
.blog-featured { margin-bottom: 48px; }
.blog-featured-title { font-size: 20px; font-weight: 700; color: var(--text-primary); margin: 0 0 20px 0; text-transform: uppercase; letter-spacing: 0.5px; }
.blog-featured-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.blog-post-card { background: var(--glass-bg); backdrop-filter: var(--glass-blur); border: 1px solid var(--border-subtle); border-radius: 16px; overflow: hidden; transition: all 0.3s; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.blog-post-card:hover { border-color: var(--border-medium); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-post-content { padding: 24px; flex: 1; display: flex; flex-direction: column; min-height: 0; }
.blog-post-category { font-size: 11px; font-weight: 600; color: var(--accent-primary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; display: inline-block; }
.blog-post-title { font-size: 18px; font-weight: 700; color: var(--text-primary); margin: 0 0 8px 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-post-excerpt { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin: 0 0 12px 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-post-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12px; color: var(--text-tertiary); margin-top: auto; }
.blog-post-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.blog-posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; align-items: stretch; }
@media (max-width: 768px) { .blog-featured-grid, .blog-posts-grid { grid-template-columns: 1fr; } .blog-header h1 { font-size: 32px; } }

/* ========== Trade page (markets/trade show) ========== */
.markets-container { padding: 32px 24px; max-width: 1400px; margin: 0 auto; }
.markets-header { margin-bottom: 32px; }
.pair-icon-wrapper { width: 36px; height: 36px; border-radius: 10px; overflow: hidden; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.1); }
.pair-icon-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.filter-btn.active { background: var(--liquid-glass-bg-active, rgba(255,192,20,0.15)); border-color: var(--liquid-glass-border-focus, rgba(255,192,20,0.3)); color: var(--text-primary); }
@keyframes priceUpdateGrow { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
.price-changed { animation: priceUpdateGrow 0.4s ease; }
.sidebar-label { margin: 0; font-size: 12px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; font-family: 'Inter', sans-serif; }
.sidebar-search-mt { margin-top: 12px; }

/* Swap rate flash */
.rate-updated { animation: rateFlash 0.5s ease-in-out; }
@keyframes rateFlash { 0%, 100% { background-color: transparent; } 50% { background-color: rgba(139, 92, 246, 0.2); } }

/* ========== Tools (market-cap, heat-map, etc.) ========== */
.tools-container,
.market-cap-container,
.heat-map-container,
.technical-container,
.screener-container,
.cross-rates-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 32px 24px;
}
.tools-header,
.market-cap-header,
.heat-map-header { margin-bottom: 24px; }
.market-cap-widget,
.heat-map-widget,
.technical-widget,
.screener-widget {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md), var(--shadow-inner);
    min-height: 900px;
}
.tool-container { max-width: 1600px; margin: 0 auto; padding: 32px 24px; }
.tool-widget { background: var(--glass-bg); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: 1px solid var(--border-subtle); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md), var(--shadow-inner); min-height: 900px; }
.tool-widget-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool-widget-card { background: var(--glass-bg); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: 1px solid var(--border-subtle); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md), var(--shadow-inner); transition: all 0.3s; }
.tool-widget-card:hover { border-color: var(--border-medium); box-shadow: var(--shadow-lg), var(--shadow-glow), var(--shadow-inner); }
.tool-widget-card-label { padding: 12px 16px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-secondary); border-bottom: 1px solid var(--border-subtle); background: rgba(8, 8, 11, 0.6); }
.tradingview-widget-container { width: 100%; }
@media (max-width: 1024px) { .tool-widget-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    .tool-container, .market-cap-container, .heat-map-container, .technical-container, .screener-container, .cross-rates-container { padding: 16px 12px; }
    .tool-widget, .market-cap-widget, .heat-map-widget, .technical-widget, .screener-widget { border-radius: 12px; min-height: 600px; }
    .tool-widget-grid { grid-template-columns: 1fr; }
.tool-widget-card { border-radius: 12px; }
}
