@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Sora:wght@600;700&display=swap');

/* Modern UI for Digital Marketplace */
/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #0f4c81;
    --primary-dark: #0b3b63;
    --secondary-color: #f6f9fc;
    --accent-color: #00a86b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f6f9fc;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
}

body {
    font-family: 'Manrope', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #f1f5f9 100%);
    min-height: 100vh;
}

:root {
    --primary-color: #0f4c81;
    --primary-dark: #0b3b63;
    --secondary-color: #f6f9fc;
    --accent-color: #00a86b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f6f9fc;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
}

body {
    font-family: 'Manrope', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #f1f5f9 100%);
    min-height: 100vh;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1 {
    font-family: 'Sora', 'Manrope', 'Segoe UI', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

h2 {
    font-family: 'Sora', 'Manrope', 'Segoe UI', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

h3 {
    font-family: 'Sora', 'Manrope', 'Segoe UI', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Navigation */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    transform: translateZ(0);
}

.navbar-spacer {
    height: 4rem;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    height: 4rem;
}

.nav-left-tools {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    justify-self: start;
}

.nav-profile-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    color: var(--text-secondary);
    background: #eef2f7;
    transition: background-color 0.16s ease, color 0.16s ease;
}

.nav-profile-icon:hover {
    color: var(--primary-dark);
    background: #e2e8f0;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* UC Monogram Logo */
.logo-monogram {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #001f3f 0%, #0077be 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
    flex-shrink: 0;
}

.logo-brand {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-tagline {
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    line-height: 1;
}

.logo-brand,
.logo-tagline {
    line-height: 1;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s;
    z-index: 10002;
}

.nav-toggle:hover {
    background-color: var(--secondary-color);
}

.nav-toggle span {
    width: 1.5rem;
    height: 2px;
    background-color: var(--text-primary);
    margin: 2px 0;
    transition: background-color 0.16s ease;
    border-radius: 1px;
}

.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: min(86vw, 320px);
    height: 100dvh;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    padding: 1rem 0.8rem 5.2rem;
    box-shadow: 0 14px 26px rgba(2, 8, 23, 0.16);
    transform: translateX(-110%);
    transition: transform 0.18s ease;
    border-right: 1px solid rgba(148, 163, 184, 0.3);
    gap: 0.2rem;
    z-index: 10001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    will-change: transform;
    contain: layout paint;
}

.nav-menu li { list-style: none; width: 100%; }

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.72rem 0.78rem;
    border-radius: 12px;
    transition: background-color 0.16s ease, color 0.16s ease;
    text-align: left;
}

.nav-menu a:hover {
    color: var(--primary-color);
    background-color: var(--secondary-color);
}

.nav-menu a.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
}

.nav-logout-item {
    margin-top: auto;
    padding-top: 0.35rem;
    border-top: 1px solid #e2e8f0;
}

.nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.52);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.16s ease, visibility 0.16s ease;
    z-index: 9998;
}

.drawer-head,
.nav-section-title,
.nav-icon { display: inline-flex; }

.nav-right-spacer {
    width: 76px;
    height: 44px;
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.drawer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.drawer-close {
    border: none;
    background: #eef2f7;
    color: #334155;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    cursor: pointer;
}

.nav-section-title {
    display: block;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    margin-top: 0.7rem;
    margin-bottom: 0.3rem;
    padding: 0 0.25rem;
}

.nav-icon {
    width: 18px;
    justify-content: center;
    color: #64748b;
    font-size: 0.95rem;
}

.nav-menu.active { transform: translateX(0); }

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

body.nav-open { overflow: hidden; }
body.nav-open .nav-toggle {
    opacity: 0;
    pointer-events: none;
}
body.nav-open .mobile-bottom-nav {
    display: none !important;
}

/* Category Sections */
.category-section {
    margin-bottom: 3rem;
}

.category-header {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.category-header::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
    vertical-align: middle;
    background-size: contain;
    background-repeat: no-repeat;
}

/* Category specific icons */
.category-header[data-category="Emails"]::before,
.category-header[data-category="Email"]::before { content: '📧'; }

.category-header[data-category="Phone Numbers"]::before,
.category-header[data-category="Phone"]::before,
.category-header[data-category="Phones"]::before { content: '📱'; }

.category-header[data-category="Social Media"]::before,
.category-header[data-category="Social"]::before { content: '👥'; }

.category-header[data-category="General"]::before,
.category-header[data-category="Other"]::before { content: '📦'; }

.category-header[data-category="Data"]::before,
.category-header[data-category="Database"]::before { content: '💾'; }

.category-header[data-category="Marketing"]::before,
.category-header[data-category="Ads"]::before { content: '📈'; }

.category-header[data-category="Accounts"]::before,
.category-header[data-category="Logins"]::before { content: '🔐'; }

.category-header[data-category="Contacts"]::before { content: '👤'; }

/* Fallback icon for any category */
.category-header:not([data-category])::before,
.category-header::before { content: '📦'; }

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Product Cards */
.product-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.product-card:hover::before {
    opacity: 1;
}

.product-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    border: 2px solid var(--border-color);
    transition: border-color 0.3s;
}

.product-card:hover .product-image {
    border-color: var(--primary-color);
}

.product-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.product-card .price::before {
    content: '$';
    font-size: 0.875rem;
    color: var(--text-light);
}

.product-card .stock {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-card .stock.in-stock {
    color: var(--accent-color);
}

.product-card .stock.out-of-stock {
    color: #ef4444;
}

.product-card .stock::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}

.product-card .stock.in-stock::before {
    background: var(--accent-color);
    content: '✓';
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

.product-card .stock.out-of-stock::before {
    background: #ef4444;
    content: '✗';
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

.product-card .btn {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.product-card .btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.product-card .btn::after {
    content: '👁️';
    font-size: 0.75rem;
}

/* Product Detail Page */
.product-detail {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid var(--border-color);
}

.product-detail h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.product-detail .description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    white-space: pre-line;
}

.product-detail .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-detail .price::before {
    content: '$';
    font-size: 1rem;
    color: var(--text-light);
}

.product-detail .stock {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-detail .stock.in-stock {
    color: var(--accent-color);
}

.product-detail .stock.out-of-stock {
    color: #ef4444;
}

.product-detail .stock::before {
    content: '●';
    font-size: 0.75rem;
}

.product-detail .category {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-lg);
}

.product-detail .category::before {
    content: '🏷️';
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.2s;
    background: var(--bg-primary);
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Messages */
.message {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.message::before {
    font-size: 1.25rem;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #0f172a 0%, #0b1220 100%);
    color: white;
    padding: 1.2rem 0;
    margin-top: 2rem;
}

.footer-content {
    max-width: 620px;
    margin: 0 auto;
    padding: 0.55rem 1rem;
    text-align: center;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.footer p {
    color: var(--text-light);
    font-size: 0.8rem;
    margin: 0.15rem 0;
}

.footer-brand {
    color: #f8fafc;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 0.25rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.35rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.74rem;
    font-weight: 600;
    transition: all 0.2s ease;
    padding: 0.32rem 0.72rem;
    border: 1px solid #3a4d67;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.footer-links a:hover {
    color: #ffffff;
    border-color: #7e93ad;
    background: rgba(255, 255, 255, 0.14);
}

/* Floating Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    width: min(94%, 460px);
    padding: 0.6rem 0.9rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
    display: none;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 10000;
}

.bottom-nav-item {
    flex: 1;
    color: #8b93a7;
    text-decoration: none;
    text-align: center;
    font-size: 0.73rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.28rem;
    transition: transform 0.22s ease, color 0.22s ease;
    padding-top: 0.2rem;
}

.bottom-nav-item i {
    font-size: 1rem;
}

.bottom-nav-item:hover {
    transform: translateY(-2px);
    color: #6b7280;
}

.bottom-nav-item.active {
    color: #ffffff;
}

.bottom-nav-item.active i,
.bottom-nav-item.active span {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bottom-nav-fab {
    width: 56px;
    height: 56px;
    margin: 0 0.35rem;
    margin-top: -30px;
    border-radius: 50%;
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #ffffff;
    display: grid;
    place-items: center;
    box-shadow: 0 14px 24px rgba(15, 76, 129, 0.35);
    border: 3px solid #ffffff;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.bottom-nav-fab i {
    font-size: 1.1rem;
}

.bottom-nav-fab:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 18px 30px rgba(15, 76, 129, 0.45);
}

@media (max-width: 480px) {
    .footer {
        padding: 1rem 0;
        margin-top: 2rem;
    }

    .footer-content {
        margin: 0;
        padding: 0.4rem 0.75rem;
    }

    .footer-links {
        gap: 0.6rem;
    }

    .footer-links a {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 900px) {
    .mobile-bottom-nav {
        display: flex;
    }

    body.has-bottom-nav {
        padding-bottom: 96px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 0.75rem;
    }

    h1 {
        font-size: 1.875rem;
        margin-bottom: 1.5rem;
    }

    .nav-container {
        padding: 0 0.75rem;
        height: 3.5rem;
    }

    .navbar-spacer {
        height: 3.5rem;
    }

    .nav-logo {
        font-size: 1rem;
        gap: 0.5rem;
    }

    .logo-monogram {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .logo-brand {
        font-size: 1rem;
    }

    .logo-tagline {
        font-size: 0.55rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: min(86vw, 320px);
        height: 100dvh;
        background: #ffffff;
        flex-direction: column;
        padding: 1rem 0.8rem 5.2rem;
        box-shadow: 0 14px 26px rgba(2, 8, 23, 0.16);
        transform: translateX(-110%);
        transition: transform 0.18s ease;
        border-right: 1px solid rgba(148, 163, 184, 0.3);
        gap: 0.2rem;
        z-index: 10001;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        touch-action: pan-y;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: flex;
        align-items: center;
        gap: 0.7rem;
        padding: 0.72rem 0.78rem;
        text-align: left;
        border-radius: 12px;
    }

    .nav-menu a.active {
        background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
        color: #ffffff;
    }

    .nav-menu a:hover {
        background: #eaf4ff;
        color: var(--primary-dark);
    }

    .nav-menu a.active .nav-icon {
        color: #ffffff;
    }

    .nav-icon {
        display: inline-flex;
        width: 18px;
        justify-content: center;
        color: #64748b;
        font-size: 0.95rem;
    }

    .nav-section-title {
        display: block;
        color: #64748b;
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.09em;
        margin-top: 0.7rem;
        margin-bottom: 0.3rem;
        padding: 0 0.25rem;
    }

    .drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0.4rem;
    }

    .drawer-brand {
        display: flex;
        align-items: center;
        gap: 0.6rem;
    }

    .drawer-close {
        border: none;
        background: #eef2f7;
        color: #334155;
        width: 32px;
        height: 32px;
        border-radius: 999px;
        cursor: pointer;
    }

    .drawer-balance-wrap {
        display: block;
        margin-bottom: 0.35rem;
    }

    .drawer-wallet-badge {
        background: linear-gradient(135deg, #10b981, #059669);
        color: #ffffff;
        border-radius: 999px;
        padding: 0.42rem 0.72rem;
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        font-size: 0.78rem;
        font-weight: 600;
    }

    .drawer-wallet-badge span {
        opacity: 0.95;
    }

    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(2, 6, 23, 0.52);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s ease;
        z-index: 9998;
    }

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

    body.nav-open {
        overflow: hidden;
    }

    .nav-wallet {
        font-size: 0.72rem;
        padding: 0.32rem 0.6rem;
        margin-top: 1rem;
        order: 3;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .product-card {
        padding: 1.25rem;
    }

    .product-image {
        height: 100px;
        margin-bottom: 0.75rem;
    }

    .category-header {
        font-size: 1.125rem;
        margin-bottom: 1.25rem;
    }

    .category-header::before {
        width: 20px;
        height: 20px;
        margin-right: 0.375rem;
    }

    .product-detail {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .product-detail h1 {
        font-size: 1.5rem;
    }

    .btn {
        width: 100%;
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    table {
        font-size: 0.875rem;
    }

    th, td {
        padding: 0.75rem 0.5rem;
        white-space: nowrap;
    }

    .orders-table,
    .transactions-table,
    .users-table {
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        background: var(--bg-primary);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .product-card {
        padding: 1rem;
    }

    .product-image {
        height: 60px;
        margin-bottom: 0.75rem;
    }

    .product-detail {
        padding: 1rem;
    }

    .orders-table table,
    .transactions-table table,
    .users-table table {
        min-width: 640px;
    }
}

/* Dashboard Styles */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.dashboard-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.dashboard-card h3 {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1.125rem;
    font-weight: 600;
}

.dashboard-card .balance {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin: 1rem 0;
    display: block;
}

.dashboard-card .btn {
    margin-top: 1rem;
}

.dashboard-section {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

.dashboard-section h2 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 1.5rem;
    border: 1px solid var(--border-color);
}

.orders-table,
.transactions-table,
.users-table {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.orders-table table,
.transactions-table table,
.users-table table {
    min-width: 720px;
    margin-top: 0;
}

thead {
    background: var(--secondary-color);
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

td {
    color: var(--text-secondary);
}

tbody tr:hover {
    background: var(--secondary-color);
}

.positive {
    color: var(--accent-color);
    font-weight: 600;
}

.negative {
    color: #ef4444;
    font-weight: 600;
}

/* Ultimate Logs Marketplace Style Products Page */
.plp-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-monogram-small {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #001f3f 0%, #0077be 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    line-height: 1;
}

.logo-brand {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-tagline {
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.header-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.profile-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.2s;
}

.profile-icon:hover {
    background: var(--border-color);
    transform: scale(1.05);
}

/* PLP Container */
.plp-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.plp-container > h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

/* Category Sections */
.category-section {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-bottom: 3px solid var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Products List */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Product Card */
.product-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 80px 1fr 120px 120px;
    gap: 1.5rem;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Product Icon */
.product-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.placeholder-icon {
    font-size: 2.5rem;
}

/* Product Details */
.product-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.availability {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Product Price */
.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-color);
    text-align: right;
}

/* Product Action - Button */
.product-action {
    display: flex;
    justify-content: flex-end;
}

.btn-buy {
    background: #0f4c81;
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
    text-align: center;
}

.btn-buy:hover {
    background: #0b3b63;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-buy:active {
    transform: translateY(0);
}

.btn-out-of-stock {
    background: #e5e7eb;
    color: #6b7280;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid #d1d5db;
    cursor: not-allowed;
}

.no-products {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.no-products p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Mobile Responsive - Tablet */
@media (max-width: 768px) {
    .plp-header {
        position: sticky;
    }

    .header-content {
        padding: 0.75rem;
    }

    .logo-link {
        font-size: 1.125rem;
        gap: 0.5rem;
    }

    .logo-monogram-small {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .logo-text {
        gap: 0.063rem;
    }

    .logo-brand {
        font-size: 0.95rem;
    }

    .logo-tagline {
        font-size: 0.55rem;
    }

    .profile-icon {
        width: 36px;
        height: 36px;
        font-size: 1.125rem;
    }

    .plp-container {
        padding: 1.5rem 0.75rem;
    }

    .plp-container > h1 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .category-section {
        margin-bottom: 2rem;
    }

    .category-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        padding: 0.75rem 0;
    }

    .product-card {
        grid-template-columns: 70px 1fr 100px;
        gap: 1rem;
        padding: 1rem;
        align-items: flex-start;
    }

    .product-card {
        grid-template-areas: 
            "icon details details"
            "icon price action";
    }

    .product-icon {
        width: 70px;
        height: 70px;
        grid-area: icon;
    }

    .product-details {
        grid-area: details;
    }

    .product-price {
        grid-area: price;
        text-align: left;
        font-size: 1.125rem;
        align-self: flex-end;
    }

    .product-action {
        grid-area: action;
        justify-content: flex-end;
    }

    .btn-buy,
    .btn-out-of-stock {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
}

/* Mobile Responsive - Phone */
@media (max-width: 480px) {
    .plp-container {
        padding: 1rem 0.5rem;
    }

    .plp-container > h1 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .logo-monogram-small {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }

    .logo-text {
        gap: 0.063rem;
    }

    .logo-brand {
        font-size: 0.875rem;
    }

    .logo-tagline {
        font-size: 0.5rem;
    }

    .category-title {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
        padding: 0.5rem 0;
    }

    .products-list {
        gap: 0.75rem;
    }

    .product-card {
        grid-template-columns: 60px 1fr;
        gap: 0.75rem;
        padding: 0.75rem;
        grid-template-areas: 
            "icon details"
            "action action"
            "price price";
    }

    .product-icon {
        width: 60px;
        height: 60px;
        grid-area: icon;
    }

    .product-details {
        grid-area: details;
    }

    .product-price {
        grid-area: price;
        text-align: center;
        font-size: 1rem;
        margin-top: 0.5rem;
    }

    .product-action {
        grid-area: action;
        justify-content: center;
        margin-top: 0.5rem;
    }

    .btn-buy,
    .btn-out-of-stock {
        width: 100%;
        padding: 0.625rem;
        font-size: 0.875rem;
    }

    .product-name {
        font-size: 1rem;
    }

    .availability {
        font-size: 0.8125rem;
    }
}

/* Platform Cards (Old - for reference, can be removed) */

.no-products {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.no-products p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Index Page Styles */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="50" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="30" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.95);
}

.btn-success {
    background: linear-gradient(135deg, var(--accent-color), #059669);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #059669, var(--accent-color));
}

.features {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-card::before {
    content: '';
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.feature-card:nth-child(1)::before {
    content: '🚀';
}

.feature-card:nth-child(2)::before {
    content: '🔒';
}

.feature-card:nth-child(3)::before {
    content: '💳';
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.quick-stats {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e2e8f0 100%);
    padding: 4rem 0;
}

.quick-stats h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-card .stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Mobile Responsive for Index Page */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .features {
        padding: 3rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .quick-stats {
        padding: 3rem 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-card .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* Mobile Responsive for Platform Cards */
@media (max-width: 768px) {
    .platforms-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .platform-card {
        margin: 0 0.5rem;
    }

    .platform-header {
        padding: 1.25rem;
    }

    .platform-icon {
        width: 50px;
        height: 50px;
    }

    .icon-placeholder {
        font-size: 1.5rem;
    }

    .platform-header h3 {
        font-size: 1.125rem;
    }

    .platform-products {
        padding: 1.25rem;
    }

    .product-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .view-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .platform-header {
        padding: 1rem;
    }

    .platform-products {
        padding: 1rem;
    }

    .product-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Admin Status Styles */
.status-available {
    color: var(--accent-color);
    font-weight: 600;
}

.status-out {
    color: #ef4444;
    font-weight: 600;
}

/* Admin Redesign */
.admin-page {
    background: linear-gradient(160deg, #f8fbff 0%, #eef4fb 52%, #f7fafc 100%);
}

.admin-page .container {
    max-width: 1200px;
    padding: 0 0.9rem 1.2rem;
}

.admin-page h1 {
    text-align: left;
    font-size: 1.6rem;
    margin: 1rem 0 0.8rem;
}

.admin-page .dashboard-section,
.admin-page .admin-section,
.admin-page .users-table,
.admin-page .orders-table,
.admin-page .products-table {
    background: #ffffff;
    border: 1px solid #dbe6f4;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    padding: 0.9rem;
}

.admin-page .stats-grid {
    gap: 0.7rem;
    margin-bottom: 0.8rem;
}

.admin-page .stat-card {
    border: 1px solid #dbe6f4;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: none;
    padding: 1rem;
}

.admin-page .stat-card h3 {
    font-size: 0.78rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-page .stat-card p {
    margin-top: 0.35rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
}

.admin-page .admin-actions {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}

.admin-page .provider-balances {
    margin-bottom: 0.9rem;
}

.admin-page .provider-balances .section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.admin-page .provider-balances h2 {
    margin: 0;
    font-size: 1.05rem;
    text-align: left;
}

.admin-page .provider-balances .section-head span {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
}

.admin-page .provider-balance-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.admin-page .provider-balance-card {
    min-height: 112px;
    display: grid;
    align-content: center;
    gap: 0.35rem;
    border: 1px solid #dbe6f4;
    border-radius: 12px;
    padding: 0.9rem;
    background: #f8fbff;
}

.admin-page .provider-balance-card.is-ok {
    border-color: rgba(16, 185, 129, 0.28);
    background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
}

.admin-page .provider-balance-card.is-warning {
    border-color: rgba(245, 158, 11, 0.32);
    background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
}

.admin-page .provider-balance-card span {
    color: #475569;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-page .provider-balance-card strong {
    color: #0f172a;
    font-size: clamp(1.15rem, 2.4vw, 1.45rem);
    overflow-wrap: anywhere;
}

.admin-page .provider-balance-card small {
    color: #64748b;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.admin-page .btn {
    border-radius: 10px;
}

.admin-page .users-table,
.admin-page .orders-table,
.admin-page .products-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-page table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.admin-page thead th {
    position: sticky;
    top: 0;
    background: #f1f5fb;
    color: #475569;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    z-index: 1;
}

.admin-page th,
.admin-page td {
    padding: 0.62rem 0.55rem;
    border-bottom: 1px solid #e7edf6;
    vertical-align: top;
}

.admin-page td form {
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
    margin-bottom: 0.3rem;
    flex-wrap: wrap;
}

.admin-page input[type="text"],
.admin-page input[type="email"],
.admin-page input[type="url"],
.admin-page input[type="number"],
.admin-page textarea,
.admin-page select {
    width: 100%;
    border: 1px solid #d6e0ec;
    border-radius: 10px;
    padding: 0.58rem 0.62rem;
    background: #fbfdff;
}

.admin-page textarea {
    resize: vertical;
}

@media (max-width: 900px) {
    .admin-page .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-page .provider-balance-grid {
        grid-template-columns: 1fr;
    }

    .admin-page h1 {
        font-size: 1.35rem;
    }
}

@media (max-width: 640px) {
    .admin-page .container {
        padding: 0 0.65rem 1rem;
    }

    .admin-page .stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-page .dashboard-section,
    .admin-page .admin-section,
    .admin-page .users-table,
    .admin-page .orders-table,
    .admin-page .products-table {
        border-radius: 12px;
        padding: 0.7rem;
    }

    .admin-page .admin-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .admin-page .provider-balances .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-page table {
        min-width: 680px;
    }
}
