:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --secondary: #ec4899;
    --bg-dark: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background: #f8fafc;
    color: #1e293b;
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100vw;
}

body.auth-page {
    background: #fff;
    background-image: none;
}

/* Glassmorphism Containers */
.glass-card {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Auth Pages */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 450px;
    padding: 40px;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 800;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #1e293b;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.5);
}

/* Sidebar & Navigation */
.sidebar {
    width: 270px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-header {
    padding: 20px 20px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.sidebar-brand h1 {
    color: #f8fafc;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0;
}

.brand-sub {
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.sidebar-close {
    display: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.sidebar-close:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

.sidebar-menu-label {
    padding: 20px 20px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #475569;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.sidebar nav {
    flex: 1;
    padding: 0 12px;
}

.sidebar-footer {
    padding: 0 12px 20px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-footer .sidebar-menu-label {
    padding-left: 8px;
}

/* Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    transition: opacity 0.3s;
}

.sidebar-overlay.show {
    display: block;
    opacity: 1;
}

/* Admin Mobile Header */
.admin-mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    z-index: 1100;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    flex-direction: row !important;
}

.hamburger-btn {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s;
}

.hamburger-btn:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    color: #a5b4fc;
}

.admin-mobile-title {
    color: #f8fafc;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-align: center;
}

/* Nav link special styles */
.nav-link-special {
    color: #6366f1 !important;
}

.nav-link-special:hover {
    background: rgba(99, 102, 241, 0.1) !important;
}

.nav-link-danger {
    color: #ef4444 !important;
}

.nav-link-danger:hover {
    background: rgba(239, 68, 68, 0.1) !important;
}

.main-content {
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

body.admin-body .main-content {
    margin-left: 270px;
    width: calc(100% - 270px);
    padding: 30px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 11px 16px;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 4px;
    transition: all 0.2s;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-link i {
    font-size: 1.05rem;
    width: 20px;
    text-align: center;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(99, 102, 241, 0.12);
    color: #a5b4fc;
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.1));
    color: #c4b5fd;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15);
}

/* Dash Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.stat-card {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: 12px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.icon-blue {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.icon-pink {
    background: rgba(236, 72, 153, 0.1);
    color: var(--secondary);
}

.icon-green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

/* Premium Grid Layout */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.category-card {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1e293b;
}

.category-card:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary);
}

.category-card i {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.category-card h4 {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

.category-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.2;
}

/* Specific colors for icons */
.fa-facebook {
    color: #1877f2;
}

.fa-instagram {
    color: #e4405f;
}

.fa-youtube {
    color: #ff0000;
}

.fa-tiktok {
    color: #fe2c55;
}

.fa-google {
    color: #4285f4;
}

.fa-fire {
    color: #f57c00;
}

.fa-dollar-sign {
    color: #4ade80;
}

.fa-telegram {
    color: #0088cc;
}

/* Service Detail Cards */
.service-card {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: #1e293b;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.service-card h4 {
    font-weight: 700;
    margin-bottom: 5px;
}

.service-card .price-tag {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-top: 15px;
    display: block;
}

.top-bar {
    background: #fff;
    padding: 10px 25px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #cbd5e1;
    margin-bottom: 12px;
}

.back-btn {
    color: #1e293b;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.back-btn:hover {
    color: #6366f1;
}

.top-bar-title {
    font-weight: 800;
    color: #1e293b;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Tables */
.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 12px 14px;
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--glass-border);
    white-space: nowrap;
}

td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    font-size: 0.88rem;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

.status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.status-completed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

/* Dropdown Menu */
.menu-dropdown {
    position: absolute;
    top: 80px;
    right: 20px;
    background: #fff;
    width: 250px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 2001;
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

.menu-dropdown.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 600;
    transition: background 0.2s;
}

.menu-item:hover {
    background: #f8fafc;
    color: var(--primary);
}

.menu-item i {
    font-size: 1.1rem;
    color: #64748b;
    width: 20px;
}

.menu-btn {
    cursor: pointer;
    width: 35px;
    height: 35px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    transition: all 0.2s;
}

.menu-btn:hover {
    background: #e2e8f0;
}

.nav-pill {
    background: #fff;
    border-radius: 12px;
    padding: 8px 15px;
    /* Reduced side padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 12px;
    border: 1px solid #cbd5e1;
}

.brand-text {
    font-weight: 800;
    color: #6366f1;
    font-size: 1.15rem;
    /* Slightly smaller for compactness */
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.5px;
    padding-left: 5px;
    /* Moved slightly more to the left */
}

.balance-badge {
    background: #f1f5f9;
    color: #4f46e5;
    padding: 4px 10px;
    /* More compact */
    border-radius: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    /* Smaller font */
}

.add-balance-btn {
    background: #6366f1;
    color: white !important;
    padding: 3px 10px;
    /* Much smaller add button */
    border-radius: 6px;
    font-size: 0.75rem;
    /* Smaller button text */
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
    border: none;
    display: flex;
    align-items: center;
    gap: 3px;
}

.add-balance-btn:hover {
    background: #4f46e5;
    transform: scale(1.05);
}

.menu-trigger {
    width: 40px;
    height: 40px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    cursor: pointer;
    transition: all 0.2s;
}

.menu-trigger:hover {
    background: #f1f5f9;
}

/* Order Card & Service Details */
.order-card {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    text-align: center;
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #fff;
    border: 1px solid #eef2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.highlight-box {
    background: #f8faff;
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    margin-bottom: 25px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #475569;
}

.highlight-item i {
    color: #6366f1;
    font-size: 0.85rem;
}

.form-label {
    display: block;
    text-align: left;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.form-label span {
    color: #e11d48;
}

.promo-hint {
    background: #f8faff;
    color: #10b981;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.8rem;
    text-align: left;
    margin: 10px 0 20px;
    font-weight: 600;
    border-left: 4px solid #10b981;
}

.amount-display {
    background: #f8faff;
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-weight: 700;
}

.amount-value {
    color: #e11d48;
    font-size: 1.5rem;
}

.btn-pay {
    background: #e11d48;
    color: white !important;
    border-radius: 10px;
    padding: 18px;
    width: 100%;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cancel {
    background: #f8fafc;
    color: #1e293b !important;
    border-radius: 10px;
    padding: 18px;
    width: 100%;
    border: 1px solid #f1f5f9;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-section {
    background: #f8faff;
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    margin-top: 35px;
    border: 1px solid #eef2ff;
}

.info-section h5 {
    font-weight: 800;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #1e293b;
}

.info-section ul {
    padding-left: 0;
    list-style: none;
}

.info-section li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #64748b;
}

.info-section li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    background: #cbd5e1;
    border-radius: 50%;
}

/* Payment & Footer Styles */
.footer-container {
    margin-top: 30px;
    background: #fff;
    border-radius: 15px;
    padding: 25px 30px;
    border: 1px solid #cbd5e1;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 10px 0;
    margin-bottom: 15px;
}

.marquee-content {
    display: inline-flex;
    gap: 40px;
    animation: marquee 20s linear infinite;
}

.payment-img {
    height: 45px;
    filter: none;
    opacity: 1;
    transition: all 0.3s;
}

.payment-img:hover {
    transform: scale(1.1);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    text-align: left;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #f1f5f9;
    margin-bottom: 0;
}

.footer-col h4 {
    font-weight: 800;
    margin-bottom: 20px;
    color: #1e293b;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.footer-links a:hover {
    color: #4f46e5;
    padding-left: 5px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        /* Stack the brand info */
        text-align: left;
    }

    .footer-links-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* Keep links side-by-side on mobile */
        gap: 20px;
        margin-top: 20px;
    }

    .footer-col {
        grid-column: span 1 !important;
    }
}

@media (max-width: 992px) {

    /* Admin mobile responsive */
    .admin-mobile-header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
    }

    body.admin-body .sidebar {
        transform: translateX(-100%);
    }

    body.admin-body .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-close {
        display: flex;
    }

    body.admin-body .main-content {
        margin-left: 0;
        width: 100%;
        padding: 15px;
        padding-top: 72px;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .main-content {
        margin-left: 0;
        padding: 20px;
    }

    body.sidebar-open {
        overflow: hidden;
    }

    /* Admin page headers - stack vertically on mobile */
    body.admin-body .main-content>header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px;
    }

    body.admin-body header h2 {
        font-size: 1.4rem !important;
    }

    /* Categories add form - stack on mobile */
    body.admin-body header .glass-card {
        width: 100%;
        padding: 10px 15px !important;
    }

    body.admin-body header .glass-card form {
        flex-wrap: wrap !important;
    }

    body.admin-body header .glass-card form input {
        width: 100% !important;
        min-width: 0 !important;
    }

    /* Glass cards don't overflow */
    .glass-card {
        overflow: hidden;
        max-width: 100%;
    }

    /* Table improvements for mobile */
    .table-container {
        margin: 0 -10px;
        padding: 0 10px;
        max-width: calc(100% + 20px);
    }

    table {
        min-width: 600px;
    }

    th,
    td {
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    /* Stat cards */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-card {
        padding: 16px;
        gap: 12px;
    }

    .stat-icon {
        width: 45px;
        height: 45px;
        border-radius: 12px;
        font-size: 1.1rem;
    }

    .stat-card h3 {
        font-size: 1.2rem;
    }

    /* Modal fixes */
    body.admin-body [style*="position: fixed"][style*="inset: 0"] {
        padding: 10px !important;
    }

    body.admin-body [style*="position: fixed"][style*="inset: 0"] .glass-card {
        padding: 20px !important;
        max-height: 90vh;
        overflow-y: auto;
    }

    /* Grid in modal becomes single column on mobile */
    body.admin-body .grid {
        grid-template-columns: 1fr !important;
    }

    /* Services button */
    body.admin-body header .btn {
        width: 100% !important;
        justify-content: center;
    }

    /* Top bar in admin */
    body.admin-body .top-bar {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 15px;
    }

    /* Desktop/Mobile toggles */
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    /* Admin Order Cards for Mobile */
    .dashboard-orders-section {
        padding: 20px 15px !important;
    }

    .user-order-card {
        margin-bottom: 15px;
        padding: 18px !important;
        border: 1px solid #e2e8f0 !important;
        background: #fff !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    }

    .order-card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
        padding-bottom: 10px;
        border-bottom: 1px solid #f1f5f9;
    }

    .order-id {
        font-weight: 800;
        color: #1e293b;
        font-size: 0.95rem;
    }

    .order-price {
        font-weight: 800;
        color: var(--primary);
        font-size: 1rem;
    }

    .order-card-body {
        display: grid;
        gap: 10px;
        margin-bottom: 18px;
    }

    .order-info-item {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.85rem;
        color: #64748b;
    }

    .order-info-item i {
        width: 16px;
        color: #94a3b8;
        text-align: center;
    }

    .order-card-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .order-card-actions .btn {
        padding: 10px !important;
        font-size: 0.8rem !important;
        width: 100% !important;
    }
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Small helper for buttons */
.btn-sm {
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
    border-radius: 8px !important;
}

.btn-warning {
    background: #fef3c7;
    color: #92400e !important;
}

.btn-warning:hover {
    background: #fde68a;
}

.btn-success {
    background: #d1fae5;
    color: #065f46 !important;
}

.btn-success:hover {
    background: #a7f3d0;
}

@media (max-width: 480px) {
    body.admin-body .main-content {
        padding: 10px;
        padding-top: 66px;
    }

    body.admin-body header h2 {
        font-size: 1.2rem !important;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    th,
    td {
        padding: 8px 10px;
        font-size: 0.75rem;
    }

    .status-badge {
        padding: 4px 8px;
        font-size: 0.7rem;
    }

    .ctrl-btn {
        padding: 4px 8px;
        font-size: 0.65rem;
    }
}

/* One-click Copy Button Styles */
.copy-btn {
    cursor: pointer;
    font-size: 0.85rem !important;
    color: #94a3b8;
    margin-left: 8px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 4px;
}

.copy-btn:hover {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.08);
}

.copy-btn.copied {
    color: #10b981 !important;
}