/**
 * Main CSS File - Dark Modern Theme
 * Global stiller - tüm sayfalar için geçerli
 */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Theme Colors */
    --bg-primary: #0a0e27;
    --bg-secondary: #141b2d;
    --bg-tertiary: #1a2332;
    --bg-card: #1e2838;
    --bg-hover: #252f43;
    
    /* Accent Colors */
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    
    /* Text Colors */
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Border & Shadow */
    --border-color: rgba(148, 163, 184, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    
    /* Spacing */
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    background-image: 
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* animation: fadeIn 0.4s ease-out; - Performans için kaldırıldı */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Performans optimizasyonu - GPU acceleration sadece gerektiğinde */
/* * { transform: translateZ(0); } - Bu çok maliyetli, kaldırıldı */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
    padding-bottom: 60px;
    min-height: 100vh;
    position: relative;
    display: flex;
    gap: 24px;
}

.container-main {
    flex: 1;
    min-width: 0;
}

/* Header Styles */
.header {
    background: var(--bg-card);
    /* backdrop-filter: blur(10px); - Performans için kaldırıldı */
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 20px 32px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: visible;
    /* animation: slideDown 0.4s ease-out; - Performans için kaldırıldı */
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1001;
}

.header-action-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease-out;
    font-weight: 500;
    font-size: 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
}

.header-action-link:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--accent-primary);
    transform: translateY(-1px);
}

.header-action-admin {
    color: var(--accent-primary);
    border-color: rgba(99, 102, 241, 0.3);
}

.header-action-admin:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-primary);
    border-color: rgba(99, 102, 241, 0.5);
}

.header-action-icon {
    font-size: 16px;
}

.header-action-text {
    font-size: 14px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translate3d(0, -20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
}

.header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-version-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(236, 72, 153, 0.15);
    color: #ec4899;
    border: 1px solid rgba(236, 72, 153, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin-left: 4px;
    /* Override gradient text from parent h1 */
    background: rgba(236, 72, 153, 0.15) !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ec4899 !important;
    background-clip: unset !important;
}

.nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-info {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    position: relative;
    overflow: hidden;
    gap: 8px;
    /* animation: fadeIn 0.3s ease-out 0.2s both; - Performans için kaldırıldı */
}

/* Button ripple efekti - Performans için kaldırıldı */
/* .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
} */

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    transform: translateY(-2px);
    border-color: rgba(148, 163, 184, 0.2);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* Main Content */
.main-content {
    background: var(--bg-card);
    /* backdrop-filter: blur(10px); - Performans için kaldırıldı */
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    min-height: 400px;
    /* animation: fadeInUp 0.4s ease-out 0.05s both; - Performans için kaldırıldı */
}

/* Main Content - Login sayfası için ortalamak */
.main-content:has(.login-prompt) {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    padding: 20px;
}

/* Modern Steam Login Styles */
.steam-login-container {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    overflow: hidden;
}

/* Animated Background Shapes */
.login-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    top: 20%;
    right: -50px;
    animation-delay: 3s;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #ec4899 0%, #f59e0b 100%);
    bottom: -80px;
    left: 10%;
    animation-delay: 6s;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.shape-4 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
    top: 50%;
    right: 15%;
    animation-delay: 9s;
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
}

.shape-5 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    bottom: 15%;
    right: 5%;
    animation-delay: 12s;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }
    75% {
        transform: translate(20px, 30px) rotate(270deg);
    }
}

/* Main Login Card */
.steam-login-card {
    position: relative;
    z-index: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 60px 50px;
    max-width: 500px;
    width: 100%;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.steam-login-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Steam Logo Wrapper */
.steam-logo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    height: 140px;
}

/* Site Logo Container */
.site-logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: logo-float 6s ease-in-out infinite;
}

.site-logo {
    max-width: 180px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.4));
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.site-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.6));
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: logo-glow-pulse 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes logo-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes logo-glow-pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.steam-logo-circle {
    position: relative;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(99, 102, 241, 0.3);
    animation: pulse 3s ease-in-out infinite;
    box-shadow: 
        0 0 30px rgba(99, 102, 241, 0.3),
        inset 0 0 30px rgba(99, 102, 241, 0.1);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 0 30px rgba(99, 102, 241, 0.3),
            inset 0 0 30px rgba(99, 102, 241, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 0 50px rgba(99, 102, 241, 0.5),
            inset 0 0 40px rgba(99, 102, 241, 0.2);
    }
}

.steam-icon {
    width: 60px;
    height: 60px;
    color: var(--accent-primary);
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
}

/* Steam Particles */
.steam-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.6;
    animation: particle-float 4s infinite ease-in-out;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    bottom: 20%;
    left: 30%;
    animation-delay: 2s;
}

.particle:nth-child(4) {
    top: 40%;
    right: 30%;
    animation-delay: 1.5s;
}

@keyframes particle-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(20px, -30px) scale(1.2);
        opacity: 1;
    }
}

/* Login Content */
.steam-login-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.steam-login-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.title-line-accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.steam-login-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
}

/* Steam Login Button */
.steam-login-button {
    position: relative;
    display: inline-block;
    padding: 18px 48px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    background-size: 200% 200%;
    border-radius: 16px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        0 10px 30px rgba(99, 102, 241, 0.4),
        0 0 0 0 rgba(99, 102, 241, 0.5);
    animation: gradient-shift 5s ease infinite;
    margin-bottom: 40px;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.steam-login-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 40px rgba(99, 102, 241, 0.6),
        0 0 0 4px rgba(99, 102, 241, 0.2);
}

.steam-login-button:active {
    transform: translateY(-1px);
}

.steam-button-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.steam-button-icon {
    width: 24px;
    height: 24px;
    animation: icon-rotate 3s ease-in-out infinite;
}

@keyframes icon-rotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

.steam-button-text {
    font-size: 18px;
    letter-spacing: 0.5px;
}

.steam-button-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -50%;
    }
    100% {
        left: 150%;
    }
}

/* Features List */
.steam-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
    min-width: 100px;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.2);
}

.feature-icon {
    font-size: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    animation: icon-bounce 2s ease-in-out infinite;
}

.feature-item:nth-child(1) .feature-icon {
    animation-delay: 0s;
}

.feature-item:nth-child(2) .feature-icon {
    animation-delay: 0.3s;
}

.feature-item:nth-child(3) .feature-icon {
    animation-delay: 0.6s;
}

@keyframes icon-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.feature-text {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Error Message */
.steam-error-message {
    position: relative;
    z-index: 2;
    margin-top: 24px;
    padding: 16px 24px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    animation: slide-down 0.3s ease-out;
}

@keyframes slide-down {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .steam-login-card {
        padding: 40px 30px;
        margin: 20px;
    }
    
    .steam-login-title {
        font-size: 32px;
    }
    
    .steam-login-subtitle {
        font-size: 16px;
    }
    
    .steam-login-button {
        padding: 16px 40px;
        font-size: 16px;
    }
    
    .steam-features {
        gap: 16px;
    }
    
    .feature-item {
        min-width: 80px;
        padding: 12px;
    }
    
    .shape {
        opacity: 0.05;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Dashboard Styles */
.dashboard {
    padding: 0;
}

.dashboard-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -1px;
    /* animation: fadeInLeft 0.4s ease-out 0.2s both; - Performans için kaldırıldı */
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.welcome-message {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
    /* animation: fadeIn 0.4s ease-out 0.25s both; - Performans için kaldırıldı */
}

.login-prompt {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius);
    padding: 48px 40px;
    margin: 0;
    text-align: center;
    /* backdrop-filter: blur(10px); - Performans için kaldırıldı */
    max-width: 500px;
    width: 100%;
    /* animation: scaleIn 0.4s ease-out; - Performans için kaldırıldı */
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: translate3d(0, 0, 0) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.login-prompt h2 {
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: 600;
}

.login-prompt p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 16px;
}

.user-card {
    background: var(--accent-gradient);
    color: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    /* animation: fadeInUp 0.4s ease-out 0.1s both; - Performans için kaldırıldı */
}

/* Pulse animasyonu - Performans için kaldırıldı */
/* .user-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
} */

.user-card > * {
    position: relative;
    z-index: 1;
}

.user-card img {
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.user-card h2 {
    margin-bottom: 12px;
    font-size: 28px;
    font-weight: 700;
}

.user-card p {
    opacity: 0.95;
    font-size: 15px;
    margin-bottom: 8px;
}

.user-card strong {
    font-weight: 600;
}

/* Error/Success Messages */
.error-message, .success-message {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin: 20px 0;
    font-weight: 500;
    border-left: 4px solid;
    /* animation: slideInRight 0.3s ease-out; - Performans için kaldırıldı */
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translate3d(30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #fca5a5;
}

.success-message {
    background: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
    color: #86efac;
}

/* Footer */
.footer {
    text-align: center;
    padding: 16px 20px;
    margin-top: 0;
    color: var(--text-muted);
    font-size: 12px;
    border-top: 1px solid var(--border-color);
    /* animation: fadeIn 0.4s ease-out 0.3s both; - Performans için kaldırıldı */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    /* backdrop-filter: blur(10px); - Performans için kaldırıldı */
    z-index: 100;
}

/* Sidebar Styles */
.sidebar {
    width: 280px;
    min-width: 280px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 0;
    height: calc(100vh - 48px);
    max-height: calc(100vh - 48px);
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
    flex-shrink: 0;
}

.sidebar-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-primary);
}

.sidebar-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: white;
    border: 2px solid var(--accent-primary);
}

.sidebar-user-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.sidebar-role {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 24px;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu-item {
    margin-bottom: 8px;
}

.sidebar-menu-divider {
    height: 1px;
    background: var(--border-color);
    margin: 12px 0;
    border: none;
    padding: 0;
    list-style: none;
}

.sidebar-menu-category {
    margin: 16px 0 8px 0;
    padding: 0 16px;
    list-style: none;
}

.sidebar-menu-category-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

.sidebar-menu-link,
.sidebar-logout {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease-out;
    font-weight: 500;
    font-size: 14px;
}

.sidebar-menu-link:hover,
.sidebar-logout:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.sidebar-menu-item.active .sidebar-menu-link {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.sidebar-menu-icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.sidebar-menu-text {
    flex: 1;
}

.sidebar-footer {
    margin-top: auto;
    padding: 20px 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
}

.sidebar-logout {
    color: #fca5a5;
    width: 100%;
}

.sidebar-logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.2);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bg-hover);
}

/* Sidebar scrollbar özel stil */
.sidebar-nav::-webkit-scrollbar {
    width: 6px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 3px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: var(--bg-hover);
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        min-width: auto;
        position: static;
        margin-bottom: 24px;
    }
    
    .container-main {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 16px;
        flex-direction: column;
    }
    
    .sidebar {
        padding: 16px;
    }
    
    .header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 20px;
    }
    
    .header h1 {
        font-size: 24px;
    }
    
    .nav {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .main-content {
        padding: 24px;
    }
    
    .dashboard-title {
        font-size: 28px;
    }
    
    .user-card {
        padding: 24px;
    }
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    background: linear-gradient(
        90deg,
        var(--bg-tertiary) 0%,
        var(--bg-hover) 50%,
        var(--bg-tertiary) 100%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Dashboard Categories */
.dashboard-content {
    padding: 0;
}

.dashboard-categories {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 24px;
}

.category-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.category-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.category-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.category-item-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease-out;
    cursor: pointer;
}

.category-item-card:hover {
    background: var(--bg-hover);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.category-item-icon {
    font-size: 32px;
    margin-bottom: 4px;
}

.category-item-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
}

/* Profile Page Styles */
.profile-page {
    padding: 0;
}

.profile-header {
    margin-bottom: 32px;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.profile-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
}

.profile-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0.8;
}

.profile-info-section::before {
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
}

.role-info-section::before {
    background: linear-gradient(90deg, #ec4899 0%, #f97316 100%);
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

/* Modern Profile Info Grid */
.profile-info-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

/* Steam ID kartı için daha geniş minimum genişlik */
.profile-info-card-steam {
    min-width: 0; /* Grid içinde flex gibi davranması için */
}

.profile-info-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 0; /* Grid içinde taşmayı önlemek için */
}

.profile-info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.profile-info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.profile-info-card:hover::before {
    opacity: 0.5;
}

.profile-info-card-icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.3));
}

.profile-info-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0; /* Taşmayı önlemek için */
    overflow: hidden;
}

.profile-info-card-label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.profile-info-card-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    word-break: break-all;
    line-height: 1.4;
}

/* Steam ID için özel stil - monospace font */
.profile-info-card-steam .profile-info-card-value-steam {
    font-size: 14px;
    letter-spacing: 0.2px;
    font-family: 'Courier New', 'Consolas', monospace;
    word-break: break-all;
    line-height: 1.4;
    overflow-wrap: break-word;
    white-space: normal;
}

/* Legacy styles for compatibility */
.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.info-value {
    font-size: 16px;
    color: var(--text-primary);
}

/* Form Styles */
.preferences-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-select {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.2s ease-out;
}

.form-select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.success-message {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: #4ade80;
    margin-bottom: 20px;
}

/* Coming Soon / Empty States */
.admin-empty,
.page-content .admin-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    min-height: 300px;
}

.admin-empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.admin-empty-text {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 500;
}

.page-header {
    margin-bottom: 32px;
}

.role-badge,
.rank-badge {
    display: inline-block;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 4px 8px;
    font-size: 13px;
    margin-right: 4px;
    color: var(--text-primary);
}

/* Rank Section Styles */
.rank-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.rank-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0.8;
}

.rank-section .section-title {
    color: #14b8a6;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(20, 184, 166, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
}

.rank-section .section-title::before {
    content: '⭐';
    font-size: 20px;
}

/* Modern Rank Container */
.rank-modern-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

/* Main Rank Card */
.rank-card-main {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.15);
    position: relative;
    overflow: hidden;
}

.rank-card-main::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.rank-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.rank-icon {
    font-size: 48px;
    line-height: 1;
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.3));
}

.rank-card-title {
    flex: 1;
}

.rank-card-label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 8px;
}

.rank-card-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rank-no-rank {
    color: var(--text-secondary);
    -webkit-text-fill-color: var(--text-secondary);
}

/* Large Stat Display */
.rank-stat-large {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}

.rank-stat-icon {
    font-size: 32px;
    line-height: 1;
}

.rank-stat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rank-stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.rank-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.rank-stat-unit {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Progress Card */
.rank-card-progress {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 8px 32px rgba(20, 184, 166, 0.15);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rank-card-max {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 8px 32px rgba(251, 191, 36, 0.15);
}

.rank-progress-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rank-progress-icon {
    font-size: 32px;
    line-height: 1;
}

.rank-progress-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rank-progress-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.rank-progress-percentage {
    font-size: 24px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rank-card-max .rank-progress-percentage {
    color: #fbbf24;
    -webkit-text-fill-color: #fbbf24;
}

/* Modern Progress Bar */
.rank-progress-bar-modern {
    width: 100%;
    height: 16px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.rank-progress-fill-modern {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 8px;
    position: relative;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
    overflow: hidden;
}

.rank-card-max .rank-progress-fill-modern {
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.6);
}

.rank-progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.rank-progress-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 8px;
}

.rank-progress-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rank-progress-detail-label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.rank-progress-detail-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Info Cards Grid */
.rank-info-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 8px;
}

.rank-info-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
}

.rank-info-card:hover {
    background: var(--bg-hover);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.1);
}

.rank-info-card-icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}

.rank-info-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rank-info-card-label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.rank-info-card-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.rank-info-card-sub {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.rank-roles-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.rank-role-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 968px) {
    .profile-info-modern-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .rank-modern-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .rank-info-grid {
        grid-template-columns: 1fr;
    }
    
    .rank-progress-details {
        grid-template-columns: 1fr;
    }
    
    .rank-card-name {
        font-size: 24px;
    }
    
    .rank-stat-value {
        font-size: 28px;
    }
}

/* Role Information Modern Styles */
.role-info-modern-container {
    margin-top: 24px;
}

.role-info-card {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 8px 32px rgba(236, 72, 153, 0.15);
    position: relative;
    overflow: hidden;
}

.role-info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.role-info-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.role-info-icon {
    font-size: 40px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(236, 72, 153, 0.3));
}

.role-info-title {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.role-info-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.role-info-count {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.role-info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.role-modern-tag {
    display: inline-block;
    padding: 10px 18px;
    background: rgba(236, 72, 153, 0.2);
    border: 1px solid rgba(236, 72, 153, 0.4);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.role-modern-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    transition: left 0.5s ease;
}

.role-modern-tag:hover {
    transform: translateY(-2px);
    background: rgba(236, 72, 153, 0.3);
    border-color: rgba(236, 72, 153, 0.6);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.role-modern-tag:hover::before {
    left: 100%;
}

.role-info-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 48px 24px;
    text-align: center;
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}

.role-info-empty .role-info-icon {
    opacity: 0.5;
}

.role-info-empty-text {
    font-size: 16px;
    color: var(--text-secondary);
    font-style: italic;
}

/* Section Title Styles */
.profile-info-section .section-title::before {
    content: '👤';
    font-size: 20px;
}

.role-info-section .section-title::before {
    content: '🎭';
    font-size: 20px;
}

/* VTC Jobs Page Styles */
.vtc-jobs-page {
    padding: 0;
}

.jobs-toolbar {
    margin-bottom: 24px;
}

.jobs-search-form {
    display: flex;
    gap: 12px;
    align-items: center;
}

.jobs-search-input {
    flex: 1;
    max-width: 400px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.2s ease-out;
}

.jobs-search-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.jobs-stats {
    margin-bottom: 16px;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
}

.jobs-table-wrapper {
    overflow-x: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.jobs-table {
    width: 100%;
    border-collapse: collapse;
}

.jobs-table th,
.jobs-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.jobs-table th {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 1;
}

.jobs-table td {
    color: var(--text-secondary);
    font-size: 14px;
}

.jobs-table tr:hover {
    background: var(--bg-hover);
}

.jobs-table tr:last-child td {
    border-bottom: none;
}

.jobs-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding: 16px;
}

.pagination-info {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Job ID Link */
.job-id-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease-out;
}

.job-id-link:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

/* Job Detail Page */
.job-detail-page {
    padding: 0;
}

.job-detail-header {
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.job-detail-content {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
}

/* Sol Sidebar */
.job-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Kullanıcı Profil Kartı */
.user-profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    overflow: hidden;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--accent-gradient);
}

.user-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.user-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.star {
    color: #fbbf24;
    font-size: 18px;
}

.star.filled {
    color: #fbbf24;
}

.rating-value {
    margin-left: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* İstatistikler Kartı */
.statistics-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.statistics-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.statistics-icon {
    font-size: 20px;
}

.statistics-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
}

.stat-icon {
    font-size: 16px;
    width: 20px;
    flex-shrink: 0;
}

.stat-label {
    color: var(--text-secondary);
    flex: 1;
}

.stat-value {
    color: var(--text-primary);
    font-weight: 500;
    text-align: right;
}

/* Ana İçerik */
.job-detail-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    min-width: 0;
}

.detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    min-width: 0;
    overflow: hidden;
}

.detail-card:last-child {
    grid-column: 1 / -1;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.card-icon {
    font-size: 20px;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    min-width: 0;
}

.detail-icon {
    font-size: 16px;
    width: 20px;
    flex-shrink: 0;
}

.detail-label {
    color: var(--text-secondary);
    font-weight: 500;
    min-width: 80px;
    flex-shrink: 0;
}

.detail-value {
    color: var(--text-primary);
    flex: 1;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* License Plates */
.license-plates {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.license-plate {
    flex: 1;
    min-width: 200px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
}

.license-plate-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.license-plate-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

@media (max-width: 1200px) {
    .job-detail-content {
        grid-template-columns: 280px 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-categories {
        gap: 24px;
    }
    
    .category-section {
        padding: 20px;
    }
    
    .category-title {
        font-size: 20px;
    }
    
    .category-items {
        grid-template-columns: 1fr;
    }
    
    .jobs-search-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .jobs-search-input {
        max-width: 100%;
    }
    
    .jobs-table-wrapper {
        overflow-x: scroll;
    }
    
    .jobs-table th,
    .jobs-table td {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .job-detail-content {
        grid-template-columns: 1fr;
    }
    
    .job-detail-main {
        grid-template-columns: 1fr;
    }
    
    .license-plates {
        flex-direction: column;
    }
}

/* Statistics Page */
.statistics-page {
    padding: 0;
}

.stats-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stats-summary .stat-card-with-points {
    grid-column: span 1;
}

.stats-summary .stat-card-points {
    grid-column: span 1;
    grid-row: 2;
    margin: 0 auto;
    max-width: 100%;
}

/* Points kartını Distance kartının altına hizala */
.stats-summary:has(.stat-card-with-points) {
    grid-template-columns: repeat(3, 1fr);
}

.stats-summary:has(.stat-card-with-points) .stat-card-points {
    grid-column: 2;
    grid-row: 2;
}

@media (max-width: 1024px) {
    .stats-summary:has(.stat-card-with-points) {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-summary:has(.stat-card-with-points) .stat-card-points {
        grid-column: span 2;
        grid-row: 2;
    }
}

@media (max-width: 768px) {
    .stats-summary:has(.stat-card-with-points) {
        grid-template-columns: 1fr;
    }
    
    .stats-summary:has(.stat-card-with-points) .stat-card-points {
        grid-column: 1;
        grid-row: auto;
    }
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.2s ease-out;
}

.stat-card:hover {
    background: var(--bg-hover);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-card-icon {
    font-size: 48px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius);
    flex-shrink: 0;
}

.stat-card-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.stat-card-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.stat-card-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}

.stat-card-number {
    display: inline-block;
}

.stat-card-unit {
    font-size: 0.6em;
    opacity: 0.8;
    display: inline-block;
    white-space: nowrap;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--text-secondary);
    background-clip: unset;
    color: var(--text-secondary);
}

.stat-card-rank {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 8px;
    font-weight: 500;
}

.monthly-stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 24px;
}

.stats-chart-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.stats-table-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.stats-chart-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.stats-chart-icon {
    font-size: 20px;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
    min-height: 300px;
}

.chart-container canvas {
    display: block !important;
    max-width: 100% !important;
    height: 300px !important;
}

.stats-table-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.stats-table-icon {
    font-size: 20px;
}

.stats-table-wrapper {
    overflow-x: auto;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
}

.stats-table th,
.stats-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.stats-table th {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 1;
}

.stats-table td {
    color: var(--text-secondary);
    font-size: 14px;
}

.stats-table td.stat-number {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
}

.stats-table tr:hover {
    background: var(--bg-hover);
}

.stats-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .stats-summary {
        grid-template-columns: 1fr;
    }
    
    .monthly-stats-section {
        grid-template-columns: 1fr;
    }
    
    .chart-container {
        height: 250px;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-card-icon {
        width: 60px;
        height: 60px;
        font-size: 36px;
    }
    
    .stat-card-value {
        font-size: 24px;
    }
}

/* Leaderboard Styles */
.leaderboard-page {
    padding: 0;
}

.leaderboard-filters {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}

.filter-form {
    display: flex;
    gap: 24px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 200px;
}

.filter-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.filter-select {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:hover {
    border-color: var(--accent-primary);
    background: var(--bg-hover);
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.leaderboard-table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table thead {
    background: var(--bg-tertiary);
}

.leaderboard-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

.leaderboard-table th.rank-col {
    width: 80px;
    text-align: center;
}

.leaderboard-table th.driver-col {
    min-width: 250px;
}

.leaderboard-table th.stat-col {
    width: 150px;
    text-align: right;
}

.leaderboard-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s ease;
}

.leaderboard-table tbody tr:hover {
    background: var(--bg-hover);
}

.leaderboard-table tbody tr:last-child {
    border-bottom: none;
}

.leaderboard-table td {
    padding: 16px;
    color: var(--text-secondary);
    font-size: 14px;
}

.leaderboard-table td.rank-col {
    text-align: center;
}

.leaderboard-table td.driver-col {
    min-width: 250px;
}

.leaderboard-table td.stat-col {
    text-align: right;
}

.rank-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
}

.leaderboard-table tbody tr:nth-child(1) .rank-number {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-color: #f59e0b;
    color: #fff;
}

.leaderboard-table tbody tr:nth-child(2) .rank-number {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    border-color: #64748b;
    color: #fff;
}

.leaderboard-table tbody tr:nth-child(3) .rank-number {
    background: linear-gradient(135deg, #cd7f32 0%, #b87333 100%);
    border-color: #b87333;
    color: #fff;
}

.driver-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.driver-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.driver-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
}

.driver-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 15px;
}

.stat-value {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 15px;
}

.monthly-leaderboard-section {
    margin-bottom: 48px;
}

.monthly-leaderboard-section:last-child {
    margin-bottom: 0;
}

.monthly-leaderboard-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .leaderboard-table-wrapper {
        padding: 16px;
    }
    
    .leaderboard-table th,
    .leaderboard-table td {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    .leaderboard-table th.driver-col,
    .leaderboard-table td.driver-col {
        min-width: 200px;
    }
    
    .driver-info {
        gap: 8px;
    }
    
    .driver-avatar,
    .driver-avatar-placeholder {
        width: 40px;
        height: 40px;
    }
    
    .driver-name {
        font-size: 14px;
    }
}

/* Events Page Styles */
.events-page {
    padding: 0;
}

.events-section {
    margin-bottom: 48px;
}

.events-section:last-child {
    margin-bottom: 0;
}

.events-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.events-section-icon {
    font-size: 24px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.event-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

.events-page {
    padding: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.page-header {
    margin-bottom: 32px;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

@media (max-width: 768px) {
    .events-page {
        padding: 16px;
    }
    
    .page-header > div {
        flex-direction: column;
        gap: 12px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .event-banner {
        height: 180px;
    }
    
    .event-content {
        padding: 16px;
    }
    
    .event-title {
        font-size: 16px;
    }
}

.event-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

.event-banner {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-tertiary);
    position: relative;
}

.event-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-banner img {
    transform: scale(1.05);
}

.event-banner-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-quaternary));
}

.event-banner-icon {
    font-size: 64px;
    opacity: 0.5;
}

.event-content {
    padding: 20px;
}

.event-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.4;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.event-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
}

.event-detail-icon {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.event-detail-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.event-detail-label {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
}

.event-detail-value {
    color: var(--text-primary);
    font-weight: 600;
}

.event-description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    max-height: 80px;
    overflow: hidden;
}

.event-actions {
    margin-top: 16px;
}

.event-link-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--accent-primary);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.event-link-btn:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Admin Events Styles */
.events-admin-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    margin-top: 24px;
}

.events-admin-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.events-admin-sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.events-admin-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.events-admin-item {
    display: block;
    padding: 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.3s ease;
}

.events-admin-item:hover {
    background: var(--bg-hover);
    border-color: var(--accent-primary);
    transform: translateX(4px);
}

.events-admin-item.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #fff;
}

.events-admin-item.active .events-admin-item-title,
.events-admin-item.active .events-admin-item-date {
    color: #fff;
}

.events-admin-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.events-admin-item-date {
    font-size: 12px;
    color: var(--text-secondary);
}

.events-admin-main {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.events-admin-header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.events-admin-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.events-admin-event-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.events-admin-info-item {
    display: flex;
    gap: 8px;
    font-size: 14px;
}

.events-admin-info-label {
    color: var(--text-secondary);
    font-weight: 600;
    min-width: 120px;
}

.events-admin-info-value {
    color: var(--text-primary);
}

.events-admin-add-participant {
    margin-bottom: 32px;
    padding: 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.events-admin-add-participant h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.events-add-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.events-add-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.events-add-form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.events-add-input,
.events-add-textarea {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.events-add-input:focus,
.events-add-textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.events-add-textarea {
    resize: vertical;
    min-height: 80px;
}

.events-admin-participants h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.events-participants-table-wrapper {
    overflow-x: auto;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.btn-danger {
    background: #ef4444;
    color: #fff;
}

.btn-danger:hover {
    background: #dc2626;
}

@media (max-width: 1024px) {
    .events-admin-container {
        grid-template-columns: 1fr;
    }
    
    .events-admin-sidebar {
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-banner {
        height: 150px;
    }
    
    .events-admin-main {
        padding: 16px;
    }
    
    .events-add-form-group {
        gap: 6px;
    }
}

/* Notifications Styles */
.notifications-container {
    position: relative;
}

.notification-bell {
    position: relative;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 20px;
    transition: all 0.2s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-bell:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--accent-primary);
}

.notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-card);
}

.notifications-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 380px;
    max-height: 500px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1002;
    overflow: hidden;
    animation: slideDown 0.2s ease-out;
}

.notifications-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notifications-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.notifications-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.2s;
}

.notification-item:hover {
    background: var(--bg-tertiary);
}

.notification-item.unread {
    background: rgba(99, 102, 241, 0.05);
    font-weight: 500;
}

.notification-item.unread:hover {
    background: rgba(99, 102, 241, 0.1);
}

.notification-item-content {
    display: flex;
    gap: 12px;
}

.notification-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.notification-text {
    flex: 1;
}

.notification-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.notification-message {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.notification-time {
    font-size: 11px;
    color: var(--text-muted);
}

.notification-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-secondary);
}

.notifications-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.notifications-footer a {
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.mark-all-read-btn {
    background: none;
    border: none;
    color: var(--accent-primary);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.mark-all-read-btn:hover {
    background: var(--bg-tertiary);
}