/* ═══════════════════════════════════════════════════════════
   İZCİYİM PORTAL - MODERN CSS
   %100 TÜRKÇE KARAKTER DESTEĞİ
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 
                 "Helvetica Neue", Arial, "Noto Sans", sans-serif, 
                 "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background: linear-gradient(145deg, #e8f5e9 0%, #c8e6c9 50%, #a5d6a7 100%);
    min-height: 100vh;
    color: #2e3d34;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════
   COLOR PALETTE - Doga Temalı Yeşil Tonları
   ═══════════════════════════════════════════════════════════ */
:root {
    --primary: #3d8b5f;
    --primary-dark: #2d6a4f;
    --primary-light: #5fa67a;
    --secondary: #81c995;
    --accent: #a8ddb5;
    --success: #c8e6c9;
    --background: #f1f8f2;
    --surface: #ffffff;
    --surface-alt: #fafdfb;
    --text-primary: #2e3d34;
    --text-secondary: #5a6b5e;
    --border: #d4e5d8;
    --shadow: rgba(61, 139, 95, 0.08);
    --shadow-hover: rgba(61, 139, 95, 0.15);
    --admin-primary: #3d8b5f;
    --admin-secondary: #5fa67a;
    --nature-forest: #4a7c59;
    --nature-leaf: #6b9e78;
    --nature-moss: #8fb996;
    --nature-sage: #b5d4be;
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

/* ═══════════════════════════════════════════════════════════
   LOGIN PANEL
   ═══════════════════════════════════════════════════════════ */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.6s ease-out;
}

.login-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 48px 40px;
    box-shadow: 0 8px 32px var(--shadow);
    max-width: 440px;
    width: 100%;
    animation: slideUp 0.8s ease-out;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.login-card:hover {
    box-shadow: 0 12px 40px var(--shadow-hover);
}

.login-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
    color: white;
    box-shadow: 0 8px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-logo:hover {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 12px 30px var(--shadow-hover);
}

.login-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.login-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 32px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: block;
}

.form-control {
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--background);
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.1);
    background: var(--surface);
    outline: none;
}

.form-control::placeholder {
    color: #999;
}

.error-message {
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    margin-bottom: 16px;
    animation: slideUp 0.3s ease-out;
    display: none;
}

.error-message[style*="display: block"],
.error-message:not([style*="display: none"]):not(:empty) {
    display: block !important;
}

/* TC Input Validation Styles */
.form-control.is-valid {
    border-color: #198754;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px 20px;
    padding-right: 45px;
}

.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px 20px;
    padding-right: 45px;
}

.form-control.is-valid:focus {
    border-color: #198754;
    box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.15);
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.15);
}

/* Inline TC Error */
#tcInlineError {
    font-size: 13px;
    color: #dc3545;
    margin-top: 8px;
}

#tcInlineError i {
    color: #dc3545;
}

/* Disabled button styles */
.btn-login:disabled,
.btn-login.opacity-50 {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-login:disabled:hover,
.btn-login.opacity-50:hover {
    transform: none;
    box-shadow: none;
}

.btn-login:disabled::before,
.btn-login.opacity-50::before {
    display: none;
}

.btn-login {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow);
    position: relative;
    overflow: hidden;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-hover);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-login:active {
    transform: translateY(0);
}

.login-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-footer i {
    color: var(--primary);
}

.login-contact {
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.login-contact small {
    color: var(--text-secondary);
    font-size: 12px;
}

.login-contact a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.login-contact a:hover {
    text-decoration: underline;
}

/* Session Expired Info Box */
.session-expired-box {
    display: block;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #92400e;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
    animation: slideDown 0.3s ease-out;
}

.session-expired-box::before {
    content: "⏰ ";
    font-size: 16px;
}

body.dark-mode .session-expired-box {
    background: linear-gradient(135deg, #451a03 0%, #78350f 100%);
    border-color: #b45309;
    color: #fcd34d;
    box-shadow: 0 4px 15px rgba(180, 83, 9, 0.3);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════════════════
   TC AUTOCOMPLETE - Daha önce giriş yapılan TC'ler
   ═══════════════════════════════════════════════════════════ */
.tc-autocomplete-wrapper {
    position: relative;
    width: 100%;
}

.tc-autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border: 2px solid var(--border);
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 24px var(--shadow);
    z-index: 1000;
    display: none;
    max-height: 200px;
    overflow-y: auto;
}

.tc-autocomplete-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border);
}

.tc-autocomplete-item:last-child {
    border-bottom: none;
    border-radius: 0 0 10px 10px;
}

.tc-autocomplete-item:hover {
    background: var(--primary);
    color: white;
}

.tc-autocomplete-item:hover i {
    color: white;
}

.tc-autocomplete-item i {
    color: var(--text-secondary);
    font-size: 14px;
}

.tc-masked {
    flex: 1;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 15px;
    letter-spacing: 1px;
}

.tc-remove-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.tc-remove-btn:hover {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    opacity: 1;
}

.tc-autocomplete-item:hover .tc-remove-btn {
    color: rgba(255, 255, 255, 0.7);
}

.tc-autocomplete-item:hover .tc-remove-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Dark mode TC autocomplete */
.dark-mode .tc-autocomplete-dropdown {
    background: var(--surface);
    border-color: var(--border);
}

.dark-mode .tc-autocomplete-item:hover {
    background: var(--primary);
}

/* ═══════════════════════════════════════════════════════════
   DASHBOARD WRAPPER
   ═══════════════════════════════════════════════════════════ */
.dashboard-wrapper {
    min-height: 100vh;
    background: var(--background);
    animation: fadeIn 0.6s ease-out;
}

/* ═══════════════════════════════════════════════════════════
   DASHBOARD HEADER
   ═══════════════════════════════════════════════════════════ */
.dashboard-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 16px 0;
    box-shadow: 0 4px 20px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    animation: slideUp 0.5s ease-out;
    overflow: visible;
}

.header-logo {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-right: 14px;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.header-logo:hover {
    transform: rotate(10deg) scale(1.1);
}

.header-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: -0.5px;
}

.header-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   DASHBOARD NAVIGATION
   ═══════════════════════════════════════════════════════════ */
.dashboard-nav {
    background: var(--surface);
    border-bottom: 2px solid var(--border);
    padding: 12px 0;
    margin-top: 0;
    position: sticky;
    top: 68px;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: visible;
}

.dashboard-nav .nav-pills {
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.dashboard-nav .nav-pills::-webkit-scrollbar {
    display: none;
}

.dashboard-nav .nav-link {
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.dashboard-nav .nav-link i {
    font-size: 18px;
}

.dashboard-nav .nav-link:hover {
    background: var(--background);
    color: var(--primary);
}

.dashboard-nav .nav-link.active {
    background: var(--primary);
    color: white !important;
    border-color: var(--primary);
    box-shadow: 0 4px 12px var(--shadow);
}

.dashboard-nav .nav-link.active:hover {
    background: var(--primary-dark);
    color: white !important;
}

/* ═══════════════════════════════════════════════════════════
   DASHBOARD CONTENT
   ═══════════════════════════════════════════════════════════ */
.dashboard-content {
    padding: 32px 0 64px;
    min-height: calc(100vh - 200px);
}

.section-header {
    margin-bottom: 32px;
    animation: slideUp 0.5s ease-out;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.section-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-export {
    white-space: nowrap;
    padding: 10px 20px;
    font-weight: 600;
}

.btn-header {
    padding: 8px 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    border-radius: 8px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-header h2 i {
    color: var(--primary);
    font-size: 32px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   INFO CARDS
   ═══════════════════════════════════════════════════════════ */
.info-card {
    background: var(--surface);
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    animation: slideUp 0.6s ease-out;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-hover);
}

.info-card-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-card-header i {
    font-size: 24px;
    color: white;
}

.info-card-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin: 0;
}

.info-card-body {
    padding: 24px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease;
    border-radius: 8px;
    margin: 0 -12px;
    padding: 16px 12px;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row:hover {
    background: rgba(var(--primary-rgb), 0.05);
}

.info-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.info-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: right;
}

.team-name {
    color: var(--primary);
    font-weight: 700;
}

.badge-status {
    background: var(--accent);
    color: var(--primary-dark);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
}

/* Badge statü renkleri */
/* Lider Statüleri - Mavi Tonları */
.badge-status.status-lider {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: #fff;
}

.badge-status.status-yardimci-lider {
    background: linear-gradient(135deg, #1d4ed8, #60a5fa);
    color: #fff;
}

.badge-status.status-lider-gonullusu {
    background: linear-gradient(135deg, #0284c7, #38bdf8);
    color: #fff;
}

/* Ekip Statüleri - Altın/Gümüş/Bronz */
.badge-status.status-kidemli-ekip-basi {
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: #5c4300;
}

.badge-status.status-ekip-basi {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    color: #333;
}

.badge-status.status-ekip-basi-yardimcisi {
    background: linear-gradient(135deg, #cd7f32, #b5651d);
    color: #fff;
}

/* Üye Statüleri - Yeşil */
.badge-status.status-ekip-uyesi {
    background: linear-gradient(135deg, #166534, #22c55e);
    color: #fff;
}

.badge-status.status-izci {
    background: rgba(var(--primary-rgb), 0.15);
    color: var(--primary);
}

/* Admin tablosu için ekip renkleri */
.admin-table .badge-team {
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    min-width: 80px;
}

/* Farklı ekipler için farklı yeşil tonları */
.admin-table .badge-team[data-team="1"],
.admin-table tr:nth-child(1) .badge-team { background: linear-gradient(135deg, #166534, #22c55e); }
.admin-table tr:nth-child(2) .badge-team { background: linear-gradient(135deg, #166534, #22c55e); }
.admin-table tr:nth-child(3) .badge-team { background: linear-gradient(135deg, #166534, #22c55e); }

/* Admin tablosu için statü renkleri */
.admin-table .badge-status {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    min-width: 100px;
    text-align: center;
}

.badge-team {
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
}

/* Ekip renkleri - Her ekibe özel renk */
/* Liderler Ekibi - Altın/Sarı (Özel) */
.badge-team.team-liderler { background: linear-gradient(135deg, #b45309, #f59e0b); }

/* Erkek Ekipleri - Mavi/Turkuaz Tonları */
.badge-team.team-sehit-yuzbasi { background: linear-gradient(135deg, #1e40af, #3b82f6); } /* Koyu Mavi */
.badge-team.team-attila { background: linear-gradient(135deg, #0e7490, #22d3ee); } /* Cyan */
.badge-team.team-enver-pasa { background: linear-gradient(135deg, #4f46e5, #818cf8); } /* Indigo */
.badge-team.team-sutcu-imam { background: linear-gradient(135deg, #0f766e, #2dd4bf); } /* Teal */

/* Kız Ekipleri - Pembe/Mor/Yeşil Tonları */
.badge-team.team-sabiha-gokcen { background: linear-gradient(135deg, #9333ea, #c084fc); } /* Mor */
.badge-team.team-nene-hatun { background: linear-gradient(135deg, #be185d, #f472b6); } /* Pembe */
.badge-team.team-tomris-hatun { background: linear-gradient(135deg, #059669, #34d399); } /* Yeşil */
.badge-team.team-boru-hatun { background: linear-gradient(135deg, #7c3aed, #a78bfa); } /* Violet */
.badge-team.team-halide-edip { background: linear-gradient(135deg, #dc2626, #f87171); } /* Kırmızı */
.badge-team.team-afife-jale { background: linear-gradient(135deg, #c026d3, #e879f9); } /* Fuşya */
.badge-team.team-turkay-saylan { background: linear-gradient(135deg, #0891b2, #67e8f9); } /* Açık Mavi */

/* Ekipsizler için gri (tek renk) */
.badge-team.team-default,
.badge-team.team-ekipsiz { background: linear-gradient(135deg, #64748b, #94a3b8); }

/* Statü renkleri */
.badge-status {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    min-width: 100px;
    text-align: center;
    color: white;
}
/* Lider Statüleri - Mavi Tonları */
.badge-status.status-lider { background: linear-gradient(135deg, #1e40af, #3b82f6); } /* Koyu Mavi - En yüksek */
.badge-status.status-yardimci-lider { background: linear-gradient(135deg, #1d4ed8, #60a5fa); } /* Mavi */
.badge-status.status-lider-gonullusu { background: linear-gradient(135deg, #0284c7, #38bdf8); } /* Açık Mavi */

/* Ekip Statüleri - Altın/Gümüş/Bronz */
.badge-status.status-kidemli-ekip-basi { background: linear-gradient(135deg, #b45309, #f59e0b); } /* Altın */
.badge-status.status-ekip-basi { background: linear-gradient(135deg, #52525b, #a1a1aa); } /* Gümüş */
.badge-status.status-ekip-basi-yardimcisi { background: linear-gradient(135deg, #92400e, #d97706); } /* Bronz */

/* Üye Statüleri - Yeşil Tonları */
.badge-status.status-ekip-uyesi { background: linear-gradient(135deg, #166534, #22c55e); } /* Yeşil */
.badge-status.status-izci { background: linear-gradient(135deg, #166534, #22c55e); } /* Yeşil (eski için uyumluluk) */

/* Admin rozeti - yetki renkleri */
.badge-admin {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    display: inline-block;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-admin.is-admin { 
    background: linear-gradient(135deg, #dc2626, #ef4444); 
    color: white;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}
.badge-admin.is-user {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
}

/* ═══════════════════════════════════════════════════════════
   TEAM GROUPS
   ═══════════════════════════════════════════════════════════ */
.team-group {
    background: var(--surface);
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow);
    margin-bottom: 32px;
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
    transition: all 0.3s ease;
}

.team-group:hover {
    box-shadow: 0 8px 30px var(--shadow-hover);
}

.team-group-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Farklı ekip renkleri - göz yorgunluğunu azaltmak için */
.team-group:nth-child(6n+1) .team-group-header {
    background: linear-gradient(135deg, #1e7b46, #2d9d5c);
}
.team-group:nth-child(6n+2) .team-group-header {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
}
.team-group:nth-child(6n+3) .team-group-header {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}
.team-group:nth-child(6n+4) .team-group-header {
    background: linear-gradient(135deg, #db2777, #ec4899);
}
.team-group:nth-child(6n+5) .team-group-header {
    background: linear-gradient(135deg, #ea580c, #f97316);
}
.team-group:nth-child(6n+6) .team-group-header {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
}

.team-group-header i {
    font-size: 24px;
    color: white;
}

.team-group-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 0;
    flex: 1;
}

.team-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.team-members {
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.member-card {
    background: var(--background);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.member-card:hover {
    background: var(--surface);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px var(--shadow);
}

.member-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.member-card:hover .member-avatar {
    transform: scale(1.1);
}

.member-info {
    flex: 1;
    min-width: 0;
}

.member-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-role {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 600;
    width: fit-content;
}

/* Statü renkleri */
/* Lider Statüleri - Mavi Tonları */
.member-role.status-lider {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: #fff;
}

.member-role.status-yardimci-lider {
    background: linear-gradient(135deg, #1d4ed8, #60a5fa);
    color: #fff;
}

.member-role.status-lider-gonullusu {
    background: linear-gradient(135deg, #0284c7, #38bdf8);
    color: #fff;
}

/* Ekip Statüleri - Altın/Gümüş/Bronz */
.member-role.status-kidemli-ekip-basi {
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: #5c4300;
}

.member-role.status-ekip-basi {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    color: #333;
}

.member-role.status-ekip-basi-yardimcisi {
    background: linear-gradient(135deg, #cd7f32, #b5651d);
    color: #fff;
}

/* Üye Statüleri */
.member-role.status-ekip-uyesi {
    background: linear-gradient(135deg, #166534, #22c55e);
    color: #fff;
}

.member-role.status-izci {
    background: rgba(var(--primary-rgb), 0.15);
    color: var(--primary);
}

.member-role i {
    font-size: 14px;
}

/* ═══════════════════════════════════════════════════════════
   EVENT CARDS
   ═══════════════════════════════════════════════════════════ */
.event-card {
    background: var(--surface);
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    animation: slideUp 0.6s ease-out;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px var(--shadow-hover);
}

.event-card-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.event-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.event-card-header h4 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.4;
}

.event-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    line-height: 1.5;
}

.spots-left {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 6px;
}

.spots-critical {
    color: var(--danger-color) !important;
    font-weight: 600;
}

.event-card-body {
    padding: 20px;
    flex: 1;
}

.event-info-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.event-info-row:last-child {
    margin-bottom: 0;
}

.event-info-row i {
    font-size: 16px;
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.event-card-footer {
    padding: 0 20px 20px;
}

.btn-apply {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-apply::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-apply:hover::before {
    width: 300px;
    height: 300px;
}

.btn-apply:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow);
}

/* Button States */
.btn-applied {
    width: 100%;
    background: var(--success);
    color: var(--primary-dark);
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: not-allowed;
    opacity: 0.9;
}

.btn-disabled {
    width: 100%;
    background: var(--border);
    color: var(--text-secondary);
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════
   EMPTY STATES
   ═══════════════════════════════════════════════════════════ */
.empty-state {
    text-align: center;
    padding: 60px 40px;
    background: var(--surface);
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow);
    animation: fadeIn 0.6s ease-out;
}

.empty-state-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 48px;
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

.empty-state h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.empty-state p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.status-waiting {
    background: #fff3cd;
    color: #856404;
}

.timeline-status {
    margin: 8px 0 0;
}

/* ═══════════════════════════════════════════════════════════
   TIMELINE
   ═══════════════════════════════════════════════════════════ */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
    animation: slideUp 0.6s ease-out;
}

.timeline-marker {
    position: absolute;
    left: -34px;
    top: 8px;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border: 3px solid var(--surface);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--accent);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.3);
    box-shadow: 0 0 0 6px var(--accent);
}

.timeline-content {
    background: var(--surface);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
}

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 25px var(--shadow-hover);
}

.timeline-date {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.timeline-date::before {
    content: '📅';
    font-size: 14px;
}

.timeline-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.timeline-location {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.timeline-location i {
    color: var(--primary);
}

.timeline-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   ADMIN MODE
   ═══════════════════════════════════════════════════════════ */
.admin-mode .dashboard-header {
    background: linear-gradient(135deg, var(--admin-primary), var(--admin-secondary));
}

.admin-logo {
    background: rgba(255, 255, 255, 0.2) !important;
}

.admin-nav .nav-link.active {
    background: var(--admin-primary);
    border-color: var(--admin-primary);
}

.admin-nav .nav-link:hover {
    color: var(--admin-primary);
}

.admin-filter {
    min-width: 180px;
}

.admin-filter .form-select {
    border-radius: 12px;
    border: 2px solid var(--border);
    background: var(--surface);
    color: var(--text-primary);
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2322c55e' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 12px;
    padding-right: 40px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.admin-filter .form-select:hover {
    border-color: var(--primary);
    background-color: rgba(34, 197, 94, 0.1);
}

.admin-filter .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
    background-color: var(--surface);
    outline: none;
}

.admin-filter .form-select option {
    padding: 12px;
    font-size: 14px;
    background: var(--bg);
    color: var(--text-primary);
}

.admin-search {
    position: relative;
    min-width: 350px;
    max-width: 500px;
    flex: 1;
}

.admin-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 18px;
}

.admin-search .form-control {
    padding-left: 48px;
}

/* ═══════════════════════════════════════════════════════════
   ADMIN TABLE
   ═══════════════════════════════════════════════════════════ */
.admin-table-wrapper {
    background: var(--surface);
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow);
    overflow-x: auto !important;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    animation: slideUp 0.6s ease-out;
    display: block;
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* Mobil dokunmatik scroll için */
.admin-table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.admin-table-wrapper::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 4px;
}

.admin-table-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

body.dark-mode .admin-table-wrapper::-webkit-scrollbar-track {
    background: #1f2937;
}

.admin-table {
    width: 100%;
    min-width: 1400px;
    border-collapse: collapse;
    font-size: 13px;
    display: table;
}

.admin-table thead {
    background: linear-gradient(135deg, var(--admin-primary), var(--admin-secondary));
}

.admin-table thead th {
    padding: 14px 12px;
    text-align: left;
    color: white;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.admin-table thead th::after {
    content: '\f282';
    font-family: 'bootstrap-icons';
    margin-left: 6px;
    font-size: 10px;
    opacity: 0.4;
    transition: opacity 0.2s;
}

.admin-table thead th:hover::after {
    opacity: 1;
}

.admin-table thead th.sorted-asc::after {
    content: '\f286';
    opacity: 1;
}

.admin-table thead th.sorted-desc::after {
    content: '\f282';
    opacity: 1;
}

.admin-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: all 0.2s ease;
}

.admin-table tbody tr:hover {
    background: var(--background);
}

.admin-table tbody td {
    padding: 12px 10px;
    color: var(--text-primary);
    font-size: 13px;
    vertical-align: middle;
    white-space: nowrap;
}

/* Telefon sütunu için özel stil */
.admin-table tbody td.phone-cell,
.admin-table tbody td:nth-child(5) {
    white-space: nowrap;
}

/* Ekip ve statü badge boyutları */
.admin-table .badge-team,
.admin-table .badge-status {
    font-size: 11px;
    padding: 4px 8px;
    white-space: nowrap;
    display: inline-block;
}

/* ═══════════════════════════════════════════════════════════
   ADMIN EVENT CARD
   ═══════════════════════════════════════════════════════════ */
.admin-event-card {
    background: var(--surface);
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow);
    margin-bottom: 24px;
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}

.admin-event-header {
    background: linear-gradient(135deg, var(--admin-primary), var(--admin-secondary));
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-event-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-event-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 0;
}

.admin-event-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.admin-event-stats-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}

.admin-event-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: 1;
}

.admin-event-stats .stat-item {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-event-stats .stat-confirmed {
    background: rgba(34, 197, 94, 0.3);
}

.admin-event-stats .stat-pending {
    background: rgba(234, 179, 8, 0.3);
}

.admin-event-stats .stat-spots {
    background: rgba(59, 130, 246, 0.3);
}

.admin-event-stats .stat-cancelled {
    background: rgba(107, 114, 128, 0.4);
    color: #4b5563;
}

body.dark-mode .admin-event-stats .stat-cancelled {
    background: rgba(156, 163, 175, 0.3);
    color: #9ca3af;
}

.admin-event-stats .stat-male {
    background: rgba(59, 130, 246, 0.5);
    color: #1d4ed8;
    font-weight: 600;
}

body.dark-mode .admin-event-stats .stat-male {
    background: rgba(59, 130, 246, 0.4);
    color: #60a5fa;
}

.admin-event-stats .stat-female {
    background: rgba(236, 72, 153, 0.5);
    color: #be185d;
    font-weight: 600;
}

body.dark-mode .admin-event-stats .stat-female {
    background: rgba(236, 72, 153, 0.4);
    color: #f472b6;
}

.admin-event-stats .stat-leader {
    background: rgba(168, 85, 247, 0.5);
    color: #7c3aed;
    font-weight: 600;
}

body.dark-mode .admin-event-stats .stat-leader {
    background: rgba(168, 85, 247, 0.4);
    color: #c084fc;
}

.admin-event-settings {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.admin-event-settings .form-check-input {
    width: 2.5em;
    height: 1.25em;
    cursor: pointer;
    background-color: #22c55e;
    border-color: #22c55e;
}

.admin-event-settings .form-check-input:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.admin-event-settings .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(34, 197, 94, 0.25);
}

.admin-event-settings .form-check-input:checked:focus {
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

.admin-event-settings .form-check-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    cursor: pointer;
}

body.dark-mode .admin-event-settings {
    background: rgba(0, 0, 0, 0.3);
}

body.dark-mode .admin-event-settings .form-check-label {
    color: rgba(255, 255, 255, 0.85);
}

/* Liderler hariç/dahil durumu */
.leaders-status {
    font-weight: 500;
    margin-left: 4px;
}

.leaders-status.leaders-excluded {
    color: #22c55e !important;
}

.leaders-status.leaders-included {
    color: #3b82f6 !important;
}

.event-dates {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Participants Header with Export Buttons */
.participants-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}

.participants-header h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.participants-header h5 i {
    color: var(--admin-primary);
}

.participants-export-buttons {
    display: flex;
    gap: 8px;
}

.participants-export-buttons .btn {
    font-size: 12px;
    padding: 4px 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.participants-export-buttons .btn i {
    font-size: 14px;
}

.admin-event-body {
    padding: 24px;
}

.admin-event-body h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-event-body h5 i {
    color: var(--admin-primary);
}

.participants-table {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
    overflow-x: scroll !important;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    display: block;
    width: 100%;
    max-width: 100%;
}

/* Participants table scrollbar */
.participants-table::-webkit-scrollbar {
    height: 8px;
}

.participants-table::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 4px;
}

.participants-table::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.participants-table table {
    width: 100%;
    min-width: 800px;
    margin: 0;
    display: table;
}

/* Mobil için tablo hücreleri nowrap */
.participants-table th,
.participants-table td {
    white-space: nowrap;
}

body.dark-mode .participants-table {
    background: #0d1117 !important;
}

body.dark-mode .participants-table::-webkit-scrollbar-track {
    background: #1f2937;
}

body.dark-mode .participants-table table {
    background: transparent !important;
}

.participants-table th {
    font-size: 13px;
    font-weight: 600;
    color: #6c757d;
    border-bottom: 2px solid #dee2e6;
    padding: 10px 8px;
    background: transparent;
}

body.dark-mode .participants-table th {
    color: #8b949e !important;
    border-bottom-color: #30363d !important;
    background: #161b22 !important;
}

.participants-table td {
    font-size: 14px;
    color: #212529;
    padding: 10px 8px;
    border-bottom: 1px solid #dee2e6;
    background: transparent;
}

body.dark-mode .participants-table td {
    color: #c9d1d9 !important;
    border-bottom-color: #21262d !important;
    background: transparent !important;
}

.participants-table tr:last-child td {
    border-bottom: none;
}

body.dark-mode .participants-table tbody tr {
    background: #0d1117 !important;
}

body.dark-mode .participants-table tbody tr:nth-child(even) {
    background: #161b22 !important;
}

body.dark-mode .participants-table tbody tr:hover {
    background: #1f2937 !important;
}

/* Katılımcı satır durumları */
/* Katılımcı satır durumları */
.participant-row.row-attended {
    background: rgba(59, 130, 246, 0.1); /* Mavi */
}

.participant-row.row-absent {
    background: rgba(239, 68, 68, 0.1); /* Kırmızı */
}

.participant-row.row-pending {
    background: rgba(234, 179, 8, 0.1); /* Sarı */
}

.participant-row.row-missed {
    background: rgba(180, 130, 0, 0.15); /* Koyu Sarı */
}

/* İşlem butonları */
.action-buttons {
    display: flex;
    gap: 6px;
    white-space: nowrap;
}

.action-buttons .btn-sm {
    padding: 4px 8px;
    font-size: 14px;
    border-radius: 6px;
}

.action-buttons .btn-sm i {
    font-size: 14px;
}

/* Koyu Sarı buton (Katılacaktı) */
.btn-dark-warning {
    background-color: #b48200;
    border-color: #b48200;
    color: white;
}

.btn-dark-warning:hover {
    background-color: #8f6700;
    border-color: #8f6700;
    color: white;
}

.btn-outline-dark-warning {
    color: #b48200;
    border-color: #b48200;
    background-color: transparent;
}

.btn-outline-dark-warning:hover {
    background-color: #b48200;
    color: white;
}

/* Badge koyu sarı */
.bg-dark-warning {
    background-color: #b48200 !important;
    color: white !important;
}

/* İstatistik renkleri */
.admin-event-stats .stat-total {
    background: rgba(107, 114, 128, 0.3);
}

.admin-event-stats .stat-pending {
    background: rgba(234, 179, 8, 0.3);
}

.admin-event-stats .stat-attended {
    background: rgba(59, 130, 246, 0.3);
}

.admin-event-stats .stat-absent {
    background: rgba(239, 68, 68, 0.3);
}

.admin-event-stats .stat-missed {
    background: rgba(180, 130, 0, 0.3);
}

.admin-event-stats .stat-capacity {
    background: rgba(107, 114, 128, 0.2);
}

/* Bitmiş etkinlik kartı */
.admin-event-card.event-ended {
    opacity: 0.85;
}

.admin-event-card.event-ended .admin-event-header {
    background: linear-gradient(135deg, #4b5563, #6b7280);
}

.participants-list {
    background: var(--background);
    border-radius: 12px;
    padding: 16px;
    max-height: 400px;
    overflow-y: auto;
}

.participant-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--surface);
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.participant-item:last-child {
    margin-bottom: 0;
}

.participant-item:hover {
    background: var(--accent);
    transform: translateX(5px);
}

.participant-item i {
    font-size: 18px;
    color: var(--admin-primary);
}

.participant-item span {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.participant-item small {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 400;
}

.participant-status {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.participant-status.status-approved {
    background: #d4edda;
    color: #155724;
}

.participant-status.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.participant-status.status-waiting {
    background: #fff3cd;
    color: #856404;
}

/* ═══════════════════════════════════════════════════════════
   ADMIN TEAM CARD
   ═══════════════════════════════════════════════════════════ */
.admin-team-card {
    background: var(--surface);
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow);
    margin-bottom: 24px;
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}

.admin-team-header {
    background: linear-gradient(135deg, var(--admin-primary), var(--admin-secondary));
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-team-header i {
    font-size: 24px;
    color: white;
}

.admin-team-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 0;
    flex: 1;
}

.admin-team-members {
    padding: 24px;
}

.admin-member-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--background);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--admin-primary);
}

.admin-member-row:last-child {
    margin-bottom: 0;
}

.admin-member-row:hover {
    background: var(--surface);
    transform: translateX(5px);
    box-shadow: 0 4px 15px var(--shadow);
}

.member-avatar-small {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--admin-primary), var(--admin-secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.admin-member-row:hover .member-avatar-small {
    transform: scale(1.1);
}

.admin-member-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-member-details strong {
    font-size: 15px;
    color: var(--text-primary);
}

.admin-member-details span {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 400;
}

.member-info-line {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.member-info-line i {
    font-size: 11px;
    color: var(--primary);
    width: 14px;
}

.admin-member-role {
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE DESIGN - Mobil Uyumlu
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
    .dashboard-nav {
        top: auto;
        position: relative;
    }
    
    .team-members {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    /* Admin table mobile scroll - ÖNEMLİ */
    .admin-table-wrapper {
        overflow-x: scroll !important;
        -webkit-overflow-scrolling: touch;
        margin: 0 -12px;
        padding: 0 12px;
        display: block;
        width: calc(100% + 24px);
        touch-action: pan-x pan-y;
    }
    
    .admin-table {
        min-width: 1200px;
        font-size: 13px;
        display: table;
        width: max-content;
    }
    
    .admin-table thead th,
    .admin-table tbody td {
        padding: 12px 10px;
        white-space: nowrap;
    }
    
    .section-header {
        flex-direction: column;
        gap: 16px;
    }
    
    .section-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .admin-search {
        max-width: 100%;
        width: 100%;
    }
    
    .btn-export {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .login-card {
        padding: 28px 20px;
        margin: 16px;
        border-radius: 16px;
    }
    
    .login-title {
        font-size: 24px;
    }
    
    .login-subtitle {
        font-size: 14px;
    }
    
    .dashboard-header .col-auto {
        flex-wrap: wrap;
        gap: 4px !important;
    }
    
    .btn-header {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .dashboard-header {
        padding: 12px 0;
    }
    
    .dashboard-header .container {
        padding: 0 12px;
    }
    
    .header-logo {
        width: 40px;
        height: 40px;
        font-size: 20px;
        margin-right: 10px;
        border-radius: 10px;
    }
    
    .header-title {
        font-size: 16px;
    }
    
    .header-subtitle {
        font-size: 11px;
        display: none;
    }
    
    .dashboard-nav {
        padding: 10px 0;
        position: relative;
        top: auto;
    }
    
    .dashboard-nav .container {
        padding: 0 8px;
    }
    
    .dashboard-nav .nav-pills {
        gap: 4px;
        justify-content: center;
    }
    
    .dashboard-nav .nav-link {
        padding: 8px 12px;
        font-size: 12px;
        border-radius: 10px;
    }
    
    .dashboard-nav .nav-link span {
        display: none;
    }
    
    .dashboard-nav .nav-link i {
        font-size: 18px;
    }
    
    .dashboard-content {
        padding: 16px 0 32px;
    }
    
    .dashboard-content .container {
        padding: 0 12px;
    }
    
    .section-header {
        margin-bottom: 16px;
    }
    
    .section-header h2 {
        font-size: 18px;
        flex-wrap: wrap;
    }
    
    .section-header h2 i {
        font-size: 22px;
    }
    
    .info-card {
        border-radius: 14px;
    }
    
    .info-card-header {
        padding: 14px 16px;
    }
    
    .info-card-body {
        padding: 16px;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 12px 0;
    }
    
    .info-label {
        font-size: 12px;
    }
    
    .info-value {
        text-align: left;
        font-size: 14px;
    }
    
    .team-group {
        border-radius: 14px;
    }
    
    .team-members {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 10px;
    }
    
    .member-card {
        padding: 12px;
        border-radius: 12px;
    }
    
    .timeline {
        padding-left: 24px;
    }
    
    .timeline-marker {
        left: -21px;
        width: 12px;
        height: 12px;
    }
    
    .timeline-content {
        padding: 14px;
        border-radius: 12px;
    }
    
    .admin-event-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 16px;
    }
    
    .admin-event-header h3 {
        font-size: 16px;
    }
    
    .admin-member-row {
        flex-wrap: wrap;
        padding: 12px;
        gap: 10px;
    }
    
    .admin-table-wrapper {
        border-radius: 12px;
        overflow-x: scroll !important;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x pan-y;
    }
    
    .admin-table {
        min-width: 1000px;
        width: max-content;
    }
    
    .admin-table thead th {
        font-size: 11px;
        padding: 10px 8px;
    }
    
    .admin-table tbody td {
        font-size: 12px;
        padding: 10px 8px;
    }
    
    .btn-outline-light {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .btn-outline-light span {
        display: none !important;
    }
}

@media (max-width: 575px) {
    .login-wrapper {
        padding: 12px;
    }
    
    .login-logo {
        width: 60px;
        height: 60px;
        font-size: 28px;
        border-radius: 14px;
    }
    
    .login-title {
        font-size: 22px;
    }
    
    .form-control {
        padding: 12px 14px;
        font-size: 15px;
        border-radius: 10px;
    }
    
    .btn-login {
        padding: 12px 20px;
        font-size: 15px;
        border-radius: 10px;
    }
    
    .event-card {
        border-radius: 14px;
    }
    
    .event-card-header {
        padding: 14px;
    }
    
    .event-card-body {
        padding: 14px;
    }
    
    .empty-state {
        padding: 32px 20px;
        border-radius: 14px;
    }
    
    .empty-state-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
    
    .empty-state h3 {
        font-size: 18px;
    }
    
    .empty-state p {
        font-size: 14px;
    }
}

/* ═══════════════════════════════════════════════════════════
   SCROLLBAR STYLING
   ═══════════════════════════════════════════════════════════ */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

html {
    scrollbar-color: var(--primary) #f1f1f1;
    scrollbar-width: thin;
}

/* Dark Mode Scrollbar - GLOBAL */
:root.dark-mode,
html.dark-mode,
body.dark-mode {
    scrollbar-color: var(--primary) #0d1117 !important;
}

:root.dark-mode ::-webkit-scrollbar-track,
html.dark-mode ::-webkit-scrollbar-track,
body.dark-mode ::-webkit-scrollbar-track,
.dark-mode ::-webkit-scrollbar-track,
.dark-mode *::-webkit-scrollbar-track {
    background: #0d1117 !important;
}

:root.dark-mode ::-webkit-scrollbar-thumb,
html.dark-mode ::-webkit-scrollbar-thumb,
body.dark-mode ::-webkit-scrollbar-thumb,
.dark-mode ::-webkit-scrollbar-thumb,
.dark-mode *::-webkit-scrollbar-thumb {
    background: var(--primary) !important;
}

:root.dark-mode ::-webkit-scrollbar-thumb:hover,
html.dark-mode ::-webkit-scrollbar-thumb:hover,
body.dark-mode ::-webkit-scrollbar-thumb:hover,
.dark-mode ::-webkit-scrollbar-thumb:hover,
.dark-mode *::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light) !important;
}

/* ═══════════════════════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════════════════════ */
@media print {
    .dashboard-header,
    .dashboard-nav,
    .btn,
    button {
        display: none !important;
    }
    
    body {
        background: white;
    }
    
    .info-card,
    .team-group,
    .event-card,
    .admin-table-wrapper {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}

/* ═══════════════════════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════════════════════ */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

*:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════
   LOADING STATES
   ═══════════════════════════════════════════════════════════ */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════ */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-lg-hover {
    transition: box-shadow 0.3s ease;
}

.shadow-lg-hover:hover {
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

/* ═══════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ═══════════════════════════════════════════════════════════ */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast-notification {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--surface);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateX(120%);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
    min-width: 300px;
    max-width: 400px;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-notification.hide {
    transform: translateX(120%);
    opacity: 0;
}

.toast-notification i:first-child {
    font-size: 24px;
    flex-shrink: 0;
}

.toast-notification span {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.toast-close {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close:hover {
    color: var(--text-primary);
}

.toast-success {
    border-left: 4px solid var(--primary);
}

.toast-success i:first-child {
    color: var(--primary);
}

.toast-error {
    border-left: 4px solid var(--admin-primary);
}

.toast-error i:first-child {
    color: var(--admin-primary);
}

.toast-warning {
    border-left: 4px solid var(--admin-secondary);
}

.toast-warning i:first-child {
    color: var(--admin-secondary);
}

.toast-info {
    border-left: 4px solid #0dcaf0;
}

.toast-info i:first-child {
    color: #0dcaf0;
}

/* ═══════════════════════════════════════════════════════════
   MICRO ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px var(--primary); }
    50% { box-shadow: 0 0 20px var(--primary), 0 0 30px var(--secondary); }
}

.animate-bounce {
    animation: bounce 0.6s ease-in-out;
}

.animate-shake {
    animation: shake 0.4s ease-in-out;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* Card hover micro-interactions */
.info-card:hover .info-card-header i,
.team-group:hover .team-group-header i,
.event-card:hover .event-icon {
    animation: bounce 0.6s ease-in-out;
}

/* Button ripple effect */
.btn-apply:active,
.btn-login:active {
    transform: scale(0.98);
}

/* Form input focus glow - subtle version */
.form-control:focus {
    box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.15);
}

/* Stagger animation for lists - visibility preserved */
.team-members .member-card,
.timeline-item,
.participant-item {
    opacity: 1; /* Always visible - no fade issues */
}

/* Navbar pill hover effect */
.dashboard-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 3px;
}

.dashboard-nav .nav-link:hover::after {
    width: 80%;
}

.dashboard-nav .nav-link.active::after {
    width: 0;
}

/* Table row hover highlight */
.admin-table tbody tr {
    transition: background 0.2s ease;
}

/* Avatar pulse on hover */
.member-avatar:hover,
.member-avatar-small:hover {
    animation: pulse 0.5s ease-in-out;
}

@media (max-width: 767px) {
    .toast-container {
        top: auto;
        bottom: 20px;
        left: 20px;
        right: 20px;
    }
    
    .toast-notification {
        min-width: auto;
        max-width: none;
    }
}

/* ═══════════════════════════════════════════════════════════
   DARK MODE
   ═══════════════════════════════════════════════════════════ */
body.dark-mode {
    background: linear-gradient(145deg, #1a2e1f 0%, #243328 50%, #2d3f32 100%);
    color: #e8f5e9;
}

body.dark-mode {
    --background: #1e2d23;
    --surface: #263830;
    --surface-alt: #2d4035;
    --text-primary: #e8f5e9;
    --text-secondary: #a8c4ad;
    --border: #3d5a45;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-hover: rgba(0, 0, 0, 0.4);
}

body.dark-mode .login-card,
body.dark-mode .info-card,
body.dark-mode .team-group,
body.dark-mode .event-card,
body.dark-mode .admin-table-wrapper {
    background: var(--surface);
    border-color: var(--border);
}

/* Dark mode info-row stilleri */
body.dark-mode .info-row {
    border-bottom-color: #2d2d44;
}

body.dark-mode .info-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .info-label {
    color: #9ca3af;
}

body.dark-mode .info-value {
    color: #e5e7eb;
}

body.dark-mode .admin-event-card {
    background: #0f0f1a;
    border-color: #2d2d44;
}

body.dark-mode .admin-event-card .admin-event-body {
    background: #0f0f1a;
}

body.dark-mode .admin-event-card .admin-event-body h5 {
    color: #e0e0e0;
}

body.dark-mode .admin-team-card,
body.dark-mode .empty-state {
    background: var(--surface);
    border-color: var(--border);
}

/* Admin event katılımcı tablosu dark mode */
body.dark-mode .participants-table {
    background: #0f0f1a;
    border-radius: 8px;
    overflow: hidden;
}

body.dark-mode .participants-table th {
    color: #a0a0b0;
    border-bottom-color: #2d2d44;
}

body.dark-mode .participants-table tr:hover {
    background: #252540 !important;
}

/* Attendance Switch Styling */
.attendance-switch {
    display: flex;
    gap: 4px;
    border-radius: 8px;
    padding: 2px;
    background: rgba(0,0,0,0.1);
}

.switch-btn {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.switch-btn.switch-geldi {
    color: #16a34a;
    background: transparent;
}

.switch-btn.switch-geldi:hover {
    background: rgba(22, 163, 74, 0.1);
}

.switch-btn.switch-geldi.active {
    background: #16a34a;
    color: white;
}

.switch-btn.switch-gelmedi {
    color: #dc2626;
    background: transparent;
}

.switch-btn.switch-gelmedi:hover {
    background: rgba(220, 38, 38, 0.1);
}

.switch-btn.switch-gelmedi.active {
    background: #dc2626;
    color: white;
}

body.dark-mode .attendance-switch {
    background: rgba(255,255,255,0.05);
}

body.dark-mode .switch-btn.switch-geldi {
    color: #4ade80;
}

body.dark-mode .switch-btn.switch-geldi:hover {
    background: rgba(74, 222, 128, 0.15);
}

body.dark-mode .switch-btn.switch-geldi.active {
    background: #16a34a;
    color: white;
}

body.dark-mode .switch-btn.switch-gelmedi {
    color: #f87171;
}

body.dark-mode .switch-btn.switch-gelmedi:hover {
    background: rgba(248, 113, 113, 0.15);
}

body.dark-mode .switch-btn.switch-gelmedi.active {
    background: #dc2626;
    color: white;
}

body.dark-mode .form-control {
    background: var(--surface-alt);
    border-color: var(--border);
    color: var(--text-primary);
}

body.dark-mode .form-control:focus {
    background: var(--surface);
    border-color: var(--primary);
}

body.dark-mode .form-select {
    background-color: var(--surface-alt);
    border-color: var(--border);
    color: var(--text-primary);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23adb5bd' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

body.dark-mode .form-select:focus {
    background-color: var(--surface);
    border-color: var(--primary);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.25rem rgba(45, 106, 79, 0.25);
}

body.dark-mode .form-select option {
    background-color: var(--surface);
    color: var(--text-primary);
}

body.dark-mode .modal-body .form-select,
body.dark-mode #participantsViewFilter,
body.dark-mode .admin-participants-filter {
    background-color: var(--surface-alt) !important;
    border-color: var(--border) !important;
    color: var(--text-primary) !important;
}

body.dark-mode .modal-body .form-select:focus,
body.dark-mode #participantsViewFilter:focus,
body.dark-mode .admin-participants-filter:focus {
    background-color: var(--surface) !important;
    border-color: var(--primary) !important;
}

body.dark-mode input[type="text"],
body.dark-mode input[type="number"],
body.dark-mode input[type="search"],
body.dark-mode input[type="tel"],
body.dark-mode textarea {
    background-color: var(--surface-alt) !important;
    border-color: var(--border) !important;
    color: var(--text-primary) !important;
}

body.dark-mode input::placeholder {
    color: var(--text-secondary) !important;
}

body.dark-mode .dashboard-nav {
    background: var(--surface);
    border-color: var(--border);
}

body.dark-mode .admin-table tbody tr:hover {
    background: var(--surface-alt);
}

body.dark-mode .modal-content {
    background: var(--surface);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

body.dark-mode .modal-header {
    background: var(--surface-alt);
    border-bottom: 1px solid var(--border);
}

body.dark-mode .modal-header .modal-title {
    color: var(--text-primary);
}

body.dark-mode .modal-header .btn-close {
    filter: invert(1);
}

body.dark-mode .modal-body {
    color: var(--text-primary);
    background: var(--surface);
}

body.dark-mode .modal-body label,
body.dark-mode .modal-body .form-check-label {
    color: var(--text-primary);
}

body.dark-mode .modal-body .form-check-input {
    background-color: var(--surface-alt);
    border-color: var(--border);
}

body.dark-mode .modal-body .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

body.dark-mode .modal-footer {
    background: var(--surface-alt);
    border-top: 1px solid var(--border);
}

body.dark-mode .btn-outline-secondary {
    color: var(--text-primary);
    border-color: var(--border);
}

body.dark-mode .btn-outline-secondary:hover {
    background: var(--surface-alt);
    color: var(--text-primary);
}

body.dark-mode .btn-secondary {
    background: var(--surface-alt);
    border-color: var(--border);
    color: var(--text-primary);
}

/* Modal içindeki küçük yazılar ve muted text */
body.dark-mode .modal-body small,
body.dark-mode .modal-body .text-muted,
body.dark-mode .modal .text-muted,
body.dark-mode .text-muted {
    color: var(--text-secondary) !important;
}

body.dark-mode .modal-body p,
body.dark-mode .modal-body span {
    color: var(--text-primary);
}

/* Participants table dark mode - tablo başlıkları ve satırlar */
body.dark-mode .participants-table thead {
    background: #1a1a2e;
}

body.dark-mode .participants-table thead th {
    color: #e0e0e0;
    background: #1a1a2e;
}

body.dark-mode .participants-table tbody tr {
    background: #16213e;
}

body.dark-mode .participants-table tbody tr:nth-child(even) {
    background: #1a1a2e;
}

body.dark-mode .participant-row.row-attended {
    background: rgba(34, 197, 94, 0.15) !important;
}

body.dark-mode .participant-row.row-absent {
    background: rgba(239, 68, 68, 0.15) !important;
}

body.dark-mode .participant-row.row-pending {
    background: rgba(234, 179, 8, 0.15) !important;
}

body.dark-mode .participant-row.row-missed {
    background: rgba(180, 130, 0, 0.15) !important;
}

body.dark-mode .participants-table td {
    color: #e0e0e0;
    border-bottom-color: #2d2d44;
}

/* ═══════════════════════════════════════════════════════════
   PRIVACY MODE (Gizli Mod)
   ═══════════════════════════════════════════════════════════ */
body.privacy-mode .privacy-sensitive {
    filter: blur(6px);
    user-select: none;
    transition: filter 0.2s ease;
}

body.privacy-mode .privacy-sensitive:hover {
    filter: blur(3px);
}

body.privacy-mode .admin-table td:nth-child(2), /* TC */
body.privacy-mode .admin-table td:nth-child(5) { /* Telefon */
    filter: blur(5px);
    user-select: none;
}

body.privacy-mode .admin-table td:nth-child(2):hover,
body.privacy-mode .admin-table td:nth-child(5):hover {
    filter: blur(2px);
}

/* ═══════════════════════════════════════════════════════════
   TEAM COLORS - Her ekibe özel renk (admin-team-header ve team-group-header için)
   ═══════════════════════════════════════════════════════════ */
/* Liderler Ekibi - Altın */
.admin-team-header.team-liderler,
.team-group-header.team-liderler {
    background: linear-gradient(135deg, #b45309, #f59e0b) !important;
}

/* Erkek Ekipleri */
.admin-team-header.team-sehit-yuzbasi,
.team-group-header.team-sehit-yuzbasi {
    background: linear-gradient(135deg, #1e40af, #3b82f6) !important;
}
.admin-team-header.team-attila,
.team-group-header.team-attila {
    background: linear-gradient(135deg, #0e7490, #22d3ee) !important;
}
.admin-team-header.team-enver-pasa,
.team-group-header.team-enver-pasa {
    background: linear-gradient(135deg, #4f46e5, #818cf8) !important;
}
.admin-team-header.team-sutcu-imam,
.team-group-header.team-sutcu-imam {
    background: linear-gradient(135deg, #0f766e, #2dd4bf) !important;
}

/* Kız Ekipleri */
.admin-team-header.team-sabiha-gokcen,
.team-group-header.team-sabiha-gokcen {
    background: linear-gradient(135deg, #9333ea, #c084fc) !important;
}
.admin-team-header.team-nene-hatun,
.team-group-header.team-nene-hatun {
    background: linear-gradient(135deg, #be185d, #f472b6) !important;
}
.admin-team-header.team-tomris-hatun,
.team-group-header.team-tomris-hatun {
    background: linear-gradient(135deg, #059669, #34d399) !important;
}
.admin-team-header.team-boru-hatun,
.team-group-header.team-boru-hatun {
    background: linear-gradient(135deg, #7c3aed, #a78bfa) !important;
}
.admin-team-header.team-halide-edip,
.team-group-header.team-halide-edip {
    background: linear-gradient(135deg, #dc2626, #f87171) !important;
}
.admin-team-header.team-afife-jale,
.team-group-header.team-afife-jale {
    background: linear-gradient(135deg, #c026d3, #e879f9) !important;
}
.admin-team-header.team-turkay-saylan,
.team-group-header.team-turkay-saylan {
    background: linear-gradient(135deg, #0891b2, #67e8f9) !important;
}

/* Ekipsizler ve varsayılan - Gri (tek renk) */
.admin-team-header.team-default,
.team-group-header.team-default,
.admin-team-header.team-ekipsiz,
.team-group-header.team-ekipsiz {
    background: linear-gradient(135deg, #64748b, #94a3b8) !important;
}

/* Farklı badge renkleri */
.badge-team {
    background: var(--nature-forest);
}

.team-group:nth-child(odd) .badge-team {
    background: var(--nature-leaf);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 24px 0;
    margin-top: 40px;
    text-align: center;
}

.footer-contact {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-contact a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 12px;
    opacity: 0.8;
}

body.dark-mode .site-footer {
    background: var(--surface);
    border-color: var(--border);
}

/* ═══════════════════════════════════════════════════════════
   HEADER BUTTONS STYLING
   ═══════════════════════════════════════════════════════════ */
.btn-header.active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: white !important;
}

.btn-header.btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
}

.btn-header.btn-danger {
    background: #dc3545;
    border-color: #dc3545;
}

.btn-header.btn-danger:hover {
    background: #bb2d3b;
    border-color: #b02a37;
}

.btn-header.btn-primary {
    background: #0d6efd;
    border-color: #0d6efd;
}

.btn-header.btn-primary:hover {
    background: #0b5ed7;
    border-color: #0a58ca;
}

/* ═══════════════════════════════════════════════════════════
   INFO CARD RENK VARYASYONLARI
   ═══════════════════════════════════════════════════════════ */
.info-card:nth-child(odd) .info-card-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.info-card:nth-child(even) .info-card-header {
    background: linear-gradient(135deg, var(--nature-forest), var(--nature-leaf));
}

/* Event card renk varyasyonları */
.event-card:nth-child(3n+1) .event-card-header {
    background: linear-gradient(135deg, #3d8b5f, #5fa67a);
}

.event-card:nth-child(3n+2) .event-card-header {
    background: linear-gradient(135deg, #2d6a4f, #40916c);
}

.event-card:nth-child(3n) .event-card-header {
    background: linear-gradient(135deg, #52b788, #74c69d);
}

/* ═══════════════════════════════════════════════════════════
   EVENT PARTICIPANTS PREVIEW BUTTON
   ═══════════════════════════════════════════════════════════ */
.event-participants-preview {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.btn-view-participants {
    width: 100%;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-view-participants:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

body.dark-mode .btn-view-participants {
    border-color: var(--border);
    color: var(--text);
}

body.dark-mode .btn-view-participants:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ═══════════════════════════════════════════════════════════
   EVENT PARTICIPANTS MODAL (for regular users)
   ═══════════════════════════════════════════════════════════ */
#eventParticipantsModal .modal-content {
    border-radius: 16px;
    overflow: hidden;
}

#eventParticipantsModal .modal-header {
    border-bottom: none;
}

#eventParticipantsModal .modal-body {
    padding: 20px 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

#eventParticipantsModal .table {
    margin-bottom: 0;
    min-width: 500px;
}

#eventParticipantsModal .table th {
    background: rgba(45, 106, 79, 0.1);
    font-weight: 600;
    border-bottom: 2px solid var(--primary);
}

#eventParticipantsModal .table td {
    vertical-align: middle;
}

#eventParticipantsModal .table td strong {
    color: var(--text-primary);
}

body.dark-mode #eventParticipantsModal .modal-content {
    background: var(--surface);
    color: var(--text-primary);
}

body.dark-mode #eventParticipantsModal .modal-body {
    background: var(--surface);
}

body.dark-mode #eventParticipantsModal .table {
    color: var(--text-primary);
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-primary);
}

body.dark-mode #eventParticipantsModal .table th {
    background: rgba(45, 106, 79, 0.2);
    color: var(--text-primary);
}

body.dark-mode #eventParticipantsModal .table td {
    color: var(--text-primary);
    border-color: var(--border);
}

body.dark-mode #eventParticipantsModal .table td strong {
    color: var(--text-primary);
}

body.dark-mode #eventParticipantsModal .table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(255, 255, 255, 0.05);
    --bs-table-accent-bg: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

body.dark-mode #eventParticipantsModal .table-striped > tbody > tr:nth-of-type(even) > * {
    background-color: transparent;
    color: var(--text-primary);
}

body.dark-mode #eventParticipantsModal .table-hover > tbody > tr:hover > * {
    background-color: rgba(255, 255, 255, 0.1);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

body.dark-mode #eventParticipantsModal .modal-footer {
    background: var(--surface);
    border-top-color: var(--border);
}

body.dark-mode #eventParticipantsModal hr {
    border-color: var(--border);
}

body.dark-mode #eventParticipantsModal small {
    color: var(--text-secondary) !important;
}

/* ═══════════════════════════════════════════════════════════
   SPOTS LEFT & REGISTRATION STYLING
   ═══════════════════════════════════════════════════════════ */
.spots-left {
    font-size: 12px;
    color: var(--success);
    font-weight: 600;
}

.spots-left.spots-critical {
    color: var(--warning);
}

.btn-apply {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.4);
    color: white;
}

.btn-applied {
    background: var(--success) !important;
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: not-allowed;
}

.btn-disabled {
    background: var(--text-secondary);
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: not-allowed;
    opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════
   DARK MODE - ZORUNLU KOYU TABLO STİLLERİ
   Bootstrap stillerini override et
   ═══════════════════════════════════════════════════════════ */
body.dark-mode .admin-event-card {
    background: #0d1117 !important;
    border-color: #30363d !important;
}

body.dark-mode .admin-event-body {
    background: #0d1117 !important;
}

body.dark-mode .admin-event-body h5 {
    color: #e6edf3 !important;
}

body.dark-mode .participants-table,
body.dark-mode .participants-table .table,
body.dark-mode .participants-table table {
    background: #0d1117 !important;
    background-color: #0d1117 !important;
}

body.dark-mode .participants-table thead,
body.dark-mode .participants-table thead tr,
body.dark-mode .participants-table thead th {
    background: #161b22 !important;
    background-color: #161b22 !important;
    color: #8b949e !important;
    border-color: #30363d !important;
}

body.dark-mode .participants-table tbody,
body.dark-mode .participants-table tbody tr {
    background: #0d1117 !important;
    background-color: #0d1117 !important;
}

body.dark-mode .participants-table tbody tr:nth-child(even) {
    background: #161b22 !important;
    background-color: #161b22 !important;
}

body.dark-mode .participants-table tbody tr td {
    background: inherit !important;
    background-color: inherit !important;
    color: #c9d1d9 !important;
    border-color: #21262d !important;
}

body.dark-mode .participants-table tbody tr:hover,
body.dark-mode .participants-table tbody tr:hover td {
    background: #1f2937 !important;
    background-color: #1f2937 !important;
}

/* Durum satırları dark mode */
body.dark-mode .participant-row.row-attended,
body.dark-mode .participant-row.row-attended td {
    background: rgba(34, 197, 94, 0.15) !important;
}

body.dark-mode .participant-row.row-absent,
body.dark-mode .participant-row.row-absent td {
    background: rgba(239, 68, 68, 0.15) !important;
}

body.dark-mode .participant-row.row-pending,
body.dark-mode .participant-row.row-pending td {
    background: rgba(234, 179, 8, 0.15) !important;
}

body.dark-mode .participant-row.row-missed,
body.dark-mode .participant-row.row-missed td {
    background: rgba(100, 100, 100, 0.2) !important;
}

/* Bootstrap table override */
body.dark-mode .table,
body.dark-mode .table-sm {
    --bs-table-bg: transparent !important;
    --bs-table-color: #c9d1d9 !important;
    --bs-table-border-color: #30363d !important;
}

body.dark-mode .table > :not(caption) > * > * {
    background-color: inherit !important;
}

/* Input group dark mode - arama ikonu */
body.dark-mode .input-group-text {
    background-color: #21262d !important;
    border-color: #30363d !important;
    color: #8b949e !important;
}

body.dark-mode .input-group .form-control {
    background-color: #0d1117 !important;
    border-color: #30363d !important;
    color: #c9d1d9 !important;
}

body.dark-mode .input-group .form-control::placeholder {
    color: #6e7681 !important;
}

body.dark-mode .input-group .form-control:focus {
    background-color: #161b22 !important;
    border-color: #58a6ff !important;
    box-shadow: 0 0 0 0.25rem rgba(88, 166, 255, 0.25) !important;
}

/* ═══════════════════════════════════════════════════════════
   GEÇMİŞ ETKİNLİKLER (PAST EVENTS)
   ═══════════════════════════════════════════════════════════ */
.event-card.event-ended {
    opacity: 0.85;
    border-color: #6c757d !important;
}

.event-card.event-ended .event-card-header {
    background: linear-gradient(135deg, #6c757d, #5a6268) !important;
}

/* Geçmiş etkinlik kartları başlangıçta gizli - JS ile toggle edilir */
/* .event-card-wrapper.past-event başlangıçta d-none class'ı ile gizlenir */

/* Form switch geçmiş etkinlikler toggle - Light Mode */
.section-header .form-switch .form-check-input {
    cursor: pointer;
    background-color: #cbd5e1 !important;
    border-color: #94a3b8 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e") !important;
}

.section-header .form-switch .form-check-input:checked {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.section-header .form-switch .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(34, 197, 94, 0.25) !important;
    border-color: var(--primary) !important;
}

.section-header .form-check-label {
    color: #1f2937 !important;
    font-weight: 500;
}

/* Form switch geçmiş etkinlikler toggle - Dark Mode */
body.dark-mode .section-header .form-switch .form-check-input {
    background-color: #4a5568 !important;
    border-color: #4a5568 !important;
}

body.dark-mode .section-header .form-switch .form-check-input:checked {
    background-color: #22c55e !important;
    border-color: #22c55e !important;
}

body.dark-mode .section-header .form-check-label {
    color: #c9d1d9 !important;
}

body.dark-mode .event-card.event-ended {
    background: #1a1f24 !important;
    border-color: #4a5568 !important;
}

body.dark-mode .event-card.event-ended .event-card-header {
    background: linear-gradient(135deg, #4a5568, #3d4852) !important;
}

/* ═══════════════════════════════════════════════════════════
   İZCİLİK BİLGİLERİ KARTLARI
   ═══════════════════════════════════════════════════════════ */
.izcilik-card {
    background: var(--surface);
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.izcilik-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--shadow-hover);
}

/* ═══════════════════════════════════════════════════════════
   İZCİLİK NAVİGASYONU
   ═══════════════════════════════════════════════════════════ */
.izcilik-nav-wrapper {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 12px var(--shadow);
    border: 1px solid var(--border);
    overflow-x: auto;
}

.izcilik-nav {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    min-width: max-content;
}

.izcilik-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-muted);
    background: var(--bg);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    white-space: nowrap;
    font-size: 0.75rem;
    font-weight: 500;
}

.izcilik-nav-item i {
    font-size: 1.1rem;
}

.izcilik-nav-item span {
    font-size: 0.7rem;
}

.izcilik-nav-item:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .izcilik-nav-wrapper {
        padding: 12px;
        margin: 0 -12px;
        border-radius: 0;
    }
    
    .izcilik-nav-item {
        padding: 8px 10px;
    }
    
    .izcilik-nav-item i {
        font-size: 1rem;
    }
    
    .izcilik-nav-item span {
        font-size: 0.65rem;
    }
}

.izcilik-card-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: white;
}

.izcilik-card-and .izcilik-card-header {
    background: linear-gradient(135deg, #2d6a4f, #3d8b5f);
}

.izcilik-card-tureler .izcilik-card-header {
    background: linear-gradient(135deg, #1a5f7a, #0ea5e9);
}

.izcilik-card-parola .izcilik-card-header {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

.izcilik-card-slogan .izcilik-card-header {
    background: linear-gradient(135deg, #dc2626, #f87171);
}

.izcilik-card-selam .izcilik-card-header {
    background: linear-gradient(135deg, #ea580c, #fb923c);
}

.izcilik-card-tokalasma .izcilik-card-header {
    background: linear-gradient(135deg, #0891b2, #22d3ee);
}

.izcilik-card-amblem .izcilik-card-header {
    background: linear-gradient(135deg, #059669, #34d399);
}

.izcilik-card-tarih .izcilik-card-header {
    background: linear-gradient(135deg, #9333ea, #c084fc);
}

.izcilik-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.izcilik-card-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.izcilik-card-body {
    padding: 24px;
}

/* İzci Andı Quote */
.izcilik-quote {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-left: 4px solid var(--primary);
    padding: 24px;
    border-radius: 8px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-style: italic;
}

.izcilik-note {
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* İzci Türeleri Grid */
.izcilik-tureler-grid {
    display: grid;
    gap: 12px;
}

.ture-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.ture-item:hover {
    background: #f0fdf4;
    border-color: var(--primary);
    transform: translateX(4px);
}

.ture-number {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.ture-content strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.ture-content small {
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Parola ve Slogan Motto */
.izcilik-motto {
    text-align: center;
    padding: 24px;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-radius: 12px;
    margin-bottom: 16px;
}

.motto-text {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.motto-original {
    display: block;
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
}

.izcilik-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.izcilik-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #92400e;
}

.izcilik-badge i {
    font-size: 1.2rem;
}

/* İzci Selamı */
.selam-visual {
    text-align: center;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
}

.selam-hand {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.selam-desc {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.selam-meaning {
    background: #f0fdf4;
    padding: 16px;
    border-radius: 8px;
}

.selam-meaning h5 {
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.selam-meaning ul {
    padding-left: 20px;
    color: var(--text-secondary);
}

.selam-meaning li {
    margin-bottom: 8px;
}

/* İzci Tokalaşması */
.tokalasma-visual {
    text-align: center;
    padding: 24px;
    background: #f0f9ff;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 3rem;
    color: #0891b2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

/* Zambak Amblemi */
.zambak-symbol {
    font-size: 6rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.zambak-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zambak-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.zambak-item i {
    margin-top: 3px;
    flex-shrink: 0;
}

/* Tarih Timeline */
.tarih-timeline {
    position: relative;
    padding-left: 30px;
}

.tarih-timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #9333ea, #c084fc);
    border-radius: 2px;
}

.tarih-item {
    position: relative;
    display: flex;
    gap: 20px;
    padding-bottom: 24px;
}

.tarih-item:last-child {
    padding-bottom: 0;
}

.tarih-item::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: #9333ea;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #9333ea;
}

.tarih-yil {
    font-weight: 700;
    font-size: 1.1rem;
    color: #9333ea;
    flex-shrink: 0;
    min-width: 50px;
}

.tarih-content strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.tarih-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════
   İZCİLİK KARTLARI - DARK MODE
   ═══════════════════════════════════════════════════════════ */
body.dark-mode .izcilik-card {
    background: #161b22;
    border-color: #30363d;
}

body.dark-mode .izcilik-quote {
    background: linear-gradient(135deg, #1a2f23, #1f3a29);
    color: #c9d1d9;
}

body.dark-mode .izcilik-note {
    background: #21262d;
    color: #8b949e;
}

body.dark-mode .ture-item {
    background: #21262d;
}

body.dark-mode .ture-item:hover {
    background: #1a2f23;
    border-color: #3d8b5f;
}

body.dark-mode .ture-content strong {
    color: #c9d1d9;
}

body.dark-mode .ture-content small {
    color: #8b949e;
}

body.dark-mode .izcilik-motto {
    background: linear-gradient(135deg, #1a2f23, #1f3a29);
}

body.dark-mode .motto-text {
    color: #81c995;
}

body.dark-mode .motto-original {
    color: #8b949e;
}

body.dark-mode .izcilik-desc {
    color: #8b949e;
}

body.dark-mode .izcilik-badge {
    background: linear-gradient(135deg, #422006, #78350f);
    color: #fbbf24;
}

body.dark-mode .selam-visual {
    background: #21262d;
}

body.dark-mode .selam-hand {
    color: #81c995;
}

body.dark-mode .selam-desc {
    color: #8b949e;
}

body.dark-mode .selam-meaning {
    background: #1a2f23;
}

body.dark-mode .selam-meaning h5 {
    color: #81c995;
}

body.dark-mode .selam-meaning ul {
    color: #8b949e;
}

body.dark-mode .tokalasma-visual {
    background: #0c1929;
    color: #22d3ee;
}

body.dark-mode .zambak-symbol {
    color: #81c995;
}

body.dark-mode .tarih-timeline::before {
    background: linear-gradient(to bottom, #7c3aed, #a78bfa);
}

body.dark-mode .tarih-item::before {
    background: #7c3aed;
    box-shadow: 0 0 0 3px #7c3aed;
}

body.dark-mode .tarih-yil {
    color: #a78bfa;
}

body.dark-mode .tarih-content strong {
    color: #c9d1d9;
}

body.dark-mode .tarih-content p {
    color: #8b949e;
}

/* ═══════════════════════════════════════════════════════════
   İZCİLİK KARTLARI - MOBİL RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .izcilik-card-header {
        padding: 16px 20px;
    }
    
    .izcilik-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .izcilik-card-header h3 {
        font-size: 1.2rem;
    }
    
    .izcilik-card-body {
        padding: 16px;
    }
    
    .izcilik-quote {
        padding: 16px;
        font-size: 1rem;
    }
    
    .ture-item {
        padding: 12px;
        gap: 12px;
    }
    
    .ture-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .motto-text {
        font-size: 1.4rem;
    }
    
    .zambak-symbol {
        font-size: 4rem;
    }
    
    .tokalasma-visual {
        font-size: 2rem;
        gap: 12px;
    }
    
    .selam-hand {
        font-size: 3rem;
    }
    
    .tarih-timeline {
        padding-left: 24px;
    }
    
    .tarih-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .tarih-yil {
        font-size: 1rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   İZCİLİK EK STİLLER
   ═══════════════════════════════════════════════════════════ */
.izcilik-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-style: italic;
}

.selam-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    border-left: 4px solid var(--primary);
}

.selam-box h5 {
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.selam-box p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.selam-meaning-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.selam-meaning-list li {
    display: flex;
    align-items: flex-start;
    padding: 8px 0;
    color: var(--text-primary);
}

.selam-meaning-list li i {
    flex-shrink: 0;
    margin-top: 2px;
}

.izcilik-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
}

.izcilik-list li {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.izcilik-list li i {
    flex-shrink: 0;
    margin-top: 3px;
}

/* Dark Mode - Ek Stiller */
body.dark-mode .izcilik-intro {
    color: #8b949e;
}

body.dark-mode .selam-box {
    background: #21262d;
    border-left-color: #3d8b5f;
}

body.dark-mode .selam-box h5 {
    color: #81c995;
}

body.dark-mode .selam-box p {
    color: #8b949e;
}

body.dark-mode .selam-meaning-list li {
    color: #c9d1d9;
}

body.dark-mode .izcilik-list li {
    color: #8b949e;
}

/* Mobil - Ek Stiller */
@media (max-width: 768px) {
    .selam-box {
        padding: 16px;
    }
    
    .selam-box h5 {
        font-size: 1rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   ANT İÇME TÖRENİ STİLLERİ
   ═══════════════════════════════════════════════════════════ */
.toren-section {
    background: linear-gradient(135deg, #f8faf9 0%, #eef5f0 100%);
    border-radius: 16px;
    padding: 30px;
    border: 2px dashed var(--primary-light);
}

.toren-title {
    color: var(--primary-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.toren-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

.toren-desc em {
    color: var(--primary-dark);
    font-weight: 600;
}

.toren-dialog {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.dialog-item {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.dialog-item:last-child {
    border-bottom: none;
}

.dialog-role {
    font-weight: 700;
    min-width: 100px;
    flex-shrink: 0;
}

.dialog-role.lider {
    color: #8b5a00;
}

.dialog-role.aday {
    color: var(--primary-dark);
}

.dialog-text {
    color: var(--text-primary);
    line-height: 1.6;
}

.dialog-text.dialog-and {
    font-style: italic;
    color: var(--text-secondary);
}

.toren-and {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white !important;
    font-size: 1.1rem;
    text-align: center;
    padding: 24px 32px;
}

.toren-note {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 24px 0;
}

.toren-note i {
    color: #856404;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.toren-note p {
    margin: 0;
    color: #856404;
    line-height: 1.6;
}

/* Dark Mode - Tören Stilleri */
body.dark-mode .toren-section {
    background: linear-gradient(135deg, #1a1f24 0%, #21262d 100%);
    border-color: #3d8b5f;
}

body.dark-mode .toren-title {
    color: #81c995;
}

body.dark-mode .toren-desc {
    color: #8b949e;
}

body.dark-mode .toren-desc em {
    color: #81c995;
}

body.dark-mode .toren-dialog {
    background: #161b22;
    box-shadow: none;
}

body.dark-mode .dialog-item {
    border-color: #30363d;
}

body.dark-mode .dialog-role.lider {
    color: #d4a556;
}

body.dark-mode .dialog-role.aday {
    color: #81c995;
}

body.dark-mode .dialog-text {
    color: #c9d1d9;
}

body.dark-mode .dialog-text.dialog-and {
    color: #8b949e;
}

body.dark-mode .toren-note {
    background: #3d3000;
    border-color: #6b5400;
}

body.dark-mode .toren-note i,
body.dark-mode .toren-note p {
    color: #ffc107;
}

/* ═══════════════════════════════════════════════════════════
   ALKIŞLAR VE MARŞLAR STİLLERİ
   ═══════════════════════════════════════════════════════════ */
.izcilik-card-alkislar {
    border-left: 5px solid #9c27b0;
}

.izcilik-card-alkislar .izcilik-icon {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
}

.izcilik-card-lider {
    border-left: 5px solid #ff5722;
}

.izcilik-card-lider .izcilik-icon {
    background: linear-gradient(135deg, #ff5722, #e64a19);
}

#alkislarAccordion .accordion-item {
    border: none;
    margin-bottom: 8px;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

#alkislarAccordion .accordion-button {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    font-weight: 600;
    color: var(--text-primary);
    padding: 18px 24px;
    border: none;
}

#alkislarAccordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: white;
    box-shadow: none;
}

#alkislarAccordion .accordion-button:focus {
    box-shadow: none;
    border: none;
}

#alkislarAccordion .accordion-button::after {
    filter: brightness(0.5);
}

#alkislarAccordion .accordion-button:not(.collapsed)::after {
    filter: brightness(10);
}

.alkis-content {
    background: #fafafa;
    padding: 24px;
}

.alkis-content p {
    line-height: 2;
    color: var(--text-primary);
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.alkis-content p:last-child {
    margin-bottom: 0;
}

.alkis-note {
    background: #e3f2fd;
    color: #1565c0;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-style: italic;
}

.mars-content {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3e0 100%);
    border-left: 4px solid #ff9800;
}

/* Lider İlkeleri Grid */
.lider-ilkeleri-grid {
    display: grid;
    gap: 12px;
}

.lider-ilke-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #f8f9fa;
    padding: 16px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.lider-ilke-item:hover {
    background: #f0f4f1;
    transform: translateX(8px);
}

.ilke-number {
    background: linear-gradient(135deg, #ff5722, #e64a19);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.ilke-content {
    color: var(--text-primary);
    line-height: 1.6;
    padding-top: 4px;
}

/* Dark Mode - Alkışlar & Lider İlkeleri */
body.dark-mode #alkislarAccordion .accordion-item {
    box-shadow: none;
    border: 1px solid #30363d;
}

body.dark-mode #alkislarAccordion .accordion-button {
    background: #21262d;
    color: #c9d1d9;
}

body.dark-mode #alkislarAccordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #3d8b5f 0%, #2d6a4f 100%);
}

body.dark-mode .alkis-content {
    background: #161b22;
}

body.dark-mode .alkis-content p {
    color: #c9d1d9;
}

body.dark-mode .alkis-note {
    background: #0d2137;
    color: #58a6ff;
}

body.dark-mode .mars-content {
    background: linear-gradient(135deg, #2d2200 0%, #3d2d00 100%);
    border-left-color: #ff9800;
}

body.dark-mode .lider-ilke-item {
    background: #21262d;
}

body.dark-mode .lider-ilke-item:hover {
    background: #2d333b;
}

body.dark-mode .ilke-content {
    color: #c9d1d9;
}

/* Mobil Uyumluluk - Tören & Alkışlar */
@media (max-width: 768px) {
    .toren-section {
        padding: 20px;
    }
    
    .toren-title {
        font-size: 1.25rem;
    }
    
    .toren-dialog {
        padding: 16px;
    }
    
    .dialog-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .dialog-role {
        min-width: auto;
    }
    
    #alkislarAccordion .accordion-button {
        padding: 14px 18px;
        font-size: 0.95rem;
    }
    
    .alkis-content {
        padding: 16px;
    }
    
    .alkis-content p {
        font-size: 1rem;
        line-height: 1.8;
    }
    
    .lider-ilke-item {
        padding: 14px 16px;
    }
    
    .ilke-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   İZCİLİK YAPISI VE KAVRAMLARI
   ═══════════════════════════════════════════════════════════ */
.izcilik-card-yapilar .izcilik-card-header {
    background: linear-gradient(135deg, #5c6bc0, #3949ab);
}

.yapilar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.yapi-item {
    display: flex;
    gap: 16px;
    background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
    padding: 20px;
    border-radius: 16px;
    border-left: 4px solid #5c6bc0;
    transition: all 0.3s ease;
}

.yapi-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(92, 107, 192, 0.15);
    border-left-color: #3949ab;
}

.yapi-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #5c6bc0, #3949ab);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.yapi-icon i {
    font-size: 1.4rem;
    color: white;
}

.yapi-content h5 {
    color: #3949ab;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.yapi-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

/* 2'li grid düzeni */
.yapilar-grid-2col {
    grid-template-columns: repeat(2, 1fr);
}

.yapi-item-full {
    grid-column: 1 / -1;
}

@media (max-width: 991.98px) {
    .yapilar-grid-2col {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════
   FULAR RENKLERİ VE ANLAMLARI
   ═══════════════════════════════════════════════════════════ */
.izcilik-card-fularlar .izcilik-card-header {
    background: linear-gradient(135deg, #e91e63, #c2185b);
}

.fular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.fular-item {
    display: flex;
    align-items: stretch;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.fular-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.fular-color {
    width: 20px;
    flex-shrink: 0;
}

.fular-content {
    padding: 16px 20px;
    flex: 1;
}

.fular-content h5 {
    margin-bottom: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.fular-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Fular Renkleri */
.fular-yesil .fular-color { background: linear-gradient(to bottom, #4caf50, #388e3c); }
.fular-yesil h5 { color: #388e3c; }

.fular-sari .fular-color { background: linear-gradient(to bottom, #ffeb3b, #fbc02d); }
.fular-sari h5 { color: #f9a825; }

.fular-kirmizi .fular-color { background: linear-gradient(to bottom, #f44336, #c62828); }
.fular-kirmizi h5 { color: #c62828; }

.fular-mavi .fular-color { background: linear-gradient(to bottom, #2196f3, #1565c0); }
.fular-mavi h5 { color: #1565c0; }

.fular-turuncu .fular-color { background: linear-gradient(to bottom, #ff9800, #e65100); }
.fular-turuncu h5 { color: #e65100; }

/* Kıdemli Elebaşı - Koyu Turuncu */
.fular-turuncu-koyu .fular-color { background: linear-gradient(to bottom, #e65100, #bf360c); }
.fular-turuncu-koyu h5 { color: #bf360c; }

.fular-mor .fular-color { background: linear-gradient(to bottom, #9c27b0, #7b1fa2); }
.fular-mor h5 { color: #7b1fa2; }

.fular-beyaz .fular-color { background: linear-gradient(to bottom, #f5f5f5, #e0e0e0); border-right: 1px solid #e0e0e0; }
.fular-beyaz h5 { color: #616161; }

.fular-kahve .fular-color { background: linear-gradient(to bottom, #795548, #5d4037); }
.fular-kahve h5 { color: #5d4037; }

/* Kahverengi (Yardımcı Lider) */
.fular-kahverengi .fular-color { background: linear-gradient(to bottom, #795548, #5d4037); }
.fular-kahverengi h5 { color: #5d4037; }

/* Yeni resmi fular renkleri */
.fular-bordo .fular-color { background: linear-gradient(to bottom, #800020, #5c0018); }
.fular-bordo h5 { color: #800020; }

.fular-lacivert .fular-color { background: linear-gradient(to bottom, #000080, #00004d); }
.fular-lacivert h5 { color: #000080; }

.fular-acik-mavi .fular-color { background: linear-gradient(to bottom, #87ceeb, #6bb8d9); }
.fular-acik-mavi h5 { color: #4a9bc7; }

.fular-kirmizi-beyaz .fular-color { 
    background: linear-gradient(135deg, #e53935 0%, #e53935 50%, #ffffff 50%, #ffffff 100%); 
    border-right: 1px solid #e0e0e0;
}
.fular-kirmizi-beyaz h5 { color: #c62828; }

.fular-kirmizi-beyaz-egitimci .fular-color { 
    background: repeating-linear-gradient(45deg, #e53935, #e53935 10px, #ffffff 10px, #ffffff 20px); 
    border-right: 1px solid #e0e0e0;
}
.fular-kirmizi-beyaz-egitimci h5 { color: #c62828; }

.fular-wood-badge .fular-color { 
    background: linear-gradient(to bottom, #8b4513, #654321); 
}
.fular-wood-badge h5 { color: #8b4513; }

.fular-pembe .fular-color { background: linear-gradient(to bottom, #e91e63, #c2185b); }
.fular-pembe h5 { color: #c2185b; }

.fular-beyaz .fular-color { background: linear-gradient(to bottom, #f5f5f5, #e0e0e0); border-right: 1px solid #ccc; }
.fular-beyaz h5 { color: #616161; }

.fular-kulup .fular-color { 
    background: linear-gradient(135deg, #ffc107 0%, #ffc107 50%, #1976d2 50%, #1976d2 100%); 
}
.fular-kulup h5 { color: #1976d2; }

/* Ay Yıldız - Lider Eğitimcisi (En üst düzey) - Kırmızı Beyaz */
.fular-ay-yildiz .fular-color { 
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 50%, #e53935 50%, #c62828 100%);
    position: relative;
    border: 1px solid #e0e0e0;
}
.fular-ay-yildiz .fular-color::after {
    content: "☪";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #c62828;
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.fular-ay-yildiz h5 { color: #c62828; }

/* Resmi Fularlar - Toggle ile gizle/göster */
.fular-item.fular-resmi {
    display: none;
}

.fular-grid.show-resmi .fular-item.fular-resmi {
    display: flex;
}

/* Fular Toggle Wrapper */
.fular-toggle-wrapper {
    display: flex;
    justify-content: flex-end;
}

.fular-toggle-wrapper .form-check-input {
    cursor: pointer;
}

.fular-toggle-wrapper .form-check-label {
    cursor: pointer;
    font-weight: 500;
    color: var(--text-muted);
}

.fular-note {
    display: flex;
    gap: 16px;
    background: linear-gradient(135deg, #fce4ec, #f8bbd0);
    padding: 16px 20px;
    border-radius: 12px;
    align-items: flex-start;
}

.fular-note i {
    font-size: 1.5rem;
    color: #c2185b;
    flex-shrink: 0;
}

.fular-note p {
    color: #880e4f;
    line-height: 1.7;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   ÇAKI KULLANIM KURALLARI
   ═══════════════════════════════════════════════════════════ */
.izcilik-card-caki .izcilik-card-header {
    background: linear-gradient(135deg, #607d8b, #455a64);
}

.caki-kurallar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.kural-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.kural-icon {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.kural-icon i {
    font-size: 1.5rem;
}

.kural-icon h5 {
    margin: 0;
    font-weight: 700;
}

.kural-yapilmaz .kural-icon {
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
}

.kural-yapilmaz .kural-icon i,
.kural-yapilmaz .kural-icon h5 {
    color: #c62828;
}

.kural-yapilir .kural-icon {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
}

.kural-yapilir .kural-icon i,
.kural-yapilir .kural-icon h5 {
    color: #2e7d32;
}

.kural-content {
    padding: 0 20px 20px;
}

.kural-content h5 {
    font-weight: 700;
    margin-bottom: 12px;
}

.kural-yapilmaz .kural-content h5 {
    color: #c62828;
}

.kural-yapilir .kural-content h5 {
    color: #2e7d32;
}

.kural-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kural-content li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
    border-bottom: 1px solid #f0f0f0;
}

.kural-content li:last-child {
    border-bottom: none;
}

.kural-yapilmaz .kural-content li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #c62828;
    font-weight: 700;
}

.kural-yapilir .kural-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2e7d32;
    font-weight: 700;
}

.caki-verme {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    padding: 24px;
    border-radius: 16px;
}

.caki-verme h5 {
    color: #1565c0;
    font-weight: 700;
    margin-bottom: 12px;
}

.caki-verme > p {
    color: #1976d2;
    margin-bottom: 12px;
}

.caki-verme-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.caki-verme-list li {
    padding: 8px 0;
    color: #0d47a1;
    display: flex;
    align-items: center;
}

.caki-note {
    display: flex;
    gap: 16px;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    padding: 16px 20px;
    border-radius: 12px;
    align-items: flex-start;
    margin-top: 24px;
}

.caki-note i {
    font-size: 1.5rem;
    color: #e65100;
    flex-shrink: 0;
}

.caki-note p {
    color: #bf360c;
    line-height: 1.7;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   İZCİ DÜĞÜMLERİ
   ═══════════════════════════════════════════════════════════ */
.izcilik-card-dugumler .izcilik-card-header {
    background: linear-gradient(135deg, #8d6e63, #6d4c41);
}

#dugumlerAccordion .accordion-item {
    border: none;
    margin-bottom: 8px;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

#dugumlerAccordion .accordion-button {
    background: #f5f5f5;
    font-weight: 600;
    padding: 16px 20px;
    color: var(--text-primary);
    border: none;
}

#dugumlerAccordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #8d6e63, #6d4c41);
    color: white;
    box-shadow: none;
}

#dugumlerAccordion .accordion-button:focus {
    box-shadow: none;
}

#dugumlerAccordion .accordion-button::after {
    filter: brightness(0.5);
}

#dugumlerAccordion .accordion-button:not(.collapsed)::after {
    filter: brightness(10);
}

.dugum-content {
    background: #fafafa;
    padding: 24px;
}

.dugum-info p {
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.7;
}

.dugum-info p strong {
    color: #6d4c41;
}

.dugum-steps {
    background: white;
    padding: 16px 16px 16px 36px;
    border-radius: 12px;
    border-left: 4px solid #8d6e63;
    margin-top: 12px;
}

.dugum-steps li {
    padding: 6px 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.dugum-note {
    display: flex;
    gap: 16px;
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
    padding: 16px 20px;
    border-radius: 12px;
    align-items: flex-start;
}

.dugum-note i {
    font-size: 1.5rem;
    color: #f9a825;
    flex-shrink: 0;
}

.dugum-note p {
    color: #f57f17;
    line-height: 1.7;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   DARK MODE - Yeni Bölümler
   ═══════════════════════════════════════════════════════════ */
body.dark-mode .yapi-item {
    background: linear-gradient(135deg, #21262d 0%, #161b22 100%);
    border-left-color: #7986cb;
}

body.dark-mode .yapi-item:hover {
    box-shadow: 0 8px 24px rgba(121, 134, 203, 0.2);
}

body.dark-mode .yapi-content h5 {
    color: #9fa8da;
}

body.dark-mode .yapi-content p {
    color: #8b949e;
}

body.dark-mode .fular-item {
    background: #21262d;
}

body.dark-mode .fular-content p {
    color: #8b949e;
}

body.dark-mode .fular-note {
    background: linear-gradient(135deg, #2d1f2e 0%, #3d2d3e 100%);
}

body.dark-mode .fular-note p {
    color: #f48fb1;
}

body.dark-mode .kural-item {
    background: #21262d;
}

body.dark-mode .kural-yapilmaz .kural-icon {
    background: linear-gradient(135deg, #2d1f1f 0%, #3d2525 100%);
}

body.dark-mode .kural-yapilir .kural-icon {
    background: linear-gradient(135deg, #1f2d1f 0%, #253d25 100%);
}

body.dark-mode .kural-content li {
    color: #8b949e;
    border-bottom-color: #30363d;
}

body.dark-mode .caki-verme {
    background: linear-gradient(135deg, #0d2137 0%, #1a3a54 100%);
}

body.dark-mode .caki-verme h5 {
    color: #58a6ff;
}

body.dark-mode .caki-verme > p,
body.dark-mode .caki-verme-list li {
    color: #79c0ff;
}

body.dark-mode .caki-note {
    background: linear-gradient(135deg, #2d2200 0%, #3d2d00 100%);
}

body.dark-mode .caki-note p {
    color: #ffb74d;
}

body.dark-mode #dugumlerAccordion .accordion-item {
    box-shadow: none;
    border: 1px solid #30363d;
}

body.dark-mode #dugumlerAccordion .accordion-button {
    background: #21262d;
    color: #c9d1d9;
}

body.dark-mode #dugumlerAccordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #8d6e63, #6d4c41);
}

body.dark-mode .dugum-content {
    background: #161b22;
}

body.dark-mode .dugum-info p {
    color: #c9d1d9;
}

body.dark-mode .dugum-info p strong {
    color: #bcaaa4;
}

body.dark-mode .dugum-steps {
    background: #21262d;
    border-left-color: #a1887f;
}

body.dark-mode .dugum-steps li {
    color: #8b949e;
}

body.dark-mode .dugum-note {
    background: linear-gradient(135deg, #2d2a00 0%, #3d3700 100%);
}

body.dark-mode .dugum-note p {
    color: #fdd835;
}

/* ═══════════════════════════════════════════════════════════
   MOBİL UYUMLULUK - Yeni Bölümler
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .yapilar-grid {
        grid-template-columns: 1fr;
    }
    
    .yapi-item {
        padding: 16px;
    }
    
    .yapi-icon {
        width: 40px;
        height: 40px;
    }
    
    .yapi-icon i {
        font-size: 1.2rem;
    }
    
    .yapi-content h5 {
        font-size: 1rem;
    }
    
    .fular-grid {
        grid-template-columns: 1fr;
    }
    
    .caki-kurallar {
        grid-template-columns: 1fr;
    }
    
    .caki-verme {
        padding: 16px;
    }
    
    #dugumlerAccordion .accordion-button {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
    
    .dugum-content {
        padding: 16px;
    }
    
    .dugum-steps {
        padding: 12px 12px 12px 28px;
    }
}

/* ═══════════════════════════════════════════════════════════
   EKİP İSİMLENDİRME VE SEMBOLLER
   ═══════════════════════════════════════════════════════════ */
.izcilik-card-ekip-isimleri .izcilik-card-header {
    background: linear-gradient(135deg, #00695c, #004d40);
}

.ekip-isim-box {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 16px;
    height: 100%;
    border-left: 4px solid #00695c;
}

.ekip-isim-box h5 {
    color: #00695c;
    font-weight: 700;
    margin-bottom: 12px;
}

.isim-kategori h6 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.isim-listesi {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.isim-badge {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #2e7d32;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.isim-not {
    background: #fff3e0;
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.totem-listesi {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.totem-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.totem-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.totem-info strong {
    display: block;
    color: #00695c;
}

.totem-info small {
    color: #666;
}

.flama-ozellikleri {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.flama-ozellikleri li {
    padding: 6px 0;
    display: flex;
    align-items: center;
}

.nida-ornekleri {
    background: #e3f2fd;
    padding: 16px;
    border-radius: 12px;
}

.nida-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.nida-item:last-child {
    border-bottom: none;
}

/* ═══════════════════════════════════════════════════════════
   KEŞŞAFLIK BİLGİ BUTONU
   ═══════════════════════════════════════════════════════════ */
.izcilik-card-kessaflik .izcilik-card-header {
    background: linear-gradient(135deg, #1a237e, #3949ab);
}

.kessaflik-container {
    max-height: 70vh;
}

.kessaflik-section {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 28px;
}

.kessaflik-section:last-child {
    margin-bottom: 0;
}

.kessaflik-section h5 {
    color: #1a237e;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid #e8eaf6;
    padding-bottom: 12px;
}

.yol-haritasi {
    position: relative;
    padding-left: 40px;
}

.yol-haritasi::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 20px;
    bottom: 20px;
    width: 3px;
    background: linear-gradient(to bottom, #3949ab, #7986cb);
    border-radius: 2px;
}

.yol-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
}

.yol-item:last-child {
    margin-bottom: 0;
}

.yol-badge {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #3949ab, #5c6bc0);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* Badge sonuna nokta ekle */
.yol-badge::after {
    content: '.';
    position: absolute;
    right: -4px;
    bottom: 4px;
    color: #3949ab;
    font-weight: 700;
    font-size: 1.2rem;
}

.yol-content {
    flex: 1;
    background: white;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.yol-content h6 {
    color: #3949ab;
    font-weight: 600;
    margin-bottom: 10px;
}

.yol-content p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

.dunya-box {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    height: 100%;
}

.dunya-box h6 {
    color: #1a237e;
    font-weight: 600;
    margin-bottom: 12px;
}

.dunya-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dunya-box li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.dunya-box li:last-child {
    border-bottom: none;
}

.degerler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.deger-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.deger-item i {
    font-size: 2rem;
    color: #3949ab;
    display: block;
    margin-bottom: 8px;
}

.deger-item span {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.unlu-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 16px;
}

.unlu-badge {
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
    color: #f57f17;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   TÜRKİYE'DE İZCİLİK
   ═══════════════════════════════════════════════════════════ */
.izcilik-card-turkiye .izcilik-card-header {
    background: linear-gradient(135deg, #c62828, #e53935);
}

.turkiye-box {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 16px;
    height: 100%;
}

.turkiye-box h5 {
    font-weight: 700;
    margin-bottom: 16px;
    color: #333;
}

/* Yeni sırasız il listesi */
.il-listesi-unordered {
    list-style: disc;
    padding-left: 24px;
    margin: 0;
}

.il-listesi-unordered li {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    padding: 8px 0;
    line-height: 1.5;
}

.il-listesi-unordered li::marker {
    color: #c62828;
    font-size: 1.2rem;
}

.il-listesi-unordered li small {
    font-weight: 400;
    color: #666;
    font-size: 0.9rem;
}

.il-listesi {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.il-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.il-item.il-one {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border: 2px solid #ff9800;
}

.il-item.il-one .il-rank {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

.il-rank {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #9e9e9e, #757575);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.il-name {
    font-weight: 600;
    color: #333;
    flex-shrink: 0;
}

.il-item small {
    color: #666;
    font-size: 0.85rem;
}

.kamp-listesi {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kamp-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.kamp-item i {
    font-size: 1.2rem;
    margin-top: 2px;
}

.kamp-info strong {
    display: block;
    color: #333;
}

.kamp-info small {
    color: #666;
}

.text-purple {
    color: #9c27b0 !important;
}

/* Yeni horizontal kamp listesi */
.kamp-listesi-horizontal {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kamp-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Vertical kamp listesi */
.kamp-listesi-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kamp-badge {
    background: white;
    padding: 10px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.95rem;
    color: #333;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    display: inline-flex;
    align-items: center;
    width: fit-content;
}

/* ═══════════════════════════════════════════════════════════
   ERGİN İZCİ REHBERİ
   ═══════════════════════════════════════════════════════════ */
.izcilik-card-ergin .izcilik-card-header {
    background: linear-gradient(135deg, #6a1b9a, #8e24aa);
}

.ergin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.ergin-item {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 16px;
    border-top: 4px solid #8e24aa;
}

.ergin-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #8e24aa, #6a1b9a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    float: left;
    margin-right: 16px;
}

/* Renkli ikonlar */
.ergin-icon-yellow {
    background: linear-gradient(135deg, #ffc107, #ff9800);
}

.ergin-icon-green {
    background: linear-gradient(135deg, #4caf50, #388e3c);
}

.ergin-icon-gold {
    background: linear-gradient(135deg, #ff9800, #e65100);
}

.ergin-icon i {
    font-size: 1.5rem;
    color: white;
}

.ergin-item h5 {
    color: #6a1b9a;
    font-weight: 700;
    margin-bottom: 16px;
}

.ergin-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ergin-item li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: #555;
    border-bottom: 1px solid #eee;
}

.ergin-item li:last-child {
    border-bottom: none;
}

.ergin-item li::before {
    content: "★";
    position: absolute;
    left: 0;
    color: #8e24aa;
}

/* ═══════════════════════════════════════════════════════════
   DARK MODE - Yeni Bölümler (Devam)
   ═══════════════════════════════════════════════════════════ */
body.dark-mode .ekip-isim-box {
    background: #21262d;
    border-left-color: #4db6ac;
}

body.dark-mode .ekip-isim-box h5 {
    color: #4db6ac;
}

body.dark-mode .isim-badge {
    background: linear-gradient(135deg, #1b3a2f, #2d4a3e);
    color: #81c784;
}

body.dark-mode .isim-not {
    background: #2d2200;
}

body.dark-mode .totem-item {
    background: #161b22;
}

body.dark-mode .totem-info strong {
    color: #4db6ac;
}

body.dark-mode .totem-info small {
    color: #8b949e;
}

body.dark-mode .nida-ornekleri {
    background: #0d2137;
}

body.dark-mode .kessaflik-section {
    background: #21262d;
}

body.dark-mode .kessaflik-section h5 {
    color: #9fa8da;
    border-bottom-color: #30363d;
}

body.dark-mode .yol-haritasi::before {
    background: linear-gradient(to bottom, #5c6bc0, #9fa8da);
}

body.dark-mode .yol-content {
    background: #161b22;
}

body.dark-mode .yol-content h6 {
    color: #9fa8da;
}

body.dark-mode .yol-content p {
    color: #8b949e;
}

body.dark-mode .dunya-box {
    background: #161b22;
}

body.dark-mode .dunya-box h6 {
    color: #9fa8da;
}

body.dark-mode .dunya-box li {
    color: #8b949e;
    border-bottom-color: #30363d;
}

body.dark-mode .deger-item {
    background: #161b22;
}

body.dark-mode .deger-item i {
    color: #9fa8da;
}

body.dark-mode .deger-item span {
    color: #c9d1d9;
}

body.dark-mode .unlu-badge {
    background: linear-gradient(135deg, #2d2200, #3d3500);
    color: #fdd835;
}

body.dark-mode .turkiye-box {
    background: #21262d;
}

body.dark-mode .turkiye-box h5 {
    color: #c9d1d9;
}

body.dark-mode .il-listesi-unordered li {
    color: #c9d1d9;
}

body.dark-mode .il-listesi-unordered li small {
    color: #8b949e;
}

body.dark-mode .il-item {
    background: #161b22;
}

body.dark-mode .il-item.il-one {
    background: linear-gradient(135deg, #2d2200, #3d2d00);
    border-color: #ff9800;
}

body.dark-mode .il-name {
    color: #c9d1d9;
}

body.dark-mode .il-item small {
    color: #8b949e;
}

body.dark-mode .kamp-badge {
    background: #161b22;
    color: #c9d1d9;
}

body.dark-mode .kamp-item {
    background: #161b22;
}

body.dark-mode .kamp-info strong {
    color: #c9d1d9;
}

body.dark-mode .kamp-info small {
    color: #8b949e;
}

body.dark-mode .ergin-item {
    background: #21262d;
    border-top-color: #ba68c8;
}

body.dark-mode .ergin-item h5 {
    color: #ce93d8;
}

body.dark-mode .ergin-item li {
    color: #8b949e;
    border-bottom-color: #30363d;
}

body.dark-mode .ergin-item li::before {
    color: #ce93d8;
}

/* ═══════════════════════════════════════════════════════════
   MOBİL UYUMLULUK - Yeni Bölümler (Devam)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .ekip-isim-box {
        padding: 16px;
    }
    
    .isim-badge {
        font-size: 0.85rem;
        padding: 4px 10px;
    }
    
    .totem-item {
        padding: 10px 12px;
    }
    
    .totem-icon {
        font-size: 1.5rem;
    }
    
    .yol-haritasi {
        padding-left: 30px;
    }
    
    .yol-haritasi::before {
        left: 11px;
    }
    
    .yol-badge {
        width: 26px;
        height: 26px;
        font-size: 0.85rem;
    }
    
    .yol-content {
        padding: 12px;
    }
    
    .degerler-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .deger-item {
        padding: 16px;
    }
    
    .deger-item i {
        font-size: 1.5rem;
    }
    
    .ergin-grid {
        grid-template-columns: 1fr;
    }
    
    .ergin-item {
        padding: 16px;
    }
    
    .turkiye-box {
        padding: 16px;
    }
    
    .il-item,
    .kamp-item {
        padding: 10px 12px;
    }
}

/* ═══════════════════════════════════════════════════════════
   PROFİL FOTOĞRAFI
   ═══════════════════════════════════════════════════════════ */
.profile-photo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-alt) 100%);
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border);
}

.profile-photo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.profile-photo-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 8px 30px rgba(61, 139, 95, 0.3);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.profile-photo-placeholder i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.8);
}

.profile-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px 10px 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-photo-wrapper:hover .profile-photo-overlay {
    opacity: 1;
}

.profile-photo-edit-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: white;
    cursor: pointer;
    font-size: 0.85rem;
}

.profile-photo-edit-btn i {
    font-size: 1.5rem;
}

.profile-photo-info {
    text-align: center;
}

.profile-photo-info h4 {
    margin: 0;
    color: var(--text-primary);
    font-weight: 700;
}

.profile-photo-status {
    margin: 4px 0 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.profile-photo-status.can-change {
    color: var(--primary);
}

.profile-photo-status.cannot-change {
    color: #ff9800;
}

/* Fotoğraf Geçmişi */
.photo-history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.photo-history-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid transparent;
}

.photo-history-item.current {
    border-left-color: var(--primary);
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
}

.photo-history-thumb {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.photo-history-info {
    flex: 1;
}

.photo-history-info .date {
    font-weight: 600;
    color: var(--text-primary);
}

.photo-history-info .status {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.photo-history-item.current .status {
    color: var(--primary);
    font-weight: 500;
}

/* Dark Mode */
body.dark-mode .profile-photo-section {
    background: linear-gradient(135deg, #161b22 0%, #21262d 100%);
    border-color: #30363d;
}

body.dark-mode .profile-photo-info h4 {
    color: #c9d1d9;
}

body.dark-mode .profile-photo-status {
    color: #8b949e;
}

body.dark-mode .photo-history-item {
    background: #21262d;
}

body.dark-mode .photo-history-item.current {
    background: linear-gradient(135deg, #1b3a2f, #2d4a3e);
    border-left-color: var(--primary);
}

body.dark-mode .photo-history-info .date {
    color: #c9d1d9;
}

body.dark-mode .photo-history-info .status {
    color: #8b949e;
}

/* Mobil */
@media (max-width: 768px) {
    .profile-photo-section {
        padding: 24px 16px;
    }
    
    .profile-photo-wrapper {
        width: 120px;
        height: 120px;
    }
    
    .profile-photo-placeholder i {
        font-size: 4rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   EKIPLERDE PROFIL FOTOĞRAFLARI
   ═══════════════════════════════════════════════════════════ */
.member-avatar {
    position: relative;
    overflow: hidden;
}

.member-avatar.has-photo {
    padding: 0;
}

.member-avatar .avatar-photo,
.member-avatar-small .avatar-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.member-avatar-small.has-photo {
    padding: 0;
}

.clickable-avatar {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.clickable-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.admin-member-role {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-view-photo-history {
    padding: 4px 8px;
    font-size: 0.8rem;
}

.btn-view-photo-history:hover {
    background: #17a2b8;
    color: white;
}

/* ═══════════════════════════════════════════════════════════
   PROFİL FOTOĞRAFLARI - TIKLANABİLİR STİLLER
   ═══════════════════════════════════════════════════════════ */
.avatar-photo, 
img[src*="uploads/profiles/"],
.member-detail-photo img,
.profile-photo-large img,
.photo-preview img {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.avatar-photo:hover,
img[src*="uploads/profiles/"]:hover,
.member-detail-photo img:hover,
.profile-photo-large img:hover,
.photo-preview img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Fotoğraf geçmişi öğeleri */
.photo-history-item {
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.photo-history-item:hover {
    transform: translateY(-2px);
    background: rgba(var(--primary-rgb), 0.1);
}

/* Tam ekran modal */
#fullscreenPhotoModal .modal-content {
    background: rgba(0,0,0,0.95) !important;
}

#fullscreenPhotoImg {
    cursor: zoom-out;
}

/* Ekip avatarları - fotoğraf yüklendiginde tıklanabilir */
.member-avatar.has-photo,
.member-avatar-small.has-photo,
.clickable-avatar.has-photo {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 8px;
    overflow: hidden;
}

.member-avatar.has-photo:hover,
.member-avatar-small.has-photo:hover,
.clickable-avatar.has-photo:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 10;
}

.member-avatar.has-photo img,
.member-avatar-small.has-photo img,
.clickable-avatar.has-photo img,
.member-avatar img.avatar-photo,
.member-avatar-small img.avatar-photo,
.clickable-avatar img.avatar-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* ═══════════════════════════════════════════════════════════
   UYUYAN ETKİNLİK İKONU (SLEEPING EVENT)
   ═══════════════════════════════════════════════════════════ */
.sleeping-event {
    position: relative;
    animation: sleepingBounce 3s ease-in-out infinite;
}

.sleeping-event i {
    opacity: 0.6;
}

.sleeping-event .zzz {
    position: absolute;
    top: -10px;
    right: -15px;
    font-size: 1.5rem;
    animation: zzzFloat 2s ease-in-out infinite;
}

@keyframes sleepingBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes zzzFloat {
    0%, 100% { 
        opacity: 0.4; 
        transform: translate(0, 0) scale(0.8);
    }
    50% { 
        opacity: 1; 
        transform: translate(5px, -10px) scale(1.1);
    }
}