/* =========================================================
   KILL VAULT - STYLESHEET (DARK / CYBER MONTAGE THEME)
   ========================================================= */

:root {
    --bg-dark: #0a0d14;
    --bg-card: #111622;
    --bg-card-hover: #161e30;
    --bg-input: #171d2b;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(138, 43, 226, 0.3);

    --primary: #8a2be2;
    --primary-glow: #9d4edd;
    --accent-cyan: #00f2fe;
    --accent-red: #ff3366;
    --accent-green: #00f5a0;
    --accent-gold: #ffb703;

    --flo-color: #ff3366;
    --lykos-color: #00d2ff;
    --legal-color: #a855f7;

    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, .brand-title, .portal-title, .tab-item span {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   LOGIN SCREEN
   ========================================== */
.login-page-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at 50% 20%, #1f1435 0%, #0a0d14 70%);
    padding: 20px;
}

.login-card-container {
    width: 100%;
    max-width: 460px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(138, 43, 226, 0.15);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    backdrop-filter: blur(16px);
}

.login-badge-top {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), #43126e);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
    white-space: nowrap;
}

.login-header {
    margin-bottom: 28px;
}

.login-logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    margin: 0 auto 16px;
    display: block;
    filter: drop-shadow(0 0 20px rgba(255, 183, 3, 0.45));
    transition: transform 0.3s ease;
}

.login-logo-img:hover {
    transform: scale(1.06);
}

.portal-title {
    font-size: 38px;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, #fff 40%, #e2b053);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.login-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.login-form label i {
    color: var(--primary-glow);
    margin-right: 6px;
}

.input-wrapper {
    position: relative;
}

.form-control {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    color: #fff;
    font-size: 14px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
    background: #1c2436;
}

.btn-toggle-pass {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 15px;
    transition: var(--transition);
}

.btn-toggle-pass:hover {
    color: #fff;
}

.security-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 242, 254, 0.05);
    border: 1px dashed rgba(0, 242, 254, 0.2);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 12px;
    color: #94e2fb;
    margin-bottom: 24px;
}

.btn-login-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #8a2be2, #4d1385);
    border: none;
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
    transition: var(--transition);
}

.btn-login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(138, 43, 226, 0.6);
    background: linear-gradient(135deg, #9d4edd, #5d17a3);
}

.login-footer {
    margin-top: 28px;
    text-align: center;
    font-size: 12px;
}

.default-creds-hint {
    background: rgba(255, 255, 255, 0.04);
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.default-creds-hint code {
    color: var(--accent-cyan);
    font-weight: 600;
}

.copyright {
    color: #556277;
}

/* ==========================================
   ALERTS / FLASH MESSAGES
   ========================================== */
.flash-messages, .flash-messages-global {
    margin-bottom: 20px;
}

.alert {
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.alert-danger {
    background: rgba(255, 51, 102, 0.15);
    border: 1px solid rgba(255, 51, 102, 0.3);
    color: #ff6b8b;
}

.alert-success {
    background: rgba(0, 245, 160, 0.15);
    border: 1px solid rgba(0, 245, 160, 0.3);
    color: #4df8b5;
}

.alert-warning {
    background: rgba(255, 183, 3, 0.15);
    border: 1px solid rgba(255, 183, 3, 0.3);
    color: #ffc93c;
}

.alert-info {
    background: rgba(0, 210, 255, 0.15);
    border: 1px solid rgba(0, 210, 255, 0.3);
    color: #70dcff;
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar-header {
    background: rgba(17, 22, 34, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: nowrap;
}

.nav-left-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.brand-area {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.brand-area:hover {
    opacity: 0.9;
}

.brand-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 183, 3, 0.45));
    transition: transform 0.3s ease;
}

.brand-area:hover .brand-logo-img {
    transform: scale(1.06);
}

.brand-title {
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #fff 40%, #e2b053);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: nowrap;
}

.btn {
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-gradient-green {
    background: linear-gradient(135deg, #00f5a0, #00a86b);
    color: #052618;
}

.btn-gradient-green:hover {
    box-shadow: 0 4px 15px rgba(0, 245, 160, 0.4);
    transform: translateY(-1px);
}

.btn-gradient-red {
    background: linear-gradient(135deg, #ff3366, #b0153c);
    color: #fff;
}

.btn-gradient-red:hover {
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.4);
    transform: translateY(-1px);
}

.user-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.user-pill i {
    color: var(--accent-cyan);
}

.role-tag {
    background: rgba(138, 43, 226, 0.3);
    color: #d19bff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    border: 1px solid rgba(138, 43, 226, 0.4);
}

.btn-logout {
    background: rgba(255, 51, 102, 0.1);
    color: #ff6b8b;
    border: 1px solid rgba(255, 51, 102, 0.25);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-logout:hover {
    background: var(--accent-red);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.4);
}

/* ==========================================
   YOUTUBE AD SECTION ("reklam tarzı tek tek")
   ========================================== */
.youtube-ad-section {
    margin: 28px 0;
}

.ad-card-wrapper {
    background: linear-gradient(135deg, #141126, #161a29);
    border: 1px solid rgba(255, 51, 102, 0.3);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 51, 102, 0.15);
}

.ad-card-header {
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ad-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ff5277;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.ad-tag i {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.8; }
}

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

.btn-ad-control {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border-color);
    color: #fff;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-ad-control:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
}

.ad-counter {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.ad-slides-container {
    position: relative;
    padding: 20px;
}

.ad-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.ad-slide.active {
    display: block;
    opacity: 1;
}

.ad-content-grid {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 24px;
    align-items: center;
}

.ad-video-frame {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
}

.ad-video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ad-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ad-sponsor-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 51, 102, 0.1);
    color: #ff6b8b;
    border: 1px solid rgba(255, 51, 102, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    width: fit-content;
}

.ad-title {
    font-size: 26px;
    line-height: 1.2;
    color: #fff;
}

.ad-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.ad-meta {
    font-size: 12px;
    color: #64748b;
}

.ad-actions {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-outline-danger {
    background: transparent;
    color: #ff4d6d;
    border: 1px solid #ff4d6d;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-outline-danger:hover {
    background: #ff4d6d;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 77, 109, 0.4);
}

.btn-outline-secondary {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* ==========================================
   STATS GRID
   ========================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 24px 0;
}

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

.stat-box:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.flo-stat .stat-icon { background: rgba(255, 51, 102, 0.15); color: var(--flo-color); }
.lykos-stat .stat-icon { background: rgba(0, 210, 255, 0.15); color: var(--lykos-color); }
.legal-stat .stat-icon { background: rgba(168, 85, 247, 0.15); color: var(--legal-color); }
.total-stat .stat-icon { background: rgba(0, 245, 160, 0.15); color: var(--accent-green); }

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-family: 'Rajdhani', sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.stat-lbl {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* ==========================================
   CATEGORY TABS & SEARCH
   ========================================== */
.category-tabs-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 28px 0 20px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 16px;
}

.tabs-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tab-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.tab-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
}

.tab-item:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.tab-item.active.tab-flo {
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.25), rgba(255, 51, 102, 0.05));
    border-color: var(--flo-color);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 51, 102, 0.3);
}
.tab-item.active.tab-flo i { color: var(--flo-color); }

.tab-item.active.tab-lykos {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.25), rgba(0, 210, 255, 0.05));
    border-color: var(--lykos-color);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.3);
}
.tab-item.active.tab-lykos i { color: var(--lykos-color); }

.tab-item.active.tab-legal {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(168, 85, 247, 0.05));
    border-color: var(--legal-color);
    color: #fff;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}
.tab-item.active.tab-legal i { color: var(--legal-color); }

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    gap: 10px;
    min-width: 300px;
}

.search-box i {
    color: var(--text-muted);
}

.search-box input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 13px;
    width: 100%;
}

.search-box input:focus {
    outline: none;
}

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

.clear-search-btn:hover {
    color: #fff;
}

/* ==========================================
   DISCORD BOT INFO CARD
   ========================================== */
.discord-bot-info-card {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.12), rgba(88, 101, 242, 0.03));
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.bot-info-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bot-icon {
    font-size: 36px;
    color: #5865f2;
}

.bot-info-left h4 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 2px;
}

.bot-info-left p {
    font-size: 13px;
    color: var(--text-muted);
}

.bot-info-left code {
    background: rgba(88, 101, 242, 0.25);
    color: #9aa5ff;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.sync-badge {
    background: rgba(0, 245, 160, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(0, 245, 160, 0.25);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* ==========================================
   VIDEOS GALLERY
   ========================================== */
.section-title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title-bar h3 {
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cat-pill {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.cat-pill.flo-kill { background: var(--flo-color); }
.cat-pill.lykos-kill { background: var(--lykos-color); color: #000; }
.cat-pill.legal-kill { background: var(--legal-color); }

.video-count-info {
    color: var(--text-muted);
    font-size: 13px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.video-player-container {
    position: relative;
    background: #000;
    width: 100%;
    aspect-ratio: 16/9;
}

.main-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-cat-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    z-index: 2;
}

.video-cat-badge.flo-kill { background: var(--flo-color); color: #fff; }
.video-cat-badge.lykos-kill { background: var(--lykos-color); color: #000; }
.video-cat-badge.legal-kill { background: var(--legal-color); color: #fff; }

.video-info-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.video-title {
    font-size: 18px;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

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

.meta-item.uploader {
    color: #a5b4fc;
    font-weight: 500;
}

.video-card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
}

.btn-download {
    flex-grow: 1;
    background: linear-gradient(135deg, #00f5a0, #00b075);
    color: #032114;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-download:hover {
    box-shadow: 0 4px 15px rgba(0, 245, 160, 0.4);
    transform: translateY(-2px);
    color: #000;
}

.btn-delete {
    background: rgba(255, 51, 102, 0.1);
    color: #ff6b8b;
    border: 1px solid rgba(255, 51, 102, 0.25);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.btn-delete:hover {
    background: var(--accent-red);
    color: #fff;
}

/* ==========================================
   EMPTY STATE
   ========================================== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    margin: 20px 0;
}

.empty-icon {
    font-size: 48px;
    color: #475569;
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 500px;
    margin: 0 auto;
}

.empty-state code {
    background: rgba(88, 101, 242, 0.2);
    color: #818cf8;
    padding: 2px 6px;
    border-radius: 4px;
}

.mt-3 {
    margin-top: 18px;
}

/* ==========================================
   MODALS
   ========================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex !important;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 520px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    position: relative;
    animation: modalSlide 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlide {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

.btn-close-modal {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.btn-close-modal:hover {
    color: #fff;
}

.modal-form .form-group {
    margin-bottom: 18px;
}

.modal-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.modal-form label i {
    margin-right: 6px;
}

.form-control-file {
    width: 100%;
    background: var(--bg-input);
    border: 1px dashed var(--border-color);
    padding: 14px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ==========================================
   FOOTER
   ========================================== */
.portal-footer {
    text-align: center;
    padding: 40px 20px;
    color: #475569;
    font-size: 12px;
    border-top: 1px solid var(--border-color);
}

/* ==========================================
   YOUTUBE VITRIN ENHANCEMENTS
   ========================================== */
.ad-number-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.4);
    padding: 4px 8px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ad-num-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.ad-num-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.ad-num-btn.active {
    background: linear-gradient(135deg, #ff3366, #ff0844);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.5);
}

.ad-thumb-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio */
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    background: #000;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.ad-thumb-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ad-thumb-container:hover .ad-thumb-image {
    transform: scale(1.05);
}

.play-btn-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.ad-thumb-container:hover .play-btn-overlay {
    background: rgba(0, 0, 0, 0.15);
}

.yt-play-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.7);
    transition: transform 0.3s ease;
}

.ad-thumb-container:hover .yt-play-circle {
    transform: scale(1.15);
}

.play-overlay-text {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.yt-badge-floating {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-gradient-cyan {
    background: linear-gradient(135deg, #00f2fe, #4facfe);
    color: #031b28;
}

.btn-gradient-cyan:hover {
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.4);
    transform: translateY(-1px);
}

/* ==========================================
   USERS MANAGEMENT MODAL & TABLE
   ========================================== */
.modal-lg {
    max-width: 820px !important;
}

.modal-body-scrollable {
    max-height: 480px;
    overflow-y: auto;
    margin: 16px 0;
    padding-right: 6px;
}

.users-table-wrapper {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.users-table th {
    background: rgba(255, 255, 255, 0.04);
    padding: 12px 16px;
    text-align: left;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
}

.users-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}

.user-row-name {
    color: #fff;
    font-size: 14px;
}

.btn-action-promote {
    background: rgba(0, 245, 160, 0.15);
    color: #00f5a0;
    border: 1px solid rgba(0, 245, 160, 0.3);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-action-promote:hover {
    background: #00f5a0;
    color: #000;
}

.btn-action-demote {
    background: rgba(255, 183, 3, 0.15);
    color: #ffb703;
    border: 1px solid rgba(255, 183, 3, 0.3);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-action-demote:hover {
    background: #ffb703;
    color: #000;
}

.btn-delete-sm {
    background: rgba(255, 51, 102, 0.12);
    color: #ff5277;
    border: 1px solid rgba(255, 51, 102, 0.25);
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: var(--transition);
}

.btn-delete-sm:hover {
    background: var(--accent-red);
    color: #fff;
}

.badge-self {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
}

.role-tag.role-user {
    background: rgba(0, 242, 254, 0.12);
    color: #6ee7b7;
    border-color: rgba(0, 242, 254, 0.25);
}

.auth-switch-link {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 18px;
    text-align: center;
}

.link-highlight {
    color: var(--accent-cyan);
    font-weight: 600;
    margin-left: 6px;
    transition: var(--transition);
}

.link-highlight:hover {
    text-decoration: underline;
    color: #fff;
}

.d-flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mb-3 {
    margin-bottom: 14px;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
    .ad-content-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 8px 12px;
        gap: 8px;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }
    .nav-container::-webkit-scrollbar {
        display: none;
    }
    .brand-title {
        display: none;
    }
    .nav-actions {
        flex-wrap: nowrap;
    }
    .category-tabs-container {
        flex-direction: column;
        align-items: stretch;
    }
    .tabs-nav {
        flex-direction: column;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .videos-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   DISCORD INTEGRATION & AVATAR STYLES
   ========================================== */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 18px 0 14px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.auth-divider span {
    padding: 0 12px;
}

.btn-discord-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(88, 101, 242, 0.35);
    transition: var(--transition);
    cursor: pointer;
}
.btn-discord-login:hover {
    background: linear-gradient(135deg, #4752C4, #3b449b);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(88, 101, 242, 0.55);
}
.btn-discord-login i {
    font-size: 20px;
}

/* Video Card Uploader Avatar */
.uploader-profile-badge {
    position: relative;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}
.uploader-avatar-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #5865F2;
    background: #111;
    display: block;
}
.uploader-discord-icon {
    position: absolute;
    bottom: -2px;
    right: -2px;
    font-size: 11px;
    color: #5865F2;
    background: #0d0f17;
    border-radius: 50%;
}
.uploader-name-text {
    font-weight: 600;
    color: #e2e8f0;
}

/* Nav User Avatar */
.nav-avatar-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #5865F2;
}

/* User Table Row Cell with Avatar */
.user-row-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}
.table-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(88, 101, 242, 0.6);
}
.table-user-avatar-default {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
}
.user-name-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.badge-discord-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    padding: 2px 6px;
    background: rgba(88, 101, 242, 0.2);
    color: #5865F2;
    border: 1px solid rgba(88, 101, 242, 0.35);
    border-radius: 6px;
    width: fit-content;
}

/* Discord Setup Page */
.setup-card-container {
    max-width: 580px !important;
}
.discord-instructions-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 14px;
}
.discord-instructions-box h4 {
    font-size: 15px;
    color: #fff;
    margin-bottom: 12px;
}
.setup-steps-list {
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.6;
}
.setup-steps-list li {
    margin-bottom: 12px;
}
.setup-steps-list strong {
    color: #fff;
}
.link-discord-portal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    color: #5865F2;
    font-weight: 600;
    text-decoration: underline;
}
.code-copyable {
    display: inline-block;
    background: #0d0f17;
    border: 1px solid rgba(88, 101, 242, 0.3);
    padding: 4px 10px;
    border-radius: 6px;
    color: #00d2ff;
    font-family: monospace;
    font-size: 12px;
    margin-top: 4px;
    user-select: all;
}



/* ==========================================
   TOP NAVIGATION MENU
   ========================================== */
.nav-main-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 0;
}

.nav-menu-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-menu-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.nav-menu-item.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.35), rgba(255, 51, 102, 0.35));
    border-color: rgba(255, 51, 102, 0.5);
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.25);
}

/* ==========================================
   COMMUNITY PAGE
   ========================================== */
.community-hero {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.15) 0%, rgba(138, 43, 226, 0.18) 50%, rgba(255, 51, 102, 0.15) 100%);
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.community-hero-content {
    position: relative;
    z-index: 2;
}

.community-hero-title {
    font-size: 32px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.community-hero-desc {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 650px;
    line-height: 1.6;
}

.community-stats-row {
    display: flex;
    gap: 16px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.comm-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(13, 17, 28, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
}

.comm-stat-pill strong {
    color: #fff;
    font-size: 16px;
}

/* SEARCH & FILTER */
.community-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.comm-search-box {
    position: relative;
    flex: 1;
    max-width: 420px;
}

.comm-search-box input {
    width: 100%;
    padding: 12px 18px 12px 42px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 14px;
    transition: var(--transition);
}

.comm-search-box input:focus {
    outline: none;
    border-color: #5865F2;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.3);
}

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

/* MEMBERS GRID */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 24px;
}

.member-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.member-card:hover {
    transform: translateY(-5px);
    border-color: rgba(88, 101, 242, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(88, 101, 242, 0.2);
}

.member-card-banner {
    height: 85px;
    background: linear-gradient(135deg, #2b3144 0%, #1e2436 100%);
    position: relative;
}

.member-card-body {
    padding: 0 20px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.member-avatar-wrapper {
    margin-top: -45px;
    position: relative;
    margin-bottom: 14px;
}

.member-avatar-img {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    border: 4px solid var(--bg-card);
    object-fit: cover;
    background: #1e2333;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.member-card:hover .member-avatar-img {
    border-color: #5865F2;
}

.member-admin-crown {
    position: absolute;
    top: -8px;
    right: -2px;
    background: #ffb703;
    color: #000;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.member-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.member-role-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.member-role-badge.admin {
    background: rgba(255, 183, 3, 0.15);
    color: #ffb703;
    border: 1px solid rgba(255, 183, 3, 0.4);
}

.member-role-badge.user {
    background: rgba(88, 101, 242, 0.15);
    color: #5865F2;
    border: 1px solid rgba(88, 101, 242, 0.4);
}

.member-stats-box {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 10px;
    margin-bottom: 18px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.member-stat-col span {
    display: block;
}

.member-stat-col .val {
    font-size: 18px;
    font-weight: 700;
    color: #ff3366;
    font-family: 'Rajdhani', sans-serif;
}

.member-stat-col .lbl {
    font-size: 11px;
    color: var(--text-muted);
}

.btn-view-clips {
    width: 100%;
    padding: 10px 16px;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-view-clips:hover {
    background: linear-gradient(135deg, #4752C4, #3c45a5);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

/* ==========================================
   USER CLIPS PROFILE VIEW
   ========================================== */
.player-hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.player-hero-left {
    display: flex;
    align-items: center;
    gap: 22px;
}

.player-hero-avatar {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    border: 4px solid #5865F2;
    object-fit: cover;
    box-shadow: 0 0 25px rgba(88, 101, 242, 0.35);
}

.player-hero-info h2 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 6px;
}

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

/* CLIPS GRID */
.clips-gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.clips-gallery-title {
    font-size: 22px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-clips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.user-clip-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.user-clip-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 51, 102, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.user-clip-video-box {
    position: relative;
    width: 100%;
    background: #000;
    aspect-ratio: 16/9;
}

.user-clip-video-box video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.user-clip-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.user-clip-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.4;
}

.user-clip-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* =========================================================
   ROLE SYSTEM & APPROVAL WORKFLOW STYLES
   ========================================================= */

/* ROLE TAGS (NAVBAR & USER PILL) */
.role-tag.role-yonetici {
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.25), rgba(255, 110, 0, 0.15));
    color: #ffc107;
    border: 1px solid rgba(255, 183, 3, 0.6);
    box-shadow: 0 0 10px rgba(255, 183, 3, 0.25);
    font-weight: 800;
}

.role-tag.role-admin {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(37, 99, 235, 0.15));
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.5);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
    font-weight: 700;
}

.role-tag.role-editor {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(168, 85, 247, 0.15));
    color: #f472b6;
    border: 1px solid rgba(244, 114, 182, 0.5);
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.25);
    font-weight: 700;
}

.role-tag.role-user {
    background: rgba(148, 163, 184, 0.12);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.25);
    font-weight: 600;
}

/* MEMBER ROLE BADGES (COMMUNITY CARDS & HERO PROFILE) */
.member-role-badge.yonetici {
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.2), rgba(255, 110, 0, 0.25));
    color: #ffb703;
    border: 1px solid rgba(255, 183, 3, 0.6);
    box-shadow: 0 0 14px rgba(255, 183, 3, 0.25);
    font-weight: 800;
}

.member-role-badge.admin {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.25));
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.5);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.2);
    font-weight: 700;
}

.member-role-badge.editor {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(168, 85, 247, 0.25));
    color: #f472b6;
    border: 1px solid rgba(244, 114, 182, 0.5);
    box-shadow: 0 0 12px rgba(236, 72, 153, 0.2);
    font-weight: 700;
}

.member-role-badge.user {
    background: rgba(88, 101, 242, 0.15);
    color: #818cf8;
    border: 1px solid rgba(88, 101, 242, 0.35);
}

/* FLOATING CROWN FOR YÖNETİCİ */
.member-admin-crown {
    position: absolute;
    top: -12px;
    right: -4px;
    background: linear-gradient(135deg, #ffb703, #ff7b00);
    color: #000;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    box-shadow: 0 0 15px rgba(255, 183, 3, 0.7);
    border: 2px solid #fff;
    animation: crownFloat 2.5s ease-in-out infinite alternate;
}

@keyframes crownFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-4px) rotate(6deg); }
}

/* NAVBAR PENDING BADGE */
.nav-pending-badge {
    background: linear-gradient(135deg, #ff3366, #ff5e00);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: 12px;
    margin-left: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(255, 51, 102, 0.6);
    animation: pulseBadge 1.8s infinite;
}

@keyframes pulseBadge {
    0%, 100% { transform: scale(1); box-shadow: 0 0 8px rgba(255, 51, 102, 0.5); }
    50% { transform: scale(1.1); box-shadow: 0 0 16px rgba(255, 51, 102, 0.9); }
}

/* ADMIN MODAL TABS */
.admin-modal-tabs {
    display: flex;
    gap: 10px;
    padding: 0 24px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.admin-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.admin-tab-btn:hover {
    color: #fff;
}

.admin-tab-btn.active {
    color: var(--accent-cyan);
    border-bottom-color: var(--accent-cyan);
}

.tab-counter-badge {
    background: #ff3366;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 10px;
    line-height: 1;
}

/* PENDING USERS LIST & CARDS */
.pending-requests-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pending-user-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 183, 3, 0.25);
    border-left: 4px solid #ffb703;
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    transition: var(--transition);
}

.pending-user-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 183, 3, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.pending-user-info {
    flex: 1;
    min-width: 260px;
}

.user-email-text {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

.pending-tags-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.badge-discord-tag {
    background: rgba(88, 101, 242, 0.15);
    color: #818cf8;
    border: 1px solid rgba(88, 101, 242, 0.3);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-verified-tag {
    background: rgba(0, 245, 160, 0.12);
    color: #00f5a0;
    border: 1px solid rgba(0, 245, 160, 0.3);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-unverified-tag {
    background: rgba(255, 183, 3, 0.12);
    color: #ffb703;
    border: 1px solid rgba(255, 183, 3, 0.3);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pending-user-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.action-form-approve,
.action-form-reject {
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-approval-note {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    width: 170px;
    transition: var(--transition);
}

.input-approval-note:focus {
    border-color: var(--accent-green);
    outline: none;
}

.select-reject-reason {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    outline: none;
    transition: var(--transition);
}

.select-reject-reason:focus {
    border-color: var(--accent-red);
}

.select-reject-reason option {
    background: #111622;
    color: #fff;
}

.input-reject-custom {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    width: 150px;
}

/* USERS TABLE STATUS PILLS */
.badge-status-approved {
    background: rgba(0, 245, 160, 0.12);
    color: #00f5a0;
    border: 1px solid rgba(0, 245, 160, 0.3);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-status-pending {
    background: rgba(255, 183, 3, 0.15);
    color: #ffb703;
    border: 1px solid rgba(255, 183, 3, 0.4);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    animation: pulseBadge 2s infinite;
}

.badge-status-rejected {
    background: rgba(255, 51, 102, 0.15);
    color: #ff3366;
    border: 1px solid rgba(255, 51, 102, 0.4);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.select-role-sm {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

.select-role-sm option {
    background: #111622;
    color: #fff;
}

.btn-delete-sm {
    background: rgba(255, 51, 102, 0.1);
    color: #ff3366;
    border: 1px solid rgba(255, 51, 102, 0.3);
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-delete-sm:hover {
    background: #ff3366;
    color: #fff;
}

.empty-pending-state {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    margin: 10px 0;
}

/* LOGIN SCREEN APPROVAL STATUS BANNERS */
.approval-status-banner {
    display: flex;
    gap: 16px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 13.5px;
    line-height: 1.5;
    position: relative;
    backdrop-filter: blur(10px);
}

.approval-status-banner.pending-banner {
    background: rgba(255, 183, 3, 0.08);
    border: 1px solid rgba(255, 183, 3, 0.35);
    box-shadow: 0 0 25px rgba(255, 183, 3, 0.12);
}

.approval-status-banner.pending-banner .banner-icon {
    color: #ffb703;
    font-size: 26px;
    line-height: 1;
}

.approval-status-banner.pending-banner h4 {
    color: #ffb703;
    font-size: 16px;
    margin-bottom: 6px;
}

.approval-status-banner.rejected-banner {
    background: rgba(255, 51, 102, 0.08);
    border: 1px solid rgba(255, 51, 102, 0.35);
    box-shadow: 0 0 25px rgba(255, 51, 102, 0.12);
}

.approval-status-banner.rejected-banner .banner-icon {
    color: #ff3366;
    font-size: 26px;
    line-height: 1;
}

.approval-status-banner.rejected-banner h4 {
    color: #ff3366;
    font-size: 16px;
    margin-bottom: 6px;
}

.approval-status-banner p {
    color: #e2e8f0;
    margin-bottom: 10px;
}

.approval-status-banner small {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 8px;
}

.approval-badge-row {
    margin-bottom: 8px;
}

.badge-status-pill {
    background: rgba(255, 183, 3, 0.18);
    color: #ffb703;
    border: 1px solid rgba(255, 183, 3, 0.4);
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rejection-reason-highlight {
    background: rgba(0, 0, 0, 0.3);
    border-left: 3px solid #ff3366;
    padding: 8px 12px;
    border-radius: 4px;
    margin: 8px 0;
    color: #ff6b8b;
    font-size: 13px;
}
