.mobile-hamburger {
    display: none;
    width: 42px;
    height: 42px;
    background: #f8fafc;
    border: 1px solid #eee;
    border-radius: 10px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s;
    z-index: 1100;
}

.mobile-hamburger span {
    width: 20px;
    height: 2.5px;
    background: #1e2329;
    border-radius: 4px;
    transition: all 0.3s;
}

.mobile-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.mobile-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


.mobile-side-panel {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    z-index: 10001;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-side-panel.active {
    right: 0;
}

.mobile-panel-header {
    padding: 24px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-panel-close {
    width: 36px;
    height: 36px;
    background: #f8fafc;
    border: 1px solid #eee;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #666;
    transition: all 0.2s;
}

.mobile-panel-close:hover {
    background: #ff3b30;
    color: #fff;
    border-color: #ff3b30;
}

.mobile-panel-nav {
    padding: 16px 0;
}

.mobile-panel-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    text-decoration: none;
    color: #1e2329;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.mobile-panel-nav a:hover,
.mobile-panel-nav a:active {
    background: #fff5f5;
    color: #ff3b30;
    border-left-color: #ff3b30;
}

.mobile-panel-nav a i {
    width: 22px;
    text-align: center;
    color: #999;
    font-size: 16px;
}

.mobile-panel-nav a:hover i {
    color: #ff3b30;
}

.mobile-panel-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 8px 20px;
}

.mobile-panel-user {
    padding: 20px 24px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.mobile-panel-user .avatar {
    width: 40px;
    height: 40px;
    background: #ff3b30;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
}

.mobile-panel-user .info .name {
    font-weight: 700;
    font-size: 14px;
    color: #1e2329;
}

.mobile-panel-user .info .member {
    font-size: 11px;
    color: #999;
}


@media (max-width: 992px) {


    .mobile-hamburger {
        display: flex;
    }

    .nav-tabs {
        display: none !important;
    }

    .nav-actions .user-profile,
    .nav-actions .user-info,
    .nav-actions>a.btn-bank {
        display: none !important;
    }

    .nav-actions a.btn-bank.btn-customer {
        padding: 10px 18px !important;
        font-size: 13px !important;
    }

    .main-nav-bar {
        padding: 16px 0;
    }


    .sub-nav-bar {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .sub-nav-bar::-webkit-scrollbar {
        display: none;
    }

    .sub-nav-links {
        flex-wrap: nowrap;
        justify-content: flex-start !important;
        gap: 20px !important;
        padding: 0 10px;
        min-width: max-content;
    }

    .sub-nav-link {
        white-space: nowrap;
        font-size: 13px !important;
    }


    .landing-container {
        padding: 0 20px !important;
    }


    .landing-container>div[style*="grid-template-columns: 1.5fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }


    .landing-container>div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }


    #quickCoinsGrid {
        grid-template-columns: repeat(2, 1fr) !important;
    }


    #popularCoinsGrid {
        grid-template-columns: repeat(2, 1fr) !important;
    }


    div[style*="grid-template-columns: 1.8fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* ── Trade Page ── */
    div[style*="grid-template-columns:1fr 390px"] {
        grid-template-columns: 1fr !important;
    }

    /* Header card - stack on tablet */
    div[style*="display:flex;align-items:center;justify-content:space-between;box-shadow"] {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 16px;
    }

    div[style*="display:flex;gap:40px"] {
        gap: 20px !important;
        flex-wrap: wrap;
    }

    /* ── Cards Page ── */
    div[style*="grid-template-columns: repeat(3, 1fr)"][style*="perspective"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
    }

    /* ── POS Page ── */
    div[style*="grid-template-columns: 1fr 1fr"][style*="align-items: center"] {
        grid-template-columns: 1fr !important;
    }

    /* ── Landing Page ── */
    /* Market grid on landing */
    div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 40px"] {
        grid-template-columns: 1fr !important;
    }

    /* ── Showcase Section (Cards & POS) ── */
    .showcase-section {
        padding: 50px 0 40px !important;
    }

    .showcase-title {
        font-size: 26px !important;
    }

    .showcase-pos-grid {
        grid-template-columns: 1fr !important;
    }

    .showcase-card-item {
        flex: 0 0 240px !important;
        width: 240px !important;
        min-width: 240px !important;
        max-width: 240px !important;
    }

    .showcase-card-img {
        width: 100% !important;
        max-width: 240px !important;
        height: 150px !important;
    }

    .showcase-block {
        margin-bottom: 50px !important;
    }

    /* Stats bar */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Banner slider - Keep original 2.4 aspect ratio on mobile to prevent cropped text/graphics */
    .banner-slider {
        position: relative !important;
        width: 100% !important;
        height: 0 !important;
        padding-bottom: 41.67% !important; /* 800px height / 1920px width = 41.67% aspect ratio */
    }
    .slides-container {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }
    .slider-dots {
        bottom: 12px !important;
    }


    table[style*="width: 100%; border-collapse: collapse"] {
        font-size: 13px;
    }

    table th[style*="padding: 15px 30px"],
    table td[style*="padding: 15px 30px"] {
        padding: 12px 16px !important;
    }

    /* ── Footer ── */
    footer .landing-container>div[style*="display: flex"] {
        flex-direction: column;
        text-align: center;
        gap: 20px !important;
    }

    footer div[style*="display: flex; gap: 40px"] {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px !important;
    }
}

/* ═══════════════════════════════════════════════════════
   MOBILE BREAKPOINT (max-width: 768px)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* ── Header ── */
    .main-nav-bar {
        padding: 12px 0;
    }

    .logo img {
        height: 36px !important;
    }

    /* ── Sub Nav ── */
    .sub-nav-links {
        gap: 16px !important;
        padding: 0 5px;
    }

    .sub-nav-link {
        font-size: 12px !important;
        padding: 4px 0;
    }

    /* ── Dashboard (index.php) ── */
    .balance-banner {
        flex-direction: column;
        padding: 24px !important;
        text-align: center;
        gap: 16px;
    }

    /* ── Dashboard (dashboard.php) ── */
    /* Portfolio banner adjustments */
    div[style*="font-size: 52px"] {
        font-size: 32px !important;
    }

    div[style*="font-size: 14px; text-transform: uppercase; letter-spacing: 1.5px"] {
        font-size: 12px !important;
    }

    /* Cash/PNL boxes */
    div[style*="display: flex; gap: 20px"][style*="backdrop-filter"],
    div[style*="padding: 40px; color: #fff"]>div>div[style*="display: flex; gap: 20px"] {
        flex-direction: column;
        gap: 10px !important;
    }

    /* Portfolio banner padding */
    div[style*="background: linear-gradient(135deg, #ff3b30 0%, #ff7b30 100%)"][style*="padding: 40px"] {
        padding: 24px !important;
    }

    /* Portfolio banner inner flex (deposit button) */
    div[style*="display: flex; justify-content: space-between; align-items: flex-start"] {
        flex-direction: column;
        gap: 20px;
    }

    /* Market table - hide Action column on mobile */
    table thead th:nth-child(4),
    table tbody td:nth-child(4) {
        display: none;
    }

    /* ── Trade Page ── */
    /* Symbol title */
    span[style*="font-size:26px"] {
        font-size: 20px !important;
    }

    /* Chart height */
    #chartContainer,
    div[style*="height:560px"] {
        height: 350px !important;
    }

    /* Coin dropdown */
    #coinDropdown {
        width: 280px !important;
        left: auto !important;
        right: -50px !important;
    }

    /* Trade header card */
    div[style*="padding:22px 30px;margin-bottom:22px"] {
        padding: 16px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 14px !important;
    }

    div[style*="display:flex;gap:40px"] {
        width: 100%;
        gap: 16px !important;
        justify-content: space-between;
    }

    /* Price text sizes in header */
    #livePrice,
    #priceChange,
    #priceHigh {
        font-size: 16px !important;
    }

    /* Trade panel */
    div[style*="background:#fff;border:1px solid #eee;border-radius:22px;padding:30px"] {
        padding: 20px !important;
    }

    /* ── Cards Page ── */
    div[style*="grid-template-columns: repeat(3, 1fr)"][style*="perspective"],
    div[style*="grid-template-columns: repeat(2, 1fr)"][style*="perspective"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .card-container {
        height: 200px !important;
        margin-bottom: 150px !important;
    }

    /* Cards page heading */
    div[style*="font-size: 42px"] h1,
    h1[style*="font-size: 42px"],
    h1[style*="font-size: 36px"] {
        font-size: 28px !important;
    }

    /* ── POS Page ── */
    .pos-visual img {
        border-radius: 16px !important;
    }

    h1[style*="font-size: 36px"],
    h2[style*="font-size: 28px"] {
        font-size: 24px !important;
    }

    /* ── Deposit Page ── */
    div[style*="grid-template-columns: repeat(5, 1fr)"] {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    /* ── Swap Page ── */
    .swap-input {
        font-size: 20px !important;
    }

    .token-dropdown {
        width: 220px !important;
    }

    div[style*="margin-top:60px;max-width:560px"] {
        margin-top: 30px !important;
    }

    /* ── Landing Page ── */

    .slider-arrow {
        width: 36px !important;
        height: 36px !important;
        font-size: 16px !important;
    }

    .arrow-left {
        left: 12px !important;
    }

    .arrow-right {
        right: 12px !important;
    }

    .stat-number {
        font-size: 32px !important;
    }

    /* Cards scroll */
    .cards-scroll-wrapper {
        gap: 16px !important;
        padding: 10px !important;
    }

    .premium-card {
        min-width: 240px !important;
        height: 155px !important;
    }

    /* Movers */
    .mover-item {
        padding: 14px !important;
    }

    /* Popular coins on landing */
    .popular-coins-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 14px !important;
    }

    .popular-coin-card {
        padding: 18px !important;
    }

    /* ── Showcase Section (Cards & POS) ── */
    .showcase-section {
        padding: 40px 0 30px !important;
    }

    .showcase-title {
        font-size: 24px !important;
    }

    .showcase-subtitle {
        font-size: 14px !important;
    }

    .showcase-header {
        margin-bottom: 24px !important;
    }

    .showcase-card-item {
        flex: 0 0 200px !important;
        width: 200px !important;
        min-width: 200px !important;
        max-width: 200px !important;
    }

    .showcase-card-img {
        width: 100% !important;
        max-width: 200px !important;
        height: 125px !important;
    }

    .showcase-card-label {
        font-size: 12px !important;
        margin-top: 10px !important;
    }

    .showcase-pos-item {
        flex-direction: column !important;
        text-align: center;
        padding: 20px !important;
        gap: 20px !important;
    }

    .showcase-pos-img {
        width: 100% !important;
        max-width: 240px !important;
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
        margin: 0 auto !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
    }
    .showcase-pos-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        background: #fdfdfd !important;
    }

    .showcase-pos-badges {
        justify-content: center;
    }

    .showcase-pos-info h3 {
        font-size: 20px !important;
    }

    .showcase-pos-info p {
        font-size: 13px !important;
    }

    .btn-showcase {
        padding: 12px 28px !important;
        font-size: 14px !important;
    }

    .showcase-block {
        margin-bottom: 40px !important;
    }

    .showcase-cta {
        margin-top: 24px !important;
    }

    /* ── Login Page ── */
    .login-sidebar {
        display: none !important;
    }

    .login-form-area {
        width: 100% !important;
        padding: 30px 24px !important;
    }

    /* ── Register Page ── */
    .register-sidebar {
        display: none !important;
    }

    /* ── Footer ── */
    footer {
        padding: 40px 0 !important;
    }

    footer div[style*="display: flex; gap: 40px"] {
        flex-direction: column;
        align-items: center;
        gap: 14px !important;
    }

    /* ── General Typography ── */
    h2[style*="font-size: 28px"] {
        font-size: 22px !important;
    }

    h2[style*="font-size: 32px"] {
        font-size: 26px !important;
    }

    /* ── Alerts ── */
    .alert {
        padding: 12px 16px;
        font-size: 13px;
    }

    /* ── Buttons ── */
    .btn-premium,
    .btn-bank {
        padding: 12px 20px !important;
        font-size: 13px !important;
    }

    /* ── Main Container ── */
    .main-container {
        margin: 90px auto 30px !important;
        padding: 0 16px !important;
    }

    /* ── Market Table ── */
    .market-table th,
    .market-table td {
        padding: 12px 14px !important;
        font-size: 13px;
    }

    /* ── P-Card ── */
    .p-card {
        border-radius: 16px;
    }
}

/* ═══════════════════════════════════════════════════════
   SMALL MOBILE BREAKPOINT (max-width: 480px)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 480px) {

    /* ── Header ── */
    .landing-container {
        padding: 0 14px !important;
    }

    .logo img {
        height: 32px !important;
    }

    /* ── Dashboard ── */
    #quickCoinsGrid {
        grid-template-columns: 1fr !important;
    }

    #popularCoinsGrid {
        grid-template-columns: 1fr !important;
    }

    div[style*="font-size: 52px"],
    div[style*="font-size:52px"] {
        font-size: 26px !important;
    }

    div[style*="font-size: 36px"] {
        font-size: 24px !important;
    }

    /* ── Trade ── */
    span[style*="font-size:26px"] {
        font-size: 18px !important;
    }

    #chartContainer,
    div[style*="height:560px"] {
        height: 280px !important;
    }

    .chart-tab {
        padding: 6px 10px !important;
        font-size: 11px !important;
    }

    #coinDropdown {
        width: 250px !important;
        right: -80px !important;
    }

    #livePrice,
    #priceChange,
    #priceHigh {
        font-size: 14px !important;
    }

    div[style*="display:flex;gap:40px"],
    div[style*="display: flex; gap: 40px"] {
        gap: 12px !important;
    }

    .btn-trade {
        padding: 16px !important;
        font-size: 15px !important;
    }

    /* ── Cards ── */
    .card-container {
        height: 180px !important;
        margin-bottom: 130px !important;
    }

    /* ── Deposit ── */
    div[style*="grid-template-columns: repeat(5, 1fr)"],
    div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }

    /* ── Swap ── */
    .swap-input {
        font-size: 18px !important;
    }

    .swap-box {
        padding: 16px !important;
    }

    .p-card[style*="padding:38px"] {
        padding: 20px !important;
    }

    /* ── Landing ── */

    .stats-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
    }

    .stat-number {
        font-size: 28px !important;
    }

    .stat-label {
        font-size: 11px !important;
    }

    .premium-cards-section {
        padding: 40px 0 !important;
    }

    .market-movers-section {
        padding: 40px 0 !important;
    }

    .movers-grid {
        gap: 20px !important;
    }

    .mover-column h3 {
        font-size: 18px !important;
    }

    .popular-coins-grid {
        grid-template-columns: 1fr !important;
    }

    /* ── Showcase Section (Cards & POS) ── */
    .showcase-section {
        padding: 30px 0 20px !important;
    }

    .showcase-title {
        font-size: 20px !important;
    }

    .showcase-subtitle {
        font-size: 13px !important;
    }

    .showcase-card-item {
        flex: 0 0 160px !important;
        width: 160px !important;
        min-width: 160px !important;
        max-width: 160px !important;
    }

    .showcase-card-img {
        width: 100% !important;
        max-width: 160px !important;
        height: 100px !important;
    }

    .showcase-card-label {
        font-size: 11px !important;
    }

    .showcase-pos-img {
        height: 160px !important;
    }

    .showcase-pos-info h3 {
        font-size: 18px !important;
    }

    .pos-badge {
        padding: 4px 10px !important;
        font-size: 11px !important;
    }

    .btn-showcase {
        width: 100% !important;
        justify-content: center;
        padding: 14px 20px !important;
        font-size: 14px !important;
    }

    .showcase-block {
        margin-bottom: 30px !important;
    }

    /* ── Footer ── */
    footer p[style*="max-width: 300px"] {
        max-width: 100% !important;
    }

    /* ── Login ── */
    .login-form-area {
        padding: 24px 18px !important;
    }

    .login-form-area h2 {
        font-size: 24px !important;
    }

    /* ── Form inputs ── */
    .input-premium,
    .inp {
        padding: 12px 14px !important;
        font-size: 14px !important;
    }
}

/* ═══════════════════════════════════════════════════════
   TOUCH & INTERACTION IMPROVEMENTS
   ═══════════════════════════════════════════════════════ */
@media (hover: none) and (pointer: coarse) {

    /* Larger touch targets */
    .sub-nav-link {
        padding: 8px 4px !important;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .market-row {
        padding: 16px 20px !important;
    }

    .btn-bank,
    .btn-premium,
    .btn-buy,
    .btn-trade {
        min-height: 48px;
    }

    /* Remove hover effects on touch devices */
    .popular-coin-card:hover {
        transform: none;
    }

    .btn-premium:hover {
        transform: none;
    }

    .btn-buy:hover {
        transform: none;
    }

    .showcase-card-item:hover {
        transform: none;
    }

    .showcase-pos-item:hover {
        transform: none;
    }
}

/* ═══════════════════════════════════════════════════════
   SAFE AREA (NOTCH) SUPPORT
   ═══════════════════════════════════════════════════════ */
@supports (padding-top: env(safe-area-inset-top)) {
    .bank-header-container {
        padding-top: env(safe-area-inset-top);
    }

    footer {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
}

/* ═══════════════════════════════════════════════════════
   STANDALONE PAGES (FAQ, Privacy, Terms, Support)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* Reduce page padding for content pages */
    .landing-container[style*="padding: 100px"],
    .landing-container[style*="padding: 60px"] {
        padding: 30px 16px !important;
    }

    /* Card padding on content pages */
    .p-card[style*="padding: 60px"] {
        padding: 24px !important;
    }

    /* FAQ heading */
    h1[style*="font-size: 36px"] {
        font-size: 24px !important;
    }

    /* FAQ items */
    .faq-item[style*="padding: 30px"] {
        padding: 20px !important;
    }

    .faq-item h3 {
        font-size: 16px !important;
    }

    /* Support grid */
    div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 30px"] {
        grid-template-columns: 1fr !important;
    }
}

/* ═══════════════════════════════════════════════════════
   PRINT RESET
   ═══════════════════════════════════════════════════════ */
@media print {

    .mobile-hamburger,
    .mobile-menu-overlay,
    .mobile-side-panel,
    .sub-nav-bar {
        display: none !important;
    }
}

/* ═══════════════════════════════════════════════════════
   ADMIN PANEL MOBILE OVERRIDES
   ═══════════════════════════════════════════════════════ */
.admin-body .landing-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
}

@media (max-width: 992px) {
    /* Admin sub-navigation scroll bar */
    .admin-body .sub-nav-links {
        display: flex !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        gap: 16px !important;
        padding: 10px 15px !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .admin-body .sub-nav-link {
        flex-shrink: 0 !important;
        font-size: 13px !important;
        padding: 6px 12px !important;
    }
    
    /* Stats grid on Admin Dashboard */
    .admin-body div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}

@media (max-width: 768px) {
    /* Hide name and id in admin header user profile to save space */
    .admin-body .nav-actions .user-profile .user-info {
        display: none !important;
    }
    
    /* Center/Compact the admin panel header layout */
    .admin-body .main-nav-bar {
        padding: 8px 0 !important;
        gap: 10px !important;
    }
    .admin-body .main-nav-bar a.logo img {
        height: 36px !important;
    }
    .admin-body .main-nav-bar div[style*="margin-left: 30px"] {
        margin-left: 8px !important;
        padding: 3px 8px !important;
        font-size: 10px !important;
    }

    /* Admin dashboard: stack Recent Activities and System Health */
    .admin-body div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* User stats grid on Users Management page */
    .admin-body .stats-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        margin-bottom: 20px !important;
    }
    .admin-body .stat-card {
        padding: 12px 14px !important;
        gap: 10px !important;
        border-radius: 12px !important;
    }
    .admin-body .stat-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
        border-radius: 10px !important;
    }
    .admin-body .stat-val {
        font-size: 18px !important;
    }
    .admin-body .stat-lbl {
        font-size: 10px !important;
    }

    /* Allow horizontal scrolling on all data tables in admin cards */
    .admin-body .p-card {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    /* Support page, KYC page details modal fixes */
    .admin-body .modal-box {
        padding: 20px !important;
        border-radius: 16px !important;
        width: 95% !important;
    }
    .admin-body .modal-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}

@media (max-width: 480px) {
    /* Admin stats grid down to single column on small mobiles */
    .admin-body div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}