/* ═══════════════════════════════════════════
   NonscapeX  –  Glassmorphism Tema
   Ana Stil Dosyası
   ═══════════════════════════════════════════ */

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

/* ── CSS Değişkenleri (Dark - Varsayılan) ── */
:root,
[data-theme="dark"] {
    --bg-primary:     #0f172a;
    --bg-secondary:   #1e293b;
    --bg-glass:       rgba(255, 255, 255, 0.04);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);
    --border-glass:   rgba(255, 255, 255, 0.08);
    --border-accent:  rgba(99, 102, 241, 0.4);

    --text-primary:   #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted:     #64748b;

    --accent:         #6366f1;
    --accent-light:   #818cf8;
    --accent-glow:    rgba(99, 102, 241, 0.25);

    --success:        #10b981;
    --warning:        #f59e0b;
    --danger:         #ef4444;
    --info:           #06b6d4;
    --state-verified:  #2563eb;

    --radius-sm:      8px;
    --radius-md:      12px;
    --radius-lg:      16px;
    --radius-xl:      24px;

    --blur:           16px;
    --transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Light Tema ── */
[data-theme="light"] {
    --bg-primary:     #f0f2f5;
    --bg-secondary:   #ffffff;
    --bg-glass:       rgba(255, 255, 255, 0.7);
    --bg-glass-hover: rgba(255, 255, 255, 0.85);
    --border-glass:   rgba(0, 0, 0, 0.08);
    --border-accent:  rgba(99, 102, 241, 0.3);

    --text-primary:   #1e293b;
    --text-secondary: #475569;
    --text-muted:     #94a3b8;

    --accent:         #6366f1;
    --accent-light:   #4f46e5;
    --accent-glow:    rgba(99, 102, 241, 0.15);
}

[data-theme="light"] body::before {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(236, 72, 153, 0.03) 0%, transparent 50%);
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.8);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

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

[data-theme="light"] .modal-box,
[data-theme="light"] .confirm-box {
    background: #ffffff;
}

[data-theme="light"] .data-table td {
    border-bottom-color: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .badge-admin  { background: rgba(239, 68, 68, 0.08); }
[data-theme="light"] .badge-verified { background: rgba(59, 130, 246, 0.12); }
[data-theme="light"] .badge-user   { background: rgba(100, 116, 139, 0.08); }
[data-theme="light"] .badge-bot    { background: rgba(139, 92, 246, 0.1); }

/* ── Nav Dropdown (Dil Seçici) ── */
.nav-dropdown {
    position: relative;
}
.nav-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    background: none;
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.nav-dropdown-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
}
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 100px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 6px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.nav-dropdown-menu.show {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}
.nav-dropdown-menu a {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    transition: var(--transition);
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-light);
}

/* ── Reset & Base ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
    animation: bgShift 20s ease-in-out infinite alternate;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

@keyframes bgShift {
    0%   { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-3%, -3%) rotate(3deg); }
}

a {
    color: var(--accent-light);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: #a5b4fc;
}

/* ══════════════════════════════════════════
   GLASS CARD
   ══════════════════════════════════════════ */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}
.glass:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-accent);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.08);
}

/* ══════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 0 2rem;
}
.navbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}
.navbar-brand img {
    height: 32px;
    width: 32px;
    border-radius: 8px;
}
.navbar-brand span.accent {
    color: var(--accent-light);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}
.nav-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
}
.nav-links a.active {
    color: var(--accent-light);
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
}
.badge-danger {
    background: var(--danger);
    color: #fff;
    animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
    50%      { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}

.badge-role {
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-admin    { background: rgba(239, 68, 68, 0.15);  color: #dc2626; border: 1px solid rgba(239,68,68,0.2); }
.badge-creator  { background: rgba(245, 158, 11, 0.15); color: #f59e0b; border: 1px solid rgba(245,158,11,0.2); }
.badge-verified { background: rgba(59, 130, 246, 0.15); color: #2563eb; border: 1px solid rgba(59,130,246,0.2); }
.badge-verified.badge-icon {
    display: inline-block;
    width: 0.9em;
    height: 0.9em;
    max-width: 18px;
    max-height: 18px;
    min-width: 14px;
    min-height: 14px;
    background-image: url('bluetick.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    margin-left: 5px;
    border: none !important;
    background-color: transparent !important;
    padding: 0 !important;
}
.profile-header h2 .badge-verified.badge-icon {
    width: 22px;
    height: 22px;
    max-width: 22px;
    max-height: 22px;
}
.badge-user     { background: rgba(148, 163, 184, 0.1); color: #94a3b8; border: 1px solid rgba(148,163,184,0.15); }
.badge-bot    { background: rgba(139, 92, 246, 0.15); color: #c084fc; border: 1px solid rgba(139,92,246,0.2); }
.badge-banned { background: rgba(239, 68, 68, 0.1);   color: #ef4444; border: 1px solid rgba(239,68,68,0.15); }

/* Mobile hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* User menu */
.nav-user {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-user .user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid var(--border-accent);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    background: var(--accent);
    color: #fff;
}
.nav-user .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Search Bar ── */
.search-bar {
    display: flex;
    align-items: center;
    position: relative;
    flex: 0 1 340px;
}
.search-bar .search-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 0.85rem;
    pointer-events: none;
}
.search-bar .search-input {
    width: 100%;
    padding: 9px 16px 9px 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition);
}
.search-bar .search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: rgba(255, 255, 255, 0.07);
}
.search-bar .search-input::placeholder {
    color: var(--text-muted);
}

/* ── Toast Popup Notifications ── */
.toast-container {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 5000;
    pointer-events: none;
}
.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    min-width: 320px;
    max-width: 440px;
    pointer-events: all;
    animation: toastIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid;
}
.toast.toast-out {
    animation: toastOut 0.4s ease forwards;
}
.toast-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}
.toast-body {
    font-size: 0.88rem;
    font-weight: 500;
    flex: 1;
}
.toast-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    opacity: 0.6;
    font-size: 0.9rem;
    padding: 4px;
    transition: var(--transition);
}
.toast-close:hover { opacity: 1; }

.toast-success {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.25);
}
.toast-error {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.25);
}
.toast-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.25);
}
.toast-info {
    background: rgba(6, 182, 212, 0.15);
    color: #22d3ee;
    border-color: rgba(6, 182, 212, 0.25);
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(40px) scale(0.95); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes toastOut {
    from { opacity: 1; transform: translateX(0) scale(1); }
    to   { opacity: 0; transform: translateX(40px) scale(0.9); }
}

/* ── Custom Confirm Dialog ── */
.confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    z-index: 6000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}
.confirm-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 32px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    animation: modalIn 0.3s ease;
}
.confirm-box .confirm-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}
.confirm-box h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.confirm-box p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 24px;
}
.confirm-box .confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Verified Message Card ── */
.message-icon.msg-verified {
    background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(37,99,235,0.12));
    color: #2563eb;
}

/* ══════════════════════════════════════════
   LAYOUT
   ══════════════════════════════════════════ */
main {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.page-header {
    margin-bottom: 2rem;
}
.page-header h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-header p {
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ── Flash Messages ── */
.flash {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.4s ease;
    border: 1px solid;
}
.flash-success { background: rgba(16,185,129,0.1); color: #34d399; border-color: rgba(16,185,129,0.2); }
.flash-error   { background: rgba(239,68,68,0.1);  color: #f87171; border-color: rgba(239,68,68,0.2);  }
.flash-warning { background: rgba(245,158,11,0.1); color: #fbbf24; border-color: rgba(245,158,11,0.2); }
.flash-info    { background: rgba(6,182,212,0.1);   color: #22d3ee; border-color: rgba(6,182,212,0.2);  }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════
   CATEGORY FILTER BAR
   ══════════════════════════════════════════ */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.filter-btn {
    padding: 7px 18px;
    border-radius: 20px;
    border: 1px solid var(--border-glass);
    background: var(--bg-glass);
    backdrop-filter: blur(8px);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 16px var(--accent-glow);
}

/* ══════════════════════════════════════════
   TOPIC LIST (DASHBOARD)
   ══════════════════════════════════════════ */
.topic-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.topic-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
}
.topic-card:hover {
    transform: translateX(4px);
}
.topic-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
    overflow: hidden;
}
.topic-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.topic-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.topic-info h3 a {
    color: var(--text-primary);
}
.topic-info h3 a:hover {
    color: var(--accent-light);
}
.topic-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.topic-meta a {
    color: var(--text-secondary);
}
.topic-meta a:hover {
    color: var(--accent-light);
}
.topic-stats {
    display: flex;
    gap: 20px;
    text-align: center;
    flex-shrink: 0;
}
.topic-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.topic-stat .number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}
.topic-stat .label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-tag {
    display: inline-flex;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.pinned-icon {
    color: var(--warning);
    font-size: 0.8rem;
}

/* ══════════════════════════════════════════
   TOPIC DETAIL PAGE
   ══════════════════════════════════════════ */
.topic-detail {
    margin-bottom: 2rem;
}
.topic-detail .topic-header {
    padding: 32px;
}
.topic-detail .topic-header h1 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}
.topic-detail .topic-body {
    padding: 0 32px 32px;
    line-height: 1.8;
    color: var(--text-secondary);
    white-space: pre-wrap;
    word-break: break-word;
}

.topic-author-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-glass);
    margin-bottom: 20px;
}
.topic-author-card .author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    flex-shrink: 0;
    overflow: hidden;
}
.topic-author-card .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.topic-author-card .author-info h4 {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.topic-author-card .author-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── Replies ── */
.replies-section h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.reply-card {
    padding: 20px 24px;
    margin-bottom: 12px;
}
.reply-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.reply-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    flex-shrink: 0;
    overflow: hidden;
}
.reply-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.reply-author {
    font-weight: 600;
    font-size: 0.9rem;
}
.reply-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-left: auto;
}
.reply-body {
    color: var(--text-secondary);
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
}
.reply-actions {
    margin-top: 10px;
    display: flex;
    gap: 12px;
}

/* ══════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════ */
.form-group {
    margin-bottom: 1.2rem;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
}
.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: rgba(255, 255, 255, 0.06);
}
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}
select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}
select.form-control option,
select.form-control optgroup {
    color: var(--text-primary);
    background: var(--bg-secondary);
}
select.form-control option:checked {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}
::selection {
    background: rgba(99, 102, 241, 0.35);
    color: var(--text-primary);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border: none;
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    color: #fff;
    box-shadow: 0 4px 16px var(--accent-glow);
}
.btn-primary:hover {
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.35);
    transform: translateY(-1px);
    color: #fff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    border: 1px solid var(--border-glass);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}
.btn-danger:hover {
    background: rgba(239, 68, 68, 0.2);
}

.btn-success {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.btn-success:hover {
    background: rgba(16, 185, 129, 0.2);
}

.btn-warning {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.2);
}
.btn-warning:hover {
    background: rgba(245, 158, 11, 0.2);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.78rem;
    border-radius: var(--radius-sm);
}

.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 10px;
}

/* ══════════════════════════════════════════
   AUTH PAGES
   ══════════════════════════════════════════ */
.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 64px);
    padding: 2rem;
}
.auth-card {
    width: 100%;
    max-width: 440px;
    padding: 40px;
}
.auth-card h2 {
    font-size: 1.6rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}
.auth-card .subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ══════════════════════════════════════════
   PROFILE PAGE
   ══════════════════════════════════════════ */
.profile-header {
    padding: 40px;
    text-align: center;
    position: relative;
}
.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 2.2rem;
    color: #fff;
    border: 3px solid var(--border-accent);
    overflow: hidden;
    position: relative;
}
.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.profile-header .bio {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 6px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.profile-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 24px;
}
.profile-stat {
    text-align: center;
}
.profile-stat .number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-light);
}
.profile-stat .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.avatar-upload {
    margin-top: 12px;
}
.avatar-upload label {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
}
.avatar-upload label:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
}
.avatar-upload input[type="file"] {
    display: none;
}

/* ══════════════════════════════════════════
   INBOX
   ══════════════════════════════════════════ */
.message-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.message-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
}
.message-card.unread {
    border-left: 3px solid var(--accent);
    background: rgba(99,102,241,0.04);
}
.message-card.unread .message-subject {
    font-weight: 700;
    color: var(--text-primary);
}
.message-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.message-icon.msg-warning     { background: rgba(245,158,11,0.1);  color: var(--warning); }
.message-icon.msg-announcement{ background: rgba(99,102,241,0.1);  color: var(--accent-light); }
.message-icon.msg-system      { background: rgba(6,182,212,0.1);   color: var(--info); }
.message-icon.msg-message     { background: rgba(148,163,184,0.08);color: var(--text-secondary); }

.message-subject {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 2px;
}
.message-preview {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 500px;
}
.message-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}
.message-detail {
    padding: 32px;
}
.message-detail h2 {
    font-size: 1.2rem;
    margin-bottom: 16px;
}
.message-detail .body {
    color: var(--text-secondary);
    line-height: 1.7;
    white-space: pre-wrap;
}

/* ══════════════════════════════════════════
   ADMIN PANEL
   ══════════════════════════════════════════ */
.admin-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    min-height: calc(100vh - 140px);
}
.admin-sidebar {
    padding: 20px 0;
}
.admin-sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    margin-bottom: 4px;
}
.admin-sidebar a:hover,
.admin-sidebar a.active {
    color: var(--text-primary);
    background: rgba(255,255,255,0.06);
}
.admin-sidebar a.active {
    color: var(--accent-light);
    border-left: 3px solid var(--accent);
}
.admin-content {
    padding: 24px;
}
.admin-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Admin tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
}
.data-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-glass);
}
.data-table td {
    padding: 14px 16px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.data-table tr:hover td {
    background: rgba(255,255,255,0.02);
}
.data-table .user-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}
.data-table .mini-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: #fff;
    flex-shrink: 0;
    overflow: hidden;
}
.data-table .mini-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ══════════════════════════════════════════
   NOVA AI CHATBOT
   ══════════════════════════════════════════ */
.nova-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    box-shadow: 0 4px 24px var(--accent-glow);
    transition: var(--transition);
}
.nova-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 32px rgba(99,102,241,0.4);
}
.nova-toggle.open {
    border-radius: 50%;
    transform: rotate(180deg);
}

.nova-panel {
    position: fixed;
    bottom: 24px;
    right: 90px;
    width: 380px;
    height: 520px;
    border-radius: var(--radius-xl);
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    z-index: 1999;
    display: flex;
    flex-direction: column;
    transform: translateX(20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.nova-panel.open {
    transform: translateX(0) scale(1);
    opacity: 1;
    pointer-events: all;
}
.nova-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    gap: 12px;
}
.nova-header .nova-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    animation: novaPulse 3s ease-in-out infinite;
}
@keyframes novaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(99,102,241,0.4); }
    50%      { box-shadow: 0 0 0 8px rgba(99,102,241,0); }
}
.nova-header h3 {
    font-size: 1rem;
    font-weight: 700;
}
.nova-header p {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.nova-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.nova-messages::-webkit-scrollbar {
    width: 4px;
}
.nova-messages::-webkit-scrollbar-thumb {
    background: var(--border-glass);
    border-radius: 4px;
}

.nova-msg {
    max-width: 85%;
    padding: 10px 16px;
    border-radius: 14px;
    font-size: 0.85rem;
    line-height: 1.5;
    animation: msgIn 0.3s ease;
}
@keyframes msgIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.nova-msg.ai {
    align-self: flex-start;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    border-bottom-left-radius: 4px;
}
.nova-msg.user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.nova-typing {
    display: flex;
    gap: 4px;
    padding: 10px 16px;
    align-self: flex-start;
}
.nova-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: typingDot 1.4s ease-in-out infinite;
}
.nova-typing span:nth-child(2) { animation-delay: 0.2s; }
.nova-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

.nova-input {
    padding: 16px 20px;
    border-top: 1px solid var(--border-glass);
    display: flex;
    gap: 10px;
}
.nova-input input {
    flex: 1;
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition);
}
.nova-input input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-glow);
}
.nova-input button {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}
.nova-input button:hover {
    transform: scale(1.05);
}

/* ══════════════════════════════════════════
   NEW TOPIC FORM
   ══════════════════════════════════════════ */
.new-topic-section {
    padding: 32px;
    margin-bottom: 1.5rem;
}

/* ══════════════════════════════════════════
   REPORT MODAL
   ══════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal-box {
    width: 90%;
    max-width: 480px;
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-glass);
    animation: modalIn 0.3s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-box h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* ══════════════════════════════════════════
   EMPTY STATE
   ══════════════════════════════════════════ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.empty-state .icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.4;
}
.empty-state h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.empty-state p {
    font-size: 0.88rem;
}

/* ══════════════════════════════════════════
   PAGINATION
   ══════════════════════════════════════════ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 2rem;
}
.pagination a,
.pagination span {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    transition: var(--transition);
}
.pagination a:hover { background: rgba(255,255,255,0.06); color: var(--text-primary); }
.pagination .current {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* ══════════════════════════════════════════
   SCROLLBAR
   ══════════════════════════════════════════ */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--border-glass);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.15);
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
    .navbar { padding: 0 1rem; }
    .search-bar { display: none; }
    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--border-glass);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-toggle { display: block; }

    .container { padding: 1rem; }
    .page-header h1 { font-size: 1.5rem; }

    .topic-card {
        grid-template-columns: auto 1fr;
        gap: 12px;
        padding: 16px;
    }
    .topic-stats { display: none; }

    .admin-grid {
        grid-template-columns: 1fr;
    }
    .admin-sidebar {
        display: flex;
        overflow-x: auto;
        gap: 4px;
        padding: 12px;
    }
    .admin-sidebar a {
        white-space: nowrap;
        padding: 8px 14px;
    }

    .nova-panel {
        width: calc(100vw - 32px);
        right: 16px;
        height: 60vh;
    }

    .profile-stats { gap: 24px; }

    .data-table {
        display: block;
        overflow-x: auto;
    }

    .toast-container {
        top: auto;
        bottom: 24px;
        right: 16px;
        left: 16px;
    }

    .toast {
        min-width: auto;
        width: 100%;
    }

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

    .profile-drawer {
        right: 8px;
        left: 8px;
        width: auto;
    }
}

@media (max-width: 480px) {
    .auth-card { padding: 24px; }
    .filter-bar { gap: 6px; }
    .filter-btn { padding: 6px 12px; font-size: 0.75rem; }
}

/* ══════════════════════════════════════════
   LIKE BUTTON
   ══════════════════════════════════════════ */
.btn-like {
    transition: var(--transition);
}
.btn-like:hover {
    transform: scale(1.1);
}
.btn-like.liked {
    color: var(--danger) !important;
    background: rgba(239, 68, 68, 0.1) !important;
}

/* ══════════════════════════════════════════
   ONLINE STATUS
   ══════════════════════════════════════════ */
.online-status {
    display: inline-block;
    color: #10b981;
    font-size: 0.6rem;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.offline-status {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.6rem;
}

/* ══════════════════════════════════════════
   SPOILER TAGS
   ══════════════════════════════════════════ */
.spoiler {
    cursor: pointer;
    background: rgba(139, 92, 246, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: var(--transition);
}
.spoiler:hover {
    background: rgba(139, 92, 246, 0.3);
}
.spoiler .spoiler-content {
    color: transparent;
    user-select: none;
    background: rgba(100, 100, 100, 0.3);
    transition: var(--transition);
}
.spoiler.revealed .spoiler-content {
    color: inherit;
    background: transparent;
    user-select: text;
}

/* ══════════════════════════════════════════
   SYNTAX HIGHLIGHTING
   ══════════════════════════════════════════ */
pre {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 16px !important;
    overflow-x: auto;
}
code {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}
pre code {
    background: transparent !important;
    color: #f1f5f9 !important;
}

/* ══════════════════════════════════════════
   PROFILE DRAWER (Navbar User Menu)
   ══════════════════════════════════════════ */
.nav-user-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.profile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-glass);
    padding: 0;
    z-index: 2500;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
.profile-drawer.active {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
}

.drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2499;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.drawer-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.drawer-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 40px 24px 24px;
    border-bottom: 1px solid var(--border-glass);
}
.drawer-header strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}
.drawer-header span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.drawer-avatar {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    color: #fff;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid var(--border-accent);
}

.drawer-links {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.drawer-links a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}
.drawer-links a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    transform: translateX(4px);
}

.drawer-section {
    padding: 24px;
    border-top: 1px solid var(--border-glass);
}
.drawer-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.drawer-lang-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.drawer-lang-row a {
    flex: 1;
    min-width: 80px;
    text-align: center;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid var(--border-glass);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition);
}
.drawer-lang-row a:hover, .drawer-lang-row a.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.drawer-theme-row {
    display: flex;
    gap: 12px;
}
.drawer-theme-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid var(--border-glass);
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
}
.drawer-theme-btn:hover, .drawer-theme-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.drawer-logout {
    margin-top: auto;
    padding: 24px;
    border-top: 1px solid var(--border-glass);
}
.drawer-logout a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border-radius: var(--radius-md);
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    font-weight: 600;
    transition: var(--transition);
}
.drawer-logout a:hover {
    background: #ef4444;
    color: white;
}

.drawer-lang-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.drawer-theme-row {
    display: flex;
    gap: 8px;
}
.drawer-theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border-glass);
    background: rgba(255,255,255,0.03);
    transition: var(--transition);
    flex: 1;
    justify-content: center;
}
.drawer-theme-btn:hover {
    background: rgba(255,255,255,0.06);
    color: var(--text-primary);
}
.drawer-theme-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 2px 12px var(--accent-glow);
}

.drawer-logout {
    padding: 8px;
    border-top: 1px solid var(--border-glass);
}
.drawer-logout a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: #f87171;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}
.drawer-logout a:hover {
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
}
.drawer-logout a i {
    width: 18px;
    text-align: center;
}

/* ══════════════════════════════════════════
   SETTINGS PAGE
   ══════════════════════════════════════════ */
.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}
.settings-panel {
    padding: 0;
    overflow: hidden;
}
.settings-card {
    padding: 28px;
    border-bottom: 1px solid var(--border-glass);
}
.settings-card:last-child {
    border-bottom: none;
}
.settings-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}
.settings-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.settings-card-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
}
.settings-card-header p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 2px;
}
.divider {
    height: 1px;
    background: var(--border-glass);
    margin: 24px 0;
}

/* ══════════════════════════════════════════
   OAUTH DIVIDER
   ══════════════════════════════════════════ */
.oauth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
}
.oauth-divider::before,
.oauth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-glass);
}

/* ══════════════════════════════════════════
   FOOTER ENHANCEMENTS
   ══════════════════════════════════════════ */
.cookie-consent {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Report Modal Enhancements */
.modal-content {
    padding: 28px;
    border-radius: var(--radius-xl);
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.modal-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    line-height: 1;
}
.modal-close:hover {
    background: rgba(255,255,255,0.06);
    color: var(--text-primary);
}

/* ── Admin Kullanıcı Yönetimi ── */
.admin-filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
}

.admin-filter-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 150px;
}

.admin-filter-item.search-item {
    flex: 2;
    min-width: 200px;
}

.admin-filter-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-filter-input, .admin-filter-select {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition);
}

.admin-filter-input:focus, .admin-filter-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: rgba(255, 255, 255, 0.08);
}

.admin-filter-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.admin-filter-btn {
    align-self: flex-end;
    height: 40px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Admin Actions Dropdown */
.admin-actions-wrapper {
    position: relative;
    display: inline-block;
}

.admin-actions-trigger {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.admin-actions-trigger:hover {
    background: var(--bg-glass-hover);
    color: var(--text-primary);
    border-color: var(--border-accent);
}

.admin-actions-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    background: var(--bg-secondary);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 6px;
    min-width: 220px;
    z-index: 1050;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: var(--transition);
}

.admin-actions-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.admin-menu-header {
    padding: 8px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.admin-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 12px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.85rem;
    text-align: left;
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition);
}

.admin-menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.admin-menu-danger {
    color: #f87171;
}
.admin-menu-danger:hover {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #ef4444 !important;
}

.admin-menu-success {
    color: #34d399;
}
.admin-menu-success:hover {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #10b981 !important;
}

.admin-menu-warning {
    color: #fbbf24;
}
.admin-menu-warning:hover {
    background: rgba(245, 158, 11, 0.12) !important;
    color: #f59e0b !important;
}

.admin-menu-verify {
    color: #60a5fa;
}
.admin-menu-verify:hover {
    background: rgba(59, 130, 246, 0.12) !important;
    color: #3b82f6 !important;
}

.admin-menu-creator {
    color: #fbbf24;
}
.admin-menu-creator:hover {
    background: rgba(245, 158, 11, 0.12) !important;
    color: #f59e0b !important;
}

.admin-menu-bot {
    color: #c084fc;
}
.admin-menu-bot:hover {
    background: rgba(168, 85, 247, 0.12) !important;
    color: #a855f7 !important;
}

.admin-menu-divider {
    height: 1px;
    background: var(--border-glass);
    margin: 4px 0;
}

.admin-menu-item-row {
    display: flex;
    gap: 6px;
    padding: 4px;
}

.admin-menu-select {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    font-size: 0.75rem;
    padding: 6px;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.admin-menu-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* Pagination styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

.pagination-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid var(--border-glass);
    background: var(--bg-glass);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
}

.pagination-item:hover,
.pagination-item.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}
