/* Modern Dark Theme Variables */
:root {
    --bg-body: #0a0e17;
    --bg-card: rgba(30, 41, 59, 0.4);
    --bg-card-hover: rgba(30, 41, 59, 0.6);
    --primary: #38bdf8;
    /* Sky Blue */
    --secondary: #a855f7;
    /* Purple */
    --accent: #f472b6;
    /* Pink */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    --glass: blur(12px);
    --transition: 0.3s ease;
    --radius: 16px;
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-body);
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 40%);
    background-attachment: fixed;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0.5em;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 100%;
        padding: 10px;
    }
}

/* Header / Nav */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 40px;
    flex-wrap: wrap;
    /* Allow wrapping on mobile */
    gap: 20px;
    /* Add gap */
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-main);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

/* Page Header */
.page-header {
    text-align: center;
    margin: 40px 0 30px 0;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.home-title {
    font-size: 3rem;
}

.page-description {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Admin Banner */
.admin-banner {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.admin-banner-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(56, 189, 248, 0.2));
    border: 2px solid rgba(168, 85, 247, 0.5);
    border-radius: 50px;
    color: var(--text-main);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.admin-banner-link:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(56, 189, 248, 0.3));
    border-color: rgba(168, 85, 247, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.3);
}

.admin-icon {
    font-size: 1.3rem;
}

.admin-text {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .admin-banner-link {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .admin-icon {
        font-size: 1.2rem;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        gap: 12px;
        padding: 15px 0;
        margin-bottom: 20px;
    }

    .logo {
        font-size: 1.5rem;
        order: 1;
        width: 100%;
    }

    .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        gap: 10px;
        order: 2;
        justify-content: center;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 8px 14px;
        white-space: nowrap;
    }

    .auth-buttons {
        width: 100%;
        order: 3;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
    }

    .user-info-header {
        width: 100%;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: space-between;
    }

    .balance-display {
        flex: 1;
        min-width: 120px;
        justify-content: center;
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .balance-text {
        font-size: 0.85rem;
    }

    .btn-sidebar-toggle {
        flex: 1;
        min-width: 120px;
        justify-content: center;
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    h1 {
        font-size: 2rem !important;
    }

    .page-header {
        margin: 30px 0 20px 0;
    }

    .page-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .home-title {
        font-size: 2.2rem;
    }

    .page-description {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .card {
        padding: 15px;
    }

    .card-img {
        height: 180px;
        margin-bottom: 15px;
    }

    .card-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .card-price {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .card-desc {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 20px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
    transform: translateY(-2px);
}

/* Grid & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    backdrop-filter: var(--glass);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.3);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

input,
textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

input:focus,
textarea:focus {
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.4);
}

.auth-container {
    max-width: 450px;
    margin: 50px auto;
    padding: 40px;
}

.text-center {
    text-align: center;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

/* Footer */
footer {
    margin-top: 80px;
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}

/* User Info Header */
.user-info-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.balance-display {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
}

.balance-icon {
    font-size: 1.2rem;
}

.balance-text {
    font-size: 0.95rem;
}

.btn-sidebar-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.username-mobile {
    display: none;
}

/* Sidebar */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 90%;
    max-width: 400px;
    height: 100%;
    background: var(--bg-card);
    backdrop-filter: var(--glass);
    border-left: 1px solid var(--border);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.3);
}

.sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-card-hover);
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-main);
}

.sidebar-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.sidebar-content {
    padding: 20px;
}

.user-info-card {
    background: var(--bg-card-hover);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.user-details h4 {
    margin: 0 0 10px 0;
    color: var(--text-main);
    font-size: 1.2rem;
}

.user-balance {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.balance-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.balance-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-link-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-main);
    transition: var(--transition);
    text-decoration: none;
}

.sidebar-link-btn:hover {
    background: var(--bg-card-hover);
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateX(5px);
}

.sidebar-link-btn span:first-child {
    font-size: 1.2rem;
}

.sidebar-link-btn span:last-child {
    font-weight: 500;
}

.sidebar-section-title {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.order-history {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 15px;
    transition: var(--transition);
}

.order-item:hover {
    border-color: rgba(56, 189, 248, 0.3);
    background: var(--bg-card-hover);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.order-id {
    font-weight: 600;
    color: var(--text-main);
}

.order-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-pending {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-completed {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-cancelled {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.order-products {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.order-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.order-total {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
}

.no-orders {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 20px;
    font-style: italic;
}

.sidebar-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.btn-logout {
    width: 100%;
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .username-desktop {
        display: none;
    }
    
    .username-mobile {
        display: inline;
    }
    
    .balance-display {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .balance-icon {
        font-size: 1rem;
    }
    
    .sidebar {
        width: 85%;
        max-width: 350px;
    }
    
    .user-info-header {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .btn-sidebar-toggle {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 100%;
        max-width: 100%;
    }
    
    .balance-display .balance-text {
        font-size: 0.8rem;
    }
    
    .nav-links {
        gap: 10px;
    }
    
    .nav-links a {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
}

/* Deposit Page */
.deposit-container {
    max-width: 800px;
    margin: 0 auto;
}

.deposit-form-card,
.qr-payment-card,
.bank-info-card {
    margin-bottom: 30px;
}

.qr-code-container {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    margin: 20px 0;
}

.qr-code-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.payment-info {
    margin: 20px 0;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-muted);
    font-weight: 500;
}

.info-value {
    color: var(--text-main);
    font-weight: 600;
}

.transaction-code {
    color: var(--primary);
    font-family: monospace;
    font-size: 1.1rem;
}

.payment-note {
    margin-top: 20px;
    padding: 15px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 12px;
    color: var(--text-main);
}

.payment-note ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

.payment-note li {
    margin: 8px 0;
    line-height: 1.6;
}

.bank-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bank-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.bank-detail-item:last-child {
    border-bottom: none;
}

.bank-label {
    color: var(--text-muted);
    font-weight: 500;
}

.bank-value {
    color: var(--text-main);
    font-weight: 600;
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.balance-info-card {
    transition: var(--transition);
}

.balance-info-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
    background: var(--bg-card-hover);
}

/* YouTube Button */
.btn-youtube {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #FF0000, #CC0000);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-youtube:hover {
    background: linear-gradient(135deg, #CC0000, #990000);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
    transform: translateY(-2px);
    color: white;
}

/* Footer Styles */
footer {
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-section h4 {
    color: var(--text-main);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-section p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    padding: 8px 0;
}

.contact-link:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 1.2rem;
}

.zalo-link:hover {
    color: #00BAFF;
}

.discord-link:hover {
    color: #5865F2;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.zalo-item:hover {
    background: rgba(0, 186, 255, 0.2);
    border-color: rgba(0, 186, 255, 0.5);
}

.discord-item:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.5);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-links {
        align-items: center;
    }
}

/* Services Page Styles */
.service-card {
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.services-intro {
    animation: fadeInUp 0.6s ease-out;
}

.contact-cta {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
}

.modal-container {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
}

.modal-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    transform: rotate(90deg);
}

.modal-body {
    padding: 25px;
    color: var(--text-main);
    line-height: 1.8;
    font-size: 1.05rem;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-body p {
    margin: 0;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: var(--bg-secondary);
}

.modal-footer .btn {
    min-width: 100px;
}

@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        max-width: none;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 15px 20px;
    }
    
    .modal-title {
        font-size: 1.1rem;
    }
    
    .modal-footer {
        flex-direction: column-reverse;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}

/* Admin Page */
.admin-container {
    max-width: 1200px;
    margin: 0 auto;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border);
}

.admin-tab {
    padding: 12px 24px;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
    font-weight: 500;
}

.admin-tab:hover {
    color: var(--primary);
}

.admin-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.admin-section {
    margin-top: 20px;
}

.deposits-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.deposit-item {
    padding: 20px;
}

.deposit-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 15px;
}

.deposit-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.deposit-id {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}

.deposit-user {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.deposit-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.deposit-details {
    margin-bottom: 15px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-muted);
    font-weight: 500;
}

.detail-value {
    color: var(--text-main);
    font-weight: 600;
}

.detail-value.amount {
    color: var(--primary);
    font-size: 1.1rem;
}

.deposit-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.btn-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.btn-success:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.5);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
}

.bank-form-card {
    max-width: 600px;
    margin: 0 auto;
}

.product-form-card {
    max-width: 800px;
}

.products-admin-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-admin-item {
    padding: 20px;
}

textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    resize: vertical;
    transition: var(--transition);
}

textarea:focus {
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.4);
}

/* Deposit History Page */
.deposit-history-container {
    max-width: 1000px;
    margin: 0 auto;
}

.deposits-history-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.deposit-history-item {
    padding: 20px;
    transition: var(--transition);
}

.deposit-history-item:hover {
    border-color: rgba(56, 189, 248, 0.3);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.deposit-history-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 15px;
}

.deposit-history-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.deposit-history-id {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}

.deposit-history-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.deposit-history-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.history-detail-row:last-child {
    border-bottom: none;
}

.history-detail-label {
    color: var(--text-muted);
    font-weight: 500;
}

.history-detail-value {
    color: var(--text-main);
    font-weight: 600;
}

.history-detail-value.amount {
    color: var(--primary);
    font-size: 1.1rem;
}

.history-detail-value.transaction-code {
    color: var(--primary);
    font-family: monospace;
    font-size: 1rem;
}

.no-deposits-container {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

@media (max-width: 768px) {
    .deposit-history-header {
        flex-direction: column;
    }

    .deposit-history-status {
        align-self: flex-start;
    }

    .history-detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .no-deposits-container {
        padding: 50px 20px;
    }

    .no-deposits-container div {
        font-size: 3rem !important;
    }

    .admin-tabs {
        flex-direction: column;
        gap: 0;
    }

    .admin-tab {
        border-bottom: 1px solid var(--border);
        border-left: 3px solid transparent;
        margin-bottom: 0;
    }

    .admin-tab.active {
        border-left-color: var(--primary);
        border-bottom-color: var(--border);
    }

    .deposit-header {
        flex-direction: column;
    }

    .deposit-actions {
        flex-direction: column;
    }

    .deposit-actions form {
        width: 100%;
    }

    .deposit-actions input[type="text"] {
        width: 100%;
        margin-bottom: 10px;
    }

    .qr-code-container {
        padding: 15px;
    }

    .info-item,
    .bank-detail-item {
        flex-direction: column;
        gap: 5px;
    }
}

/* Order History Page */
.order-history-container {
    max-width: 1000px;
    margin: 0 auto;
}

.order-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 25px;
    transition: var(--transition);
    backdrop-filter: var(--glass);
}

.order-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 15px;
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-id-large {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
}

.order-date-large {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.order-card-body {
    margin-bottom: 20px;
}

.order-products-list {
    color: var(--text-muted);
    line-height: 1.8;
}

.order-item-count {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 12px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

.order-card-footer {
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.order-total-large {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-label {
    font-size: 1rem;
    color: var(--text-muted);
}

.total-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.no-orders-container {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

@media (max-width: 768px) {
    .order-history-container {
        padding: 0 5px;
    }

    .order-card {
        padding: 15px;
        border-radius: 12px;
    }

    .order-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 15px;
        padding-bottom: 12px;
    }

    .order-info {
        width: 100%;
    }

    .order-id-large {
        font-size: 1.1rem;
        display: block;
        margin-bottom: 5px;
    }

    .order-date-large {
        font-size: 0.85rem;
    }

    .order-status {
        align-self: flex-start;
        font-size: 0.8rem;
        padding: 4px 10px;
    }

    .order-card-body {
        margin-bottom: 15px;
    }

    .order-products-list {
        font-size: 0.9rem;
    }

    .order-products-list strong {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .order-item-count {
        font-size: 0.8rem;
        padding: 3px 10px;
        margin-top: 8px;
    }

    .order-card-footer {
        padding-top: 12px;
    }

    .order-total-large {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .total-label {
        font-size: 0.9rem;
    }

    .total-amount {
        font-size: 1.3rem;
    }

    .no-orders-container {
        padding: 50px 20px;
    }

    .no-orders-container div {
        font-size: 3rem !important;
    }

    .no-orders-container h3 {
        font-size: 1.3rem;
    }

    .no-orders-container p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        width: 100%;
        padding: 10px;
    }

    .navbar {
        padding: 12px 0;
        gap: 10px;
    }

    .logo {
        font-size: 1.3rem;
    }

    .nav-links {
        gap: 8px;
    }

    .nav-links a {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .balance-display {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    .btn-sidebar-toggle {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .page-title {
        font-size: 1.6rem;
    }

    .home-title {
        font-size: 1.9rem;
    }

    .page-description {
        font-size: 0.85rem;
    }

    .card {
        padding: 12px;
    }

    .card-img {
        height: 160px;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-price {
        font-size: 1.2rem;
    }

    .order-card {
        padding: 12px;
    }

    .order-id-large {
        font-size: 1rem;
    }

    .total-amount {
        font-size: 1.2rem;
    }
}