:root {
    --primary: #3b82f6;
    --primary-grad: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --danger: #ef4444;
    --danger-grad: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --success: #10b981;
    --success-grad: linear-gradient(135deg, #10b981 0%, #059669 100%);

    --bg-dark: #0f172a;
    --bg-sidebar: rgba(15, 23, 42, 0.85);
    --bg-glass: rgba(30, 41, 59, 0.7);
    --bg-input: rgba(15, 23, 42, 0.6);

    --border: rgba(148, 163, 184, 0.1);
    --border-hover: rgba(59, 130, 246, 0.3);

    --text: #f8fafc;
    --text-muted: #94a3b8;

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-primary: 0 4px 12px rgba(59, 130, 246, 0.3);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(135deg, #0f172a 0%, #172554 100%);
    background-attachment: fixed;
    color: var(--text);
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    line-height: 1.5;
    min-height: 100vh;
}

h1,
h2,
h3 {
    letter-spacing: -0.02em;
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(90deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-center {
    text-align: center;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mb-25 {
    margin-bottom: 25px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-35 {
    margin-bottom: 35px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mt-20 {
    margin-top: 20px;
}

.gap-10 {
    gap: 10px;
}

.gap-12 {
    gap: 12px;
}

.w-100 {
    width: 100%;
}

.app-container {
    display: flex;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.sidebar {
    width: 280px;
    background: var(--bg-sidebar);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 30px 24px;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 100;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo i {
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.4));
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
}

.nav-item i {
    font-size: 1.25rem;
    transition: transform 0.3s;
}

.nav-item:hover {
    background: rgba(59, 130, 246, 0.08);
    color: #fff;
    transform: translateX(6px);
}

.nav-item:hover i {
    transform: scale(1.1);
}

.nav-item.active {
    background: var(--primary-grad);
    color: white;
    box-shadow: var(--shadow-primary);
    border-color: rgba(255, 255, 255, 0.1);
}

.nav-item.active i {
    color: white;
}

.sidebar-footer {
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid var(--border);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.glass-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    position: relative;
    transition: all 0.3s;
}

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    margin: 0 10px;
    margin-top: -18px;
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-input);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 2;
    transition: all 0.3s;
}

.step-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

.progress-step.active .step-num {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
    color: white;
}

.progress-step.completed .step-num {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

input[type="text"],
input[type="number"],
textarea,
select {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 18px;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    background: rgba(15, 23, 42, 0.8);
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.role-card {
    cursor: pointer;
    text-align: center;
    padding: 30px 20px;
    border: 2px solid var(--border);
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.role-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px) scale(1.02);
    background: rgba(59, 130, 246, 0.05);
}

.role-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
    transition: transform 0.3s;
}

.role-card:hover i {
    transform: rotate(-5deg) scale(1.1);
}

.role-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.submission-type-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.type-card {
    flex: 1;
    cursor: pointer;
    text-align: center;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.type-card i {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: all 0.3s;
}

.type-card span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.type-card:hover {
    border-color: var(--border-hover);
    background: rgba(15, 23, 42, 0.6);
}

.type-card.active {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
}

.type-card.active i {
    color: var(--primary);
}

.type-card.active span {
    color: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-grad);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
}

.btn-lg {
    width: 100%;
    height: 60px;
    font-size: 1.1rem;
}

.btn-back {
    margin-bottom: 24px;
    padding: 10px 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.submit-layout-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.preview-panel {
    margin-top: 20px;
    width: 100%;
}

@media (min-width: 992px) {
    .submit-layout-wrapper {
        display: grid;
        grid-template-columns: 1fr 380px;
        align-items: start;
    }

    .preview-panel {
        margin-top: 0 !important;
        position: sticky;
        top: 20px;
    }
}

.view {
    display: none;
    animation: fadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.service-list {
    display: grid;
    gap: 14px;
}

.service-item {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.service-item:hover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.service-info .name {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.service-info .desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.service-item .price {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary);
}

.marketplace-btn {
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.marketplace-btn:hover {
    border-color: var(--primary);
}

.marketplace-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.view.active {
    display: block;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
}

.hidden {
    display: none !important;
}

.mobile-header {
    display: none;
    padding: 16px 20px;
    background: var(--bg-sidebar);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mobile-nav-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 99;
    display: none;
}

/* Responsive Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card-popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    z-index: 2;
    position: relative;
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

/* Mobile Optimizations */
@media (max-width: 992px) {
    .sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        bottom: 0;
        width: 280px;
        z-index: 100;
    }

    .sidebar.open {
        left: 0;
    }

    .sidebar.open+.sidebar-overlay {
        display: block;
    }

    .mobile-header {
        display: flex;
    }

    .main-content {
        padding: 24px 16px;
    }

    .glass-card {
        padding: 24px 16px;
    }

    .pricing-card-popular {
        transform: none;
        margin-top: 15px;
        margin-bottom: 15px;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.8rem !important;
    }

    h2 {
        font-size: 1.4rem !important;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .role-card {
        padding: 20px 10px;
    }

    .role-card i {
        font-size: 2rem;
    }

    .step-label {
        display: none;
    }

    .progress-line {
        margin: 0 5px;
        margin-top: -3px;
        /* vertically center with dots */
    }

    .wizard-progress {
        margin-bottom: 25px;
    }

    .button-group-responsive {
        flex-direction: column;
    }
}

@media (max-width: 400px) {
    .roles-grid {
        grid-template-columns: 1fr;
    }
}

/* User Card */
.user-card-new {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.user-card-new:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(96, 165, 250, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.user-avatar-new {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.user-details-new {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-name-text {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.01em;
}

.user-id-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.user-id-label {
    opacity: 0.7;
}

#user-id-val {
    font-family: 'Inter', monospace;
    letter-spacing: 0.02em;
}

.copy-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 0.9rem;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    margin-left: 4px;
}

.copy-btn:hover {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
}

.logout-btn-new {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logout-btn-new:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.my-ad-item {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.my-ad-item:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
    background: rgba(30, 41, 59, 0.6);
}

.ad-status-badge {
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-pending {
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-muted);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.status-active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-rejected {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.ad-content-preview {
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 16px;
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
    white-space: pre-wrap;
    max-height: 200px;
    overflow: hidden;
    position: relative;
}

.ad-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.ad-id-tag {
    font-family: 'Inter', monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.8;
}

.status-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
}

.status-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    opacity: 0.7;
    color: var(--primary);
}

.post-select-list {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

.post-select-item {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-select-item:hover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
    transform: translateX(4px);
}

.post-select-item.active {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.ad-id-badge {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-family: monospace;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: copy;
}

.ad-id-badge:hover {
    color: white;
    background: var(--primary);
}

.preview-txt {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-badges {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

.badge {
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
}

.badge.pinned {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge.boosted {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.view {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.view.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal {
    background: #1c2533;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    max-width: 500px;
    width: 100%;
}

/* ADMIN PANEL STYLES */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 24px;
    transition: transform 0.3s ease, margin 0.3s ease;
}

.admin-nav .nav-item {
    margin-bottom: 8px;
    border-radius: 12px;
    font-weight: 500;
}

.admin-content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
    width: 100%;
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    gap: 20px;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(59, 130, 246, 0.1);
    border-left-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    padding: 28px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    border-color: rgba(59, 130, 246, 0.3);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 10px 0;
    color: white;
    letter-spacing: -0.02em;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.team-container {
    background: var(--bg-glass);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.team-actions {
    margin-bottom: 24px;
    display: flex;
    gap: 10px;
}

.team-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: var(--bg-dark);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.user-avatar-sm {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.filter-bar {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.table-container {
    overflow-x: auto;
    background: var(--bg-glass);
    border-radius: 12px;
    border: 1px solid var(--border);
    width: 100%;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
    min-width: 800px;
    /* Ensure table doesn't squash on mobile */
}

.data-table th {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-weight: 600;
}

.data-table td {
    padding: 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.05);
}

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    background: #f59e0b;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.btn-danger {
    background: var(--danger-grad);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Admin Mobile Optimizations */
@media (max-width: 992px) {
    .admin-sidebar {
        position: fixed;
        left: -250px;
        top: 0;
        bottom: 0;
        z-index: 1001;
        transition: left 0.3s ease;
        background: #0f172a;
    }

    .admin-sidebar.open {
        left: 0;
    }

    .admin-content {
        padding: 24px 16px;
    }

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

    .view h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .team-actions {
        flex-direction: column;
    }

    .team-actions input {
        width: 100%;
    }

    .team-actions button {
        width: 100% !important;
    }

    .filter-bar {
        flex-direction: column;
    }

    .filter-bar select {
        width: 100%;
    }
}