/* ========================================
   DESIGN SYSTEM - CSS VARIABLES
   ======================================== */
:root {
    /* Colors - Dark Theme (Default) */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a2e;
    --bg-card-hover: #252540;
    --bg-modal: #16162a;

    /* Accent Colors */
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-cyan: #06b6d4;
    --accent-orange: #f97316;
    --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --accent-gradient-hover: linear-gradient(135deg, #9d6fff 0%, #f472b6 100%);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #6b6b80;

    /* Border Colors */
    --border-color: rgba(139, 92, 246, 0.3);
    --border-glow: rgba(139, 92, 246, 0.5);

    /* Shadows */
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-modal: 0 25px 50px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.3);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --header-height: 70px;
    --content-padding: 24px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ========================================
   LIGHT THEME VARIABLES
   ======================================== */
[data-theme="light"] {
    /* Colors - Light Theme */
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --bg-modal: #ffffff;

    /* Text Colors */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;

    /* Border Colors */
    --border-color: rgba(139, 92, 246, 0.2);
    --border-glow: rgba(139, 92, 246, 0.4);

    /* Shadows */
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-modal: 0 25px 50px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.15);
}

/* Light Theme Specific Overrides */
[data-theme="light"] body::before {
    background:
        radial-gradient(ellipse at top left, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(236, 72, 153, 0.06) 0%, transparent 50%);
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .main-nav {
    background: var(--bg-secondary);
}

[data-theme="light"] .nav-link:hover {
    background: rgba(139, 92, 246, 0.08);
}

[data-theme="light"] .notification-btn,
[data-theme="light"] .settings-btn,
[data-theme="light"] .planka-btn {
    background: var(--bg-secondary);
}

[data-theme="light"] .notification-btn:hover,
[data-theme="light"] .settings-btn:hover,
[data-theme="light"] .planka-btn:hover {
    background: var(--bg-card-hover);
}

[data-theme="light"] .user-profile {
    background: var(--bg-secondary);
}

[data-theme="light"] .logout-btn {
    background: rgba(239, 68, 68, 0.1);
}

[data-theme="light"] .logout-btn:hover {
    background: rgba(239, 68, 68, 0.15);
}

[data-theme="light"] .filter-select {
    background: var(--bg-card);
}

[data-theme="light"] .outfit-card {
    box-shadow: var(--shadow-card);
}

[data-theme="light"] .outfit-card:hover {
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.2);
}

[data-theme="light"] .card-overlay {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.9) 0%, transparent 50%);
}

[data-theme="light"] .pagination-btn,
[data-theme="light"] .page-number {
    background: var(--bg-card);
}

[data-theme="light"] .modal-overlay {
    background: rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .stat-box {
    background: var(--bg-secondary);
}

[data-theme="light"] .footer {
    background: var(--bg-secondary);
}

[data-theme="light"] .toast {
    background: var(--bg-card);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .settings-modal {
    background: var(--bg-card);
}

[data-theme="light"] .toggle-slider {
    background: #e2e8f0;
}

[data-theme="light"] .toggle-slider::before {
    background: #94a3b8;
}

[data-theme="light"] .welcome-section {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
}

[data-theme="light"] .best-card,
[data-theme="light"] .discord-card,
[data-theme="light"] .profile-summary-card {
    background: var(--bg-card);
    box-shadow: var(--shadow-card);
}

[data-theme="light"] .quick-btn {
    background: var(--bg-card);
    box-shadow: var(--shadow-card);
}

[data-theme="light"] .featured-tab,
[data-theme="light"] .top10-tab {
    background: var(--bg-secondary);
}

[data-theme="light"] .featured-tab.active,
[data-theme="light"] .top10-tab.active {
    background: var(--accent-gradient);
}

[data-theme="light"] .notification-dropdown {
    background: var(--bg-card);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .notif-item.unread {
    background: rgba(236, 72, 153, 0.08);
}

[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder {
    color: var(--text-muted);
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at top left, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* ========================================
   HEADER STYLES
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(18, 18, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--content-padding);
    gap: 20px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-glow);
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    padding: 8px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(139, 92, 246, 0.1);
}

.nav-link.active {
    color: var(--text-primary);
    background: var(--accent-gradient);
}

.nav-link i {
    font-size: 16px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-btn,
.settings-btn,
.planka-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-card);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all var(--transition-fast);
    position: relative;
    border: 1px solid var(--border-color);
}

.notification-btn:hover,
.settings-btn:hover,
.planka-btn:hover {
    color: var(--text-primary);
    background: var(--bg-card-hover);
    border-color: var(--accent-purple);
}

/* Planka button specific styles for anchor element */
a.planka-btn {
    text-decoration: none;
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    background: var(--accent-pink);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 6px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.user-profile:hover {
    border-color: var(--accent-purple);
    background: var(--bg-card-hover);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    overflow: hidden;
    flex-shrink: 0;
}

.user-avatar.has-image {
    background: none;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: #ec4899;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-card);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 18px;
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.main-content {
    margin-top: var(--header-height);
    padding: var(--content-padding);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.result-count {
    font-size: 15px;
    color: var(--text-secondary);
}

.result-count span {
    color: var(--accent-purple);
    font-weight: 600;
}

.filter-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-select {
    padding: 10px 16px;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-select:hover,
.filter-select:focus {
    border-color: var(--accent-purple);
    outline: none;
}

.page-info {
    font-size: 14px;
    color: var(--text-muted);
}

/* ========================================
   OUTFIT GRID
   ======================================== */
.outfit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* Outfit Card */
.outfit-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
}

.outfit-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-glow);
}

.outfit-card:hover .card-image img {
    transform: scale(1.05);
}

.card-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
}

.outfit-card:hover .card-overlay {
    opacity: 1;
}

/* Action Buttons Container - Top */
.card-overlay .overlay-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* Action Buttons (Like, Copy, Report) */
.card-overlay .action-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    transform: translateY(-10px);
    opacity: 0;
}

.outfit-card:hover .card-overlay .action-btn {
    transform: translateY(0);
    opacity: 1;
}

.outfit-card:hover .card-overlay .action-btn:nth-child(1) {
    transition-delay: 0s;
}

.outfit-card:hover .card-overlay .action-btn:nth-child(2) {
    transition-delay: 0.05s;
}

.outfit-card:hover .card-overlay .action-btn:nth-child(3) {
    transition-delay: 0.1s;
}

/* Like Button - Red */
.card-overlay .action-btn.like-card-btn {
    background: rgba(239, 68, 68, 0.25);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.card-overlay .action-btn.like-card-btn:hover {
    background: rgba(239, 68, 68, 0.9);
    border-color: #ef4444;
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.5);
    color: white;
}

.card-overlay .action-btn.like-card-btn.liked {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-color: #ef4444;
    color: white;
}

.card-overlay .action-btn.like-card-btn.liked i {
    animation: cardHeartBeat 0.4s ease;
}

/* Copy Button - Orange */
.card-overlay .action-btn.copy-card-btn {
    background: rgba(249, 115, 22, 0.25);
    border: 1px solid rgba(249, 115, 22, 0.4);
    color: #f97316;
}

.card-overlay .action-btn.copy-card-btn:hover {
    background: rgba(249, 115, 22, 0.9);
    border-color: #f97316;
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.5);
    color: white;
}

.card-overlay .action-btn.copy-card-btn.copied {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
}

/* Report Button - Subtle Red */
.card-overlay .action-btn.report-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

.card-overlay .action-btn.report-btn:hover {
    background: rgba(239, 68, 68, 0.9);
    border-color: #ef4444;
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.5);
    color: white;
}

/* Card Button Animations */
@keyframes cardHeartBeat {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.4);
    }

    50% {
        transform: scale(0.9);
    }

    75% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* View Button - Bottom */
.card-overlay .view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.outfit-card:hover .card-overlay .view-btn {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.1s;
}

.card-overlay .view-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
}

.card-overlay .view-btn i {
    font-size: 16px;
}

.card-content {
    padding: 16px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.card-title a:hover {
    color: var(--accent-purple);
}

.card-description {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-creator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.creator-small-avatar {
    width: 24px;
    height: 24px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    overflow: hidden;
    flex-shrink: 0;
}

.creator-small-avatar.has-image {
    background: none;
}

.creator-small-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.creator-small-name {
    font-size: 13px;
    color: var(--text-secondary);
}

.card-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.card-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.card-stat i {
    font-size: 12px;
}

.card-stat.liked i {
    color: var(--accent-pink);
}

.card-date {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-muted);
    background: rgba(139, 92, 246, 0.2);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

/* ========================================
   PAGINATION
   ======================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-card);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    border: 1px solid var(--border-color);
}

.pagination-btn:hover:not(:disabled) {
    background: var(--accent-purple);
    color: white;
    border-color: var(--accent-purple);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 4px;
}

.page-number {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-card);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
    border: 1px solid var(--border-color);
}

.page-number:hover {
    border-color: var(--accent-purple);
    color: var(--text-primary);
}

.page-number.active {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
}

/* ========================================
   MODAL STYLES
   ======================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    padding: 20px;
}

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

.modal-content {
    background: var(--bg-modal);
    border-radius: var(--radius-xl);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-modal);
    transform: scale(0.9);
    transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-card);
    color: var(--text-secondary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 10;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--accent-pink);
    color: white;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.modal-image-section {
    position: relative;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    overflow: hidden;
}

.category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    background: var(--accent-pink);
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-title {
    font-size: 28px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.creator-section {
    background: var(--bg-card);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.creator-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.creator-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.creator-avatar {
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid var(--border-color);
}

.creator-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.creator-name {
    font-size: 15px;
    font-weight: 600;
}

.creator-date {
    font-size: 13px;
    color: var(--text-muted);
}

.outfit-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.stat-box {
    background: var(--bg-card);
    padding: 16px 12px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.stat-box i {
    font-size: 18px;
    color: var(--accent-cyan);
}

.stat-box:nth-child(1) i {
    color: var(--accent-pink);
}

.stat-box:nth-child(2) i {
    color: var(--accent-cyan);
}

.stat-box:nth-child(3) i {
    color: var(--accent-purple);
}

.stat-box:nth-child(4) i {
    color: var(--accent-cyan);
}

.stat-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
}

.action-buttons {
    display: flex;
    gap: 12px;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.like-btn {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.like-btn:hover {
    border-color: var(--accent-pink);
    color: var(--accent-pink);
}

.like-btn.liked {
    background: rgba(236, 72, 153, 0.2);
    border-color: var(--accent-pink);
    color: var(--accent-pink);
}

.like-btn.liked i {
    font-weight: 900;
}

.copy-btn {
    background: var(--accent-gradient);
    color: white;
}

.copy-btn:hover {
    background: var(--accent-gradient-hover);
    transform: translateY(-2px);
}

.share-btn {
    background: var(--accent-cyan);
    color: white;
}

.share-btn:hover {
    background: #0891b2;
    transform: translateY(-2px);
}

.server-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-pink) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.server-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
}

/* ========================================
   UPLOAD MODAL
   ======================================== */
.upload-modal-content {
    background: var(--bg-modal);
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 100%;
    padding: 32px;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-modal);
    transform: scale(0.9);
    transition: transform var(--transition-normal);
}

.modal-overlay.active .upload-modal-content {
    transform: scale(1);
}

.upload-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.upload-title i {
    color: var(--accent-purple);
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.image-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.image-upload-area:hover {
    border-color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.05);
}

.image-upload-area i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: block;
}

.image-upload-area p {
    color: var(--text-muted);
    font-size: 14px;
}

.image-preview {
    display: none;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.image-preview.active {
    display: block;
}

.image-preview img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
}

.remove-image {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn {
    padding: 16px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.submit-btn:hover {
    background: var(--accent-gradient-hover);
    transform: translateY(-2px);
}

/* ========================================
   TOAST NOTIFICATION
   ======================================== */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    z-index: 3000;
    opacity: 0;
    transition: all var(--transition-normal);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast i {
    color: #22c55e;
    font-size: 20px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

@media (max-width: 900px) {
    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-image-section {
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
        max-height: 300px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-actions {
        display: none;
    }

    .filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .outfit-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }

    .action-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    :root {
        --content-padding: 16px;
    }

    .logo-text {
        display: none;
    }

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

    .modal-content,
    .upload-modal-content {
        margin: 10px;
        padding: 20px;
    }

    .modal-title {
        font-size: 22px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   SCROLLBAR STYLES
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card-hover);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.outfit-card {
    animation: fadeIn 0.5s ease forwards;
}

.outfit-card:nth-child(1) {
    animation-delay: 0.05s;
}

.outfit-card:nth-child(2) {
    animation-delay: 0.1s;
}

.outfit-card:nth-child(3) {
    animation-delay: 0.15s;
}

.outfit-card:nth-child(4) {
    animation-delay: 0.2s;
}

.outfit-card:nth-child(5) {
    animation-delay: 0.25s;
}

.outfit-card:nth-child(6) {
    animation-delay: 0.3s;
}

.outfit-card:nth-child(7) {
    animation-delay: 0.35s;
}

.outfit-card:nth-child(8) {
    animation-delay: 0.4s;
}

/* ========================================
   GRADIENT TEXT
   ======================================== */
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   ADMIN BUTTON
   ======================================== */
.admin-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.admin-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
}

/* ========================================
   WELCOME SECTION
   ======================================== */
.welcome-section {
    text-align: center;
    padding: 60px 20px;
}

.welcome-avatar {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-glow);
}

.welcome-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.welcome-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   BEST OF WEEK
   ======================================== */
.best-of-week {
    margin-bottom: 32px;
}

.best-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
}

.best-of-week.inline .best-card {
    max-width: 100%;
}

.best-image {
    width: 150px;
    height: 200px;
    object-fit: cover;
}

.best-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.best-title {
    font-size: 18px;
    font-weight: 700;
}

.best-outfit-name {
    color: var(--accent-pink);
    font-size: 14px;
    font-style: italic;
}

.best-creator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.creator-badge {
    width: 24px;
    height: 24px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
}

.best-stats {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.best-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.best-stats i {
    color: var(--accent-pink);
}

/* ========================================
   DASHBOARD GRID
   ======================================== */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.profile-summary-card,
.discord-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    scroll-margin-top: 100px;
    /* Fix for header covering */
}

.card-header {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.summary-stats {
    display: flex;
    gap: 16px;
}

.summary-stat {
    flex: 1;
    background: var(--bg-secondary);
    padding: 16px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--border-color);
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-purple);
    margin-bottom: 4px;
}

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

.discord-icon {
    width: 50px;
    height: 50px;
    background: #5865F2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
}

.discord-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.discord-desc {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 16px;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #5865F2;
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.discord-btn:hover {
    background: #4752C4;
    transform: translateY(-2px);
}

/* ========================================
   QUICK ACCESS
   ======================================== */
.quick-access {
    margin-bottom: 32px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.quick-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.quick-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.quick-btn:hover {
    transform: translateY(-4px);
    border-color: var(--accent-purple);
}

.quick-btn i {
    font-size: 24px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

.quick-btn.purple i {
    background: rgba(139, 92, 246, 0.2);
    color: var(--accent-purple);
}

.quick-btn.pink i {
    background: rgba(236, 72, 153, 0.2);
    color: var(--accent-pink);
}

.quick-btn.gray i {
    background: rgba(161, 161, 170, 0.2);
    color: var(--text-secondary);
}

.quick-btn strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.quick-btn span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   FEATURED SECTION
   ========================================*/
/* Featured Section */
.featured-section {
    padding: 0 var(--spacing-md);
    margin-bottom: 60px;
}

.featured-tabs {
    display: flex;
    background: var(--bg-secondary);
    padding: 4px;
    border-radius: var(--radius-md);
    margin-right: 16px;
}

.featured-tab {
    padding: 6px 16px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.featured-tab.active {
    background: var(--bg-card);
    color: var(--text-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.featured-tab:hover:not(.active) {
    color: var(--text-primary);
}

.featured-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.featured-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 2;
    flex-shrink: 0;
}

.featured-nav:hover {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    color: white;
    transform: scale(1.1);
}

.featured-slider {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 4px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    flex: 1;
}

.featured-slider::-webkit-scrollbar {
    display: none;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-title-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.section-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.section-icon.orange {
    background: rgba(249, 115, 22, 0.2);
    color: var(--accent-orange);
}

.section-icon.red {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.section-subtitle {
    font-size: 13px;
    color: var(--text-muted);
}

.section-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.control-btn {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.control-btn:hover {
    border-color: var(--accent-purple);
    color: var(--text-primary);
}

.control-select {
    padding: 8px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    font-size: 13px;
}

.control-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.control-link:hover {
    text-decoration: underline;
}

.featured-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 16px;
}

.featured-slider::-webkit-scrollbar {
    height: 6px;
}

.featured-card {
    min-width: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.featured-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

/* ========================================
   TOP 10 SECTION
   ======================================== */
.top10-tabs {
    display: flex;
    gap: 8px;
}

.top10-tab {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.top10-tab:hover {
    border-color: var(--accent-purple);
    color: var(--text-primary);
}

.top10-tab.active {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
}

.top10-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.top10-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.top10-card:hover {
    transform: scale(1.05);
}

.top10-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.top10-rank {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px var(--content-padding);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-discord {
    width: 44px;
    height: 44px;
    background: #5865F2;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.footer-discord:hover {
    transform: scale(1.1);
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-purple);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px var(--content-padding);
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* ========================================
   PAGE CONTENT STYLES
   ======================================== */
.page-content {
    padding-top: 40px;
}

.page-header {
    text-align: center;
    margin-bottom: 32px;
}

.page-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 16px;
}

.page-icon.pink {
    background: rgba(236, 72, 153, 0.2);
    color: var(--accent-pink);
}

.page-icon.purple {
    background: rgba(139, 92, 246, 0.2);
    color: var(--accent-purple);
}

.page-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 16px;
}

/* ========================================
   SEARCH BOX
   ======================================== */
.search-box {
    max-width: 600px;
    margin: 0 auto 24px;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 18px;
}

.search-box input {
    width: 100%;
    padding: 16px 20px 16px 52px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* ========================================
   FILTERS BAR
   ======================================== */
.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    justify-content: center;
}

.filter-group {
    position: relative;
}

.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 15px;
}

.results-info strong {
    color: var(--text-primary);
}

/* ========================================
   UPLOAD PAGE STYLES
   ======================================== */
.upload-selection {
    max-width: 700px;
    margin: 60px auto;
    text-align: center;
}

.upload-header {
    margin-bottom: 40px;
}

.upload-icon {
    width: 70px;
    height: 70px;
    background: rgba(236, 72, 153, 0.2);
    color: var(--accent-pink);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.upload-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}

.upload-subtitle {
    color: var(--text-muted);
    font-size: 16px;
}

.upload-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.upload-option {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.upload-option:hover {
    border-color: var(--accent-purple);
    transform: translateY(-4px);
}

.option-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
}

.option-icon.pink {
    background: rgba(236, 72, 153, 0.2);
    color: var(--accent-pink);
}

.option-icon.purple {
    background: rgba(139, 92, 246, 0.2);
    color: var(--accent-purple);
}

.upload-option h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.upload-option p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.option-link {
    color: var(--accent-cyan);
    font-size: 14px;
    font-weight: 500;
}

.moderation-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
}

.moderation-notice i {
    color: var(--accent-cyan);
}

/* Upload Form Section */
.upload-form-section {
    max-width: 600px;
    margin: 0 auto;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-bottom: 24px;
}

.back-btn:hover {
    border-color: var(--accent-purple);
    color: var(--text-primary);
}

.upload-form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-title {
    font-size: 24px;
    font-weight: 700;
}

.upload-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.image-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.image-upload-area:hover {
    border-color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.05);
}

.image-upload-area i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: block;
}

.image-upload-area p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 8px;
}

.upload-hint {
    font-size: 12px;
    color: var(--text-muted);
}

.image-preview {
    display: none;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.image-preview.active {
    display: block;
}

.image-preview img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

.remove-image {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.remove-image:hover {
    background: var(--accent-pink);
}

.form-notice {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.form-notice i {
    color: var(--accent-orange);
    font-size: 18px;
    flex-shrink: 0;
}

.form-notice p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

/* ========================================
   ADMIN PANEL STYLES
   ======================================== */
.admin-body {
    display: flex;
}

.admin-body::before {
    display: none;
}

/* Admin Sidebar */
.admin-sidebar {
    width: 260px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-header .logo-text {
    font-size: 18px;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 12px;
    overflow-y: auto;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-md);
    margin-bottom: 4px;
    transition: all var(--transition-fast);
    position: relative;
}

.sidebar-link:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--text-primary);
}

.sidebar-link.active {
    background: var(--accent-gradient);
    color: white;
}

.sidebar-link i {
    width: 20px;
    text-align: center;
}

.sidebar-badge {
    margin-left: auto;
    min-width: 22px;
    height: 22px;
    background: var(--accent-pink);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.sidebar-back {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-fast);
}

.sidebar-back:hover {
    color: var(--accent-purple);
}

/* Admin Main */
.admin-main {
    flex: 1;
    margin-left: 260px;
    min-height: 100vh;
    background: var(--bg-primary);
}

/* Admin Header */
.admin-header {
    height: 70px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.admin-search {
    position: relative;
    width: 300px;
}

.admin-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.admin-search input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
}

.admin-search input:focus {
    outline: none;
    border-color: var(--accent-purple);
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-user .user-role {
    font-size: 12px;
    color: var(--accent-purple);
    margin-left: -6px;
}

/* Admin Sections */
.admin-section {
    display: none;
    padding: 24px;
    animation: fadeIn 0.3s ease;
}

.admin-section.active {
    display: block;
}

.admin-section .section-header {
    margin-bottom: 24px;
    display: block;
}

.admin-section .section-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.admin-section .section-header p {
    color: var(--text-muted);
    font-size: 15px;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 16px;
    transition: all var(--transition-fast);
}

.primary-btn:hover {
    transform: translateY(-2px);
}

/* Stats Cards */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-card .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.stat-card.blue .stat-icon {
    background: rgba(6, 182, 212, 0.2);
    color: var(--accent-cyan);
}

.stat-card.purple .stat-icon {
    background: rgba(139, 92, 246, 0.2);
    color: var(--accent-purple);
}

.stat-card.green .stat-icon {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.stat-card.orange .stat-icon {
    background: rgba(249, 115, 22, 0.2);
    color: var(--accent-orange);
}

.stat-card .stat-info .stat-number {
    font-size: 28px;
    font-weight: 700;
    display: block;
    color: var(--text-primary);
}

.stat-card .stat-info .stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

/* Dashboard Cards */
.dashboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.dashboard-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-card h3 i {
    color: var(--accent-purple);
}

/* Chart Placeholder */
.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 150px;
    padding-top: 20px;
}

.chart-bars .bar {
    width: 30px;
    background: var(--accent-gradient);
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: height 0.3s ease;
}

.chart-bars .bar span {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: var(--text-muted);
}

.chart-bars .bar .bar-value {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-purple);
    bottom: auto;
}

/* Period Stats */
.period-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.period-stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border-color);
}

.period-stat-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.period-stat-card h4 i {
    color: var(--accent-purple);
}

.period-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.period-stat {
    text-align: center;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.period-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.period-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Recent Items */
.recent-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recent-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.recent-item img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.recent-info {
    flex: 1;
}

.recent-title {
    font-size: 14px;
    font-weight: 500;
    display: block;
}

.recent-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.recent-status {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.recent-status.pending {
    background: rgba(249, 115, 22, 0.2);
    color: var(--accent-orange);
}

.recent-status.approved {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

/* Moderation */
.moderation-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.mod-tab {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.mod-tab:hover,
.mod-tab.active {
    background: var(--accent-purple);
    color: white;
    border-color: var(--accent-purple);
}

.moderation-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.moderation-item {
    display: flex;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    align-items: center;
}

.mod-image img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.mod-info {
    flex: 1;
}

.mod-info h4 {
    font-size: 16px;
    margin-bottom: 6px;
}

.mod-info p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 10px;
}

.mod-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.mod-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mod-actions {
    display: flex;
    gap: 8px;
}

.mod-btn {
    padding: 10px 16px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition-fast);
}

.mod-btn.approve {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.mod-btn.approve:hover {
    background: #22c55e;
    color: white;
}

.mod-btn.reject {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.mod-btn.reject:hover {
    background: #ef4444;
    color: white;
}

.mod-btn.preview {
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

.mod-btn.preview:hover {
    background: var(--accent-purple);
    color: white;
}

/* Users Table */
.users-table-container {
    overflow-x: auto;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.users-table th,
.users-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.users-table th {
    background: var(--bg-secondary);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.users-table td {
    font-size: 14px;
}

.user-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.role-badge,
.status-badge {
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
}

.role-badge.admin {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.role-badge.moderator {
    background: rgba(249, 115, 22, 0.2);
    color: var(--accent-orange);
}

.role-badge.user {
    background: rgba(139, 92, 246, 0.2);
    color: var(--accent-purple);
}

.status-badge.active {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.status-badge.inactive {
    background: rgba(107, 107, 128, 0.2);
    color: var(--text-muted);
}

.table-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    margin-right: 4px;
    transition: all var(--transition-fast);
}

.table-btn:hover {
    background: var(--accent-purple);
    color: white;
}

.table-btn.delete:hover {
    background: #ef4444;
}

/* Content Management */
.content-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.content-tab {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.content-tab:hover,
.content-tab.active {
    background: var(--accent-purple);
    color: white;
    border-color: var(--accent-purple);
}

.content-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.content-search {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
}

.content-search:focus {
    outline: none;
    border-color: var(--accent-purple);
}

.content-filter {
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

/* Reports */
.reports-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.report-item {
    display: flex;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    align-items: center;
}

.report-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.report-icon.warning {
    background: rgba(249, 115, 22, 0.2);
    color: var(--accent-orange);
}

.report-icon.danger {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.report-info {
    flex: 1;
}

.report-info h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.report-info p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 6px;
}

.report-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.report-actions {
    display: flex;
    gap: 8px;
}

.report-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.report-btn.view:hover {
    background: var(--accent-purple);
    color: white;
    border-color: var(--accent-purple);
}

.report-btn.dismiss:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
}

/* Settings */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.settings-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.settings-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-card h3 i {
    color: var(--accent-purple);
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.setting-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.setting-item label:first-child {
    font-size: 13px;
    color: var(--text-muted);
}

.setting-item input[type="text"],
.setting-item input[type="number"],
.setting-item textarea {
    padding: 10px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
}

.setting-item input[type="color"] {
    width: 50px;
    height: 35px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.toggle {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 26px;
    transition: all var(--transition-fast);
}

.toggle-slider::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.toggle input:checked+.toggle-slider {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
}

.toggle input:checked+.toggle-slider::before {
    transform: translateX(24px);
    background: white;
}

.save-settings-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.25);
}

.save-settings-btn:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35);
}

.save-settings-btn i {
    font-size: 12px;
}

/* Admin Modal */
.admin-modal {
    background: var(--bg-modal);
    border-radius: var(--radius-xl);
    max-width: 450px;
    width: 100%;
    padding: 32px;
    position: relative;
    border: 1px solid var(--border-color);
}

.admin-modal h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-modal h2 i {
    color: var(--accent-purple);
}

/* Responsive Admin */
@media (max-width: 1200px) {
    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .admin-sidebar {
        width: 70px;
    }

    .sidebar-link span,
    .sidebar-header .logo-text,
    .sidebar-back span {
        display: none;
    }

    .sidebar-badge {
        position: absolute;
        top: 8px;
        right: 8px;
        min-width: 16px;
        height: 16px;
        font-size: 10px;
    }

    .admin-main {
        margin-left: 70px;
    }

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

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

    .moderation-item {
        flex-direction: column;
        text-align: center;
    }

    .mod-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Responsive for other pages */
@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .quick-buttons {
        grid-template-columns: 1fr;
    }

    .top10-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .upload-options {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   NOTIFICATION DROPDOWN
   ======================================== */
.notification-wrapper {
    position: relative;
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    width: 340px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-modal);
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.notification-dropdown.active {
    display: block;
    animation: fadeIn 0.2s ease;
}

.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.notif-header h4 {
    font-size: 16px;
    font-weight: 600;
}

.mark-read-btn {
    background: none;
    border: none;
    color: var(--accent-cyan);
    font-size: 12px;
    cursor: pointer;
}

.notif-list {
    max-height: 300px;
    overflow-y: auto;
}

.notif-item {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: background 0.2s;
}

.notif-item:hover {
    background: rgba(236, 72, 153, 0.15);
}

.notif-item.unread {
    background: rgba(236, 72, 153, 0.1);
}

.notif-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.notif-icon.like {
    background: rgba(236, 72, 153, 0.2);
    color: var(--accent-pink);
}

.notif-icon.comment {
    background: rgba(6, 182, 212, 0.2);
    color: var(--accent-cyan);
}

.notif-icon.approve {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.notif-content p {
    font-size: 14px;
    margin-bottom: 4px;
}

.notif-time {
    font-size: 12px;
    color: var(--text-muted);
}

.notif-see-all {
    display: block;
    text-align: center;
    padding: 14px;
    color: var(--accent-purple);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-top: 1px solid var(--border-color);
}

.notif-see-all:hover {
    background: rgba(139, 92, 246, 0.1);
}

.notif-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--text-muted);
    text-align: center;
}

.notif-empty i {
    font-size: 32px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.notif-empty p {
    font-size: 14px;
}

.notif-footer {
    display: block;
    text-align: center;
    padding: 14px;
    color: var(--accent-purple);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-top: 1px solid var(--border-color);
}

.notif-footer:hover {
    background: rgba(139, 92, 246, 0.1);
}

.notif-header button {
    background: none;
    border: none;
    color: var(--accent-cyan);
    font-size: 12px;
    cursor: pointer;
    transition: color 0.2s;
}

.notif-header button:hover {
    color: var(--accent-purple);
}

/* ========================================
   FORUM PAGE STYLES
   ======================================== */
.forum-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px;
}

.forum-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.forum-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.forum-icon {
    width: 40px;
    height: 40px;
    background: rgba(249, 115, 22, 0.2);
    color: var(--accent-orange);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.forum-header h1 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.forum-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.forum-search {
    position: relative;
}

.forum-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.forum-search input {
    padding: 10px 16px 10px 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    width: 200px;
}

.new-post-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.new-post-btn:hover {
    transform: translateY(-2px);
}

.forum-controls {
    margin-bottom: 16px;
}

.sort-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
}

.section-label {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin: 20px 0 12px;
}

/* Forum Posts */
.forum-post {
    display: flex;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.forum-post:hover {
    border-color: var(--accent-purple);
    transform: translateX(4px);
}

.forum-post.pinned {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-color: var(--accent-purple);
}

.post-pin-icon {
    color: var(--accent-purple);
    font-size: 14px;
}

.post-content {
    flex: 1;
}

.post-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.verified {
    color: #22c55e;
    margin-left: 6px;
}

.post-tags {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.tag {
    color: var(--accent-pink);
    font-weight: 500;
}

.tag-link {
    color: var(--accent-cyan);
}

.tag-unknown {
    color: var(--text-muted);
    font-style: italic;
}

.edited {
    color: var(--text-muted);
    font-size: 11px;
}

.post-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.post-meta i {
    margin-right: 4px;
}

.post-thumbnail {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: var(--accent-gradient);
    color: white;
    font-size: 8px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Forum Modal */
.forum-modal {
    max-width: 500px;
}

.forum-modal h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.forum-modal h2 i {
    color: var(--accent-purple);
}

/* Post Detail Modal */
.post-detail-modal {
    max-width: 600px;
}

.post-detail-header {
    margin-bottom: 16px;
}

.post-detail-header h2 {
    font-size: 22px;
    margin-bottom: 4px;
}

.post-detail-meta {
    font-size: 13px;
    color: var(--text-muted);
}

.post-detail-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 16px;
}

.post-detail-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.post-detail-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

/* Comments */
.comments-section h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    margin-bottom: 16px;
}

.comments-section h4 i {
    color: var(--accent-purple);
}

.comment-input {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.comment-input input {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
}

.comment-image-btn,
.comment-send-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.comment-image-btn:hover {
    background: var(--accent-cyan);
    color: white;
    border-color: var(--accent-cyan);
}

.comment-send-btn:hover {
    background: var(--accent-purple);
    color: white;
    border-color: var(--accent-purple);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 300px;
    overflow-y: auto;
}

.comment {
    display: flex;
    gap: 12px;
}

.comment-avatar {
    width: 36px;
    height: 36px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.comment-body {
    flex: 1;
    background: var(--bg-secondary);
    padding: 12px;
    border-radius: var(--radius-md);
}

.comment-author {
    font-weight: 600;
    font-size: 13px;
    display: block;
    margin-bottom: 4px;
}

.comment-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.comment-image {
    max-width: 200px;
    border-radius: var(--radius-sm);
    margin: 8px 0;
}

.comment-time {
    font-size: 11px;
    color: var(--text-muted);
}

/* Modal fix for forum page */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal.active {
    display: flex;
}

/* ========================================
   LOGIN PAGE STYLES
   ======================================== */
.login-body {
    background: linear-gradient(180deg, var(--bg-primary) 0%, #0d0d15 100%);
    min-height: 100vh;
}

.login-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
}

.login-header-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* Hero */
.login-hero {
    text-align: center;
    padding: 160px 20px 80px;
    max-width: 700px;
    margin: 0 auto;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.hero-btn.primary {
    background: var(--accent-gradient);
    color: white;
    border: none;
}

.hero-btn.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.hero-btn:hover {
    transform: translateY(-2px);
}

/* Features */
.features-section {
    padding: 80px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.2s;
}

.feature-card:hover {
    border-color: var(--accent-purple);
    transform: translateY(-4px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.feature-icon.purple {
    background: rgba(139, 92, 246, 0.2);
    color: var(--accent-purple);
}

.feature-icon.cyan {
    background: rgba(6, 182, 212, 0.2);
    color: var(--accent-cyan);
}

.feature-icon.pink {
    background: rgba(236, 72, 153, 0.2);
    color: var(--accent-pink);
}

.feature-icon.green {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.feature-icon.orange {
    background: rgba(249, 115, 22, 0.2);
    color: var(--accent-orange);
}

.feature-icon.red {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Stats */
.stats-section {
    padding: 60px 20px;
    text-align: center;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.stat-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px 40px;
    min-width: 140px;
}

.stat-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Best of Week */
.best-week-section {
    padding: 60px 20px;
    max-width: 700px;
    margin: 0 auto;
}

.best-week-card {
    display: flex;
    gap: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    align-items: center;
}

.best-week-image {
    width: 120px;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.best-week-info {
    flex: 1;
}

.best-week-badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.best-week-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--accent-pink);
}

.best-week-creator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.best-week-creator .creator-avatar {
    width: 28px;
    height: 28px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
}

.best-week-stats {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.best-week-stats i {
    margin-right: 4px;
}

/* Login Form */
.login-section {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    max-width: 400px;
    width: 100%;
}

.login-card h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-card h2 i {
    color: var(--accent-purple);
}

.login-card>p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.login-card .form-group {
    margin-bottom: 20px;
}

.login-card .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.login-card .form-group label i {
    color: var(--accent-purple);
}

.login-card .form-group input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
}

.login-card .form-group input:focus {
    border-color: var(--accent-purple);
    outline: none;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 13px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.remember-me input {
    accent-color: var(--accent-purple);
}

.forgot-password {
    color: var(--accent-purple);
    text-decoration: none;
}

.login-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.login-submit-btn:hover {
    transform: translateY(-2px);
}

.register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.register-link a {
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 500;
}

.login-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 12px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    font-size: 14px;
    display: none;
}

.login-footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 13px;
}

/* ========================================
   FORUM SPLIT LAYOUT
   ======================================== */
.forum-body {
    overflow: hidden;
}

.forum-layout {
    display: flex;
    height: 100vh;
}

/* Forum Sidebar */
.forum-sidebar {
    width: 420px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.forum-sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.back-btn:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.forum-title-icon {
    width: 32px;
    height: 32px;
    background: rgba(249, 115, 22, 0.2);
    color: var(--accent-orange);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.forum-title-text {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.forum-search-bar {
    padding: 12px 16px;
}

.forum-search-bar input {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 13px;
}

.new-topic-btn {
    margin: 0 16px 12px;
    padding: 10px 16px;
    background: #22c55e;
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.forum-sort {
    padding: 0 16px 12px;
}

.sort-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
}

/* Topics List */
.topics-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 8px;
}

.topics-divider {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
    padding: 16px 8px 8px;
}

.topic-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.15s;
    align-items: flex-start;
}

.topic-item:hover {
    background: var(--bg-card);
}

.topic-item.active {
    background: rgba(139, 92, 246, 0.15);
    border-left: 3px solid var(--accent-purple);
}

.topic-item.pinned {
    background: rgba(139, 92, 246, 0.08);
}

.topic-pin {
    color: var(--accent-purple);
    font-size: 12px;
    margin-top: 4px;
}

.topic-info {
    flex: 1;
    min-width: 0;
}

.topic-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topic-info p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tag-pink {
    color: var(--accent-pink);
    font-weight: 500;
}

.tag-link {
    color: var(--accent-cyan);
}

.topic-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--text-muted);
}

.topic-thumb {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

/* Forum Content - Chat View */
.forum-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
}

.chat-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.chat-header-info {
    flex: 1;
    font-size: 12px;
    color: var(--text-muted);
}

.chat-actions {
    display: flex;
    gap: 8px;
}

.chat-action-btn {
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Chat Messages */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.chat-message {
    display: flex;
    gap: 16px;
}

.msg-avatar {
    width: 44px;
    height: 44px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.msg-content {
    flex: 1;
}

.msg-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.msg-user {
    font-weight: 600;
    font-size: 14px;
}

.msg-tag {
    font-size: 11px;
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
}

.msg-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.msg-image {
    max-width: 300px;
    max-height: 400px;
    border-radius: var(--radius-md);
    margin-bottom: 8px;
}

.msg-time {
    font-size: 11px;
    color: var(--text-muted);
}

/* Chat Input */
.chat-input-area {
    display: flex;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.chat-attach-btn {
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s;
}

.chat-attach-btn:hover {
    background: var(--accent-purple);
    color: white;
    border-color: var(--accent-purple);
}

.chat-input-area input {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
}

.chat-send-btn {
    width: 44px;
    height: 44px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* ========================================
   ADMIN CONTENT CARDS
   ======================================== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.content-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.2s;
}

.content-card:hover {
    border-color: var(--accent-purple);
    transform: translateY(-2px);
}

.content-card-image {
    position: relative;
    height: 180px;
}

.content-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pin-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.content-card-info {
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-title {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.content-card-actions {
    display: flex;
    gap: 8px;
    padding: 0 12px 12px;
}

.table-btn.pinned {
    background: var(--accent-purple);
    color: white;
    border-color: var(--accent-purple);
}

/* Sort Dropdown */
.forum-sort {
    position: relative;
}

.sort-dropdown {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px;
    display: none;
    z-index: 100;
}

.sort-dropdown.active {
    display: block;
}

.sort-dropdown button {
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.15s;
}

.sort-dropdown button:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* Lock Button */
.lock-btn {
    background: var(--bg-card) !important;
}

.lock-btn.locked {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #ef4444 !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}

/* Disabled Chat Input */
.chat-input-area.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.chat-input-area.disabled input {
    cursor: not-allowed;
}

/* ========================================
   USER SETTINGS MODAL
   ======================================== */
.settings-modal-content {
    max-width: 500px;
}

.settings-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.settings-tab {
    padding: 8px 16px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.settings-tab:hover,
.settings-tab.active {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.settings-panel {
    display: none;
}

.settings-panel.active {
    display: block;
}

.avatar-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.current-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    background-size: cover;
    background-position: center;
}

.change-avatar-btn {
    padding: 10px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.change-avatar-btn:hover {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
}

.avatar-hint {
    font-size: 12px;
    color: var(--text-muted);
}

/* Featured Card Overlay */
.featured-card {
    position: relative;
}

.featured-overlay,
.top10-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.featured-title,
.top10-title {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.featured-stats,
.top10-stats {
    font-size: 11px;
    opacity: 0.8;
}

/* No Content Message */
.no-content {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* ========================================
   GLOBAL SEARCH RESULTS
   ======================================== */
.global-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-top: 8px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: var(--shadow-lg);
}

.search-category {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.search-category:last-child {
    border-bottom: none;
}

.search-category h4 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.search-category h4 i {
    margin-right: 6px;
    color: var(--accent-purple);
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.15s;
}

.search-result-item:hover {
    background: var(--bg-secondary);
}

.search-result-item .user-avatar {
    width: 32px;
    height: 32px;
    font-size: 12px;
}

.search-result-item .search-thumb {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.search-result-item span {
    flex: 1;
}

.search-result-item .role-badge,
.search-result-item .status-badge {
    font-size: 10px;
    padding: 2px 6px;
}

.no-results {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* Admin search bar position */
.search-bar {
    position: relative;
}

/* ========================================
   NOTIFICATIONS PAGE
   ======================================== */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    width: 100%;
}

.page-header {
    margin-bottom: 32px;
    text-align: center;
}

.page-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.page-header h1 i {
    color: var(--accent-purple);
    margin-right: 0;
}

.page-header p {
    color: var(--text-secondary);
}

.notifications-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.notifications-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    justify-content: center;
}

.action-btn {
    padding: 10px 20px;
    background: var(--accent-purple);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn:hover {
    background: var(--accent-pink);
    transform: translateY(-2px);
}

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

.action-btn.secondary:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ef4444;
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.2s;
}

.notification-card:hover {
    border-color: var(--accent-purple);
}

.notification-card.unread {
    background: rgba(139, 92, 246, 0.05);
    border-color: var(--accent-purple);
}

.notification-card .notif-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.notification-card .notif-icon.like {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.notification-card .notif-icon.comment {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.notification-card .notif-icon.approve {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.notif-body {
    flex: 1;
}

.notif-message {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.notif-time {
    font-size: 12px;
    color: var(--text-muted);
}

.notif-time i {
    margin-right: 4px;
}

.notif-delete {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s;
}

.notif-delete:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.empty-state p {
    font-size: 14px;
}

/* Share Button & Cleanliness */
.topic-share-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    transition: color 0.2s;
}

.topic-share-btn:hover {
    color: var(--accent-purple);
}

.no-messages {
    text-align: center;
    color: var(--text-muted);
    padding: 40px;
    font-style: italic;
}


/* Profile Anchor Fix */
#profile {
    scroll-margin-top: 100px;
}


/* Empty State */
.no-content-full {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    color: var(--text-muted);
    font-size: 18px;
    width: 100%;
}

/* Admin Settings Two-Column Layout */
.settings-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.settings-column-left,
.settings-column-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.settings-footer {
    display: flex;
    justify-content: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 16px;
}

.save-settings-btn {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.save-settings-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

@media (max-width: 968px) {
    .settings-layout {
        grid-template-columns: 1fr;
    }
}