/* public/css/custom_style.css */
:root {
    --sys-bg: #f8f9fa;
    --sys-card-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --sys-primary: #4e73df;
    --sys-success: #1cc88a;
    --sys-danger: #e74a3b;
    --sys-warning: #f6c23e;
}

/* Tüm sayfalarda kullanılacak standart başlık yapısı */
.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e3e6f0;
}

/* Tüm tablolarda standart görünüm */
.table-standard {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--sys-card-shadow);
}
/* --- GENEL AYARLAR --- */
:root {
    --primary-gradient: linear-gradient(45deg, #198754, #20c997);
    --dark-card: #212529;
}

.x-small { font-size: 0.75rem !important; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-tight { letter-spacing: -0.025em; }

/* --- KART TASARIMLARI --- */
.card-animate { 
    transition: all 0.3s ease; 
    border: none !important;
}

.card-animate:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.bg-gradient-success { background: var(--primary-gradient) !important; }

/* --- TABLO VE LİSTE --- */
.hover-bg-light:hover { background-color: #f8f9fa; }
.transition { transition: 0.2s ease-in-out; }

.avatar-placeholder { 
    border-style: dashed !important; 
    border-width: 2px !important;
}

/* --- BUTONLAR VE ETKİLEŞİM --- */
.hover-scale { 
    transition: 0.2s ease; 
}

.hover-scale:hover { 
    transform: scale(1.03); 
}

.btn-white {
    background: #fff;
    color: #333;
}

/* Scrollbar Güzelleştirme */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #aaa; }

.x-small { font-size: 0.75rem; }
.tracking-widest { letter-spacing: 0.1em; }
.bg-gradient-success { background: linear-gradient(45deg, #198754, #20c997); }
.card-animate { transition: all 0.3s ease; }
.card-animate:hover { transform: translateY(-5px); }
.hover-bg-light:hover { background-color: #f8f9fa; }
.transition { transition: 0.2s ease-in-out; }
.avatar-placeholder { border-style: dashed !important; }
/* Yoklama Özel Checkbox Tasarımı */
.attendance-checkbox { display: none; }
.attendance-label { cursor: pointer; transition: 0.2s; }
.icon-circle { 
    width: 38px; height: 38px; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    color: white; transition: all 0.3s ease; 
}
/* Katılmadı (Kırmızı) */
.attendance-checkbox:not(:checked) + .attendance-label .icon-circle { 
    background-color: #e74a3b; box-shadow: 0 4px 10px rgba(231, 74, 59, 0.3); 
}
/* Katıldı (Yeşil) */
.attendance-checkbox:checked + .attendance-label .icon-circle { 
    background-color: #1cc88a; box-shadow: 0 4px 10px rgba(28, 200, 138, 0.3); 
}
.icon-circle .icon-check, .icon-circle .icon-xmark { font-size: 1.1rem; }
.attendance-checkbox:checked + .attendance-label .icon-xmark { display: none; }
.attendance-checkbox:not(:checked) + .attendance-label .icon-check { display: none; }

/* Grup Kartları */
.group-card { transition: 0.3s; border-left: 5px solid transparent !important; }
.group-card:hover { transform: translateX(5px); }
.student-row { transition: 0.2s; border-bottom: 1px solid #f8f9fa; }
.student-row:hover { background-color: #fbfbfb; }
/* Grafik ve Analiz Kutuları */
.chart-box {
    background: #ffffff !important;
    border: 1px solid #e0e6ed !important;
    border-radius: 20px !important;
    padding: 25px !important;
    margin-top: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
}

.canvas-container {
    position: relative;
    height: 450px;
    width: 100%;
}

.custom-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid;
    background: #fff;
}

/* Analiz Filtre Formu */
.analysis-filter-card {
    background: #fff;
    border-radius: 15px;
    border: none;
    box-shadow: var(--sys-card-shadow);
}
/* Performans Girişi - Inline Edit Stilleri */
.editable-cell {
    position: relative;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s;
}

.editable-cell:hover {
    background-color: rgba(255, 243, 205, 0.7) !important; /* Hafif sarı vurgu */
    cursor: pointer;
}

.editable-input {
    width: 100%;
    border: 2px solid #4e73df;
    border-radius: 6px;
    padding: 4px 8px;
    font-weight: bold;
    outline: none;
    box-shadow: 0 0 10px rgba(78, 115, 223, 0.2);
}

.hover-opacity-100:hover { opacity: 1 !important; }
/* Sistem Tanımları - Özel Stiller */
.editable-input { 
    width: 100%; 
    box-sizing: border-box; 
    padding: 6px; 
    border: 2px solid var(--sys-primary); 
    border-radius: 8px; 
    outline: none;
    font-weight: bold;
    color: var(--sys-primary);
}

.cursor-pointer { cursor: pointer; }

/* Branş Listesi Aktiflik Durumu */
.branch-item.active {
    background-color: rgba(78, 115, 223, 0.05);
    border-right: 4px solid var(--sys-primary) !important;
}

.branch-item:hover {
    background-color: #f8f9fc;
}

/* Tablo Hücre Vurguları */
.table-highlight-success {
    background-color: rgba(28, 200, 138, 0.1);
    border: 1px solid rgba(28, 200, 138, 0.2) !important;
}
/* Değerlendirme Sayfası & Timeline Stilleri */
.avatar-circle {
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.timeline {
    position: relative;
    padding-left: 1rem;
    border-left: 2px dashed #e3e6f0;
    margin-left: 1rem;
}

.timeline-card::before {
    content: "";
    position: absolute;
    left: -2.1rem;
    top: 1.5rem;
    width: 15px;
    height: 15px;
    background: var(--sys-primary);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.1);
}

.border-dashed {
    border-style: dashed !important;
}

.hover-shadow-sm:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px);
}
/* Performans Matrisi (Matrix Input) Stilleri */
.matrix-table thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: var(--sys-primary) !important;
    color: white;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none !important;
}

.data-input {
    border: 1px solid transparent;
    background-color: transparent;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.2s;
}

.data-input:focus {
    border: 2px solid var(--sys-primary) !important;
    background-color: #fff !important;
    box-shadow: 0 0 8px rgba(78, 115, 223, 0.25) !important;
    transform: scale(1.05);
    z-index: 5;
}

.data-input:hover {
    background-color: rgba(78, 115, 223, 0.05);
}

.avatar-matrix {
    width: 30px;
    height: 30px;
    font-size: 11px;
    font-weight: 700;
}
/* Performans Kartları ve Profil Stilleri */
.profile-avatar {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(78, 115, 223, 0.2);
}

.chart-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none !important;
}

.chart-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08) !important;
}

.chart-container-fixed {
    position: relative;
    height: 250px;
    width: 100%;
}
/* Yoklama Switch Güzelleştirme */
.attendance-switch {
    transform: scale(1.3);
    cursor: pointer;
}

.attendance-switch:checked {
    background-color: var(--sys-success) !important;
    border-color: var(--sys-success) !important;
}

/* Tablo Satırı Vurgusu */
.student-list-row {
    transition: background-color 0.2s;
}

.student-list-row:hover {
    background-color: rgba(78, 115, 223, 0.03) !important;
}
/* Seans Seçim Listesi Stilleri */
.session-link {
    border-radius: 12px !important;
    margin-bottom: 8px;
    border: 1px solid rgba(0,0,0,0.05) !important;
    transition: all 0.2s ease;
}

.session-link:hover {
    transform: translateX(5px);
    background-color: #f8f9fc !important;
    border-color: var(--sys-primary) !important;
}

.time-badge {
    font-family: 'monospace';
    font-weight: 700;
    letter-spacing: 1px;
}
/* Raporlama ve Yazdırma Stilleri */
.x-small { font-size: 0.7rem !important; }

.report-table th {
    background-color: #f8f9fc !important;
    font-weight: 700;
    vertical-align: middle;
}

.report-table td {
    transition: background-color 0.2s;
}

.report-table tr:hover td {
    background-color: rgba(78, 115, 223, 0.05) !important;
}

/* YAZDIRMA MODU OPTİMİZASYONU */
@media print {
    @page { size: landscape; margin: 10mm; }
    body { visibility: hidden; background: white !important; }
    .d-print-none, .navbar, #sidebar-wrapper, .accordion-button::after { display: none !important; }
    
    #reportContainer { visibility: visible; position: absolute; left: 0; top: 0; width: 100%; }
    #reportContainer * { visibility: visible; }

    .collapse { display: block !important; height: auto !important; opacity: 1 !important; visibility: visible !important; }
    .card { border: 1px solid #eee !important; box-shadow: none !important; margin-bottom: 20px !important; }
    
    table { width: 100% !important; border-collapse: collapse !important; }
    th, td { border: 1px solid #ccc !important; padding: 4px !important; font-size: 9pt !important; }
    
    .group-print-container { page-break-before: always; }
    .group-print-container:first-child { page-break-before: auto; }
}
/* Giriş Formları Özel Gölge */
.form-entrance-card {
    box-shadow: 0 15px 35px rgba(78, 115, 223, 0.1) !important;
    border: none !important;
}
/* İnteraktif Yoklama Toggle Butonu */
.icon-toggle-btn {
    position: relative;
    width: 75px;
    height: 36px;
    border-radius: 50px;
    border: none;
    outline: none;
    cursor: pointer;
    background-color: transparent;
    padding: 0;
    transition: all 0.4s ease;
}

.toggle-track {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.toggle-thumb {
    position: absolute;
    top: 3px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    z-index: 2;
}

/* VAR (Present) Durumu */
.icon-toggle-btn.is-present .toggle-track { background-color: #ecfdf5; border-color: #10b981; }
.icon-toggle-btn.is-present .toggle-thumb { left: 4px; color: #10b981; }

/* YOK (Absent) Durumu */
.icon-toggle-btn.is-absent .toggle-track { background-color: #fef2f2; border-color: #ef4444; }
.icon-toggle-btn.is-absent .toggle-thumb { left: calc(100% - 30px); color: #ef4444; }

.attendance-row { transition: background-color 0.2s; }
.attendance-row:hover { background-color: #f8f9fc; }
/* Yoklama Daire Butonları (Check/Xmark) */
.attendance-checkbox { display: none; }
.attendance-label { cursor: pointer; transition: transform 0.1s; }
.attendance-label:active { transform: scale(0.9); }

.icon-circle { 
    width: 42px; height: 42px; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    font-size: 1.2rem; color: white; transition: all 0.3s ease; 
}

/* Katılmadı Durumu (Kırmızı) */
.attendance-checkbox:not(:checked) + .attendance-label .icon-circle { 
    background-color: #e74a3b; border: 2px solid #e74a3b; 
    box-shadow: 0 4px 10px rgba(231, 74, 59, 0.2); 
}
.attendance-checkbox:not(:checked) + .attendance-label .icon-check { display: none; }

/* Katıldı Durumu (Yeşil) */
.attendance-checkbox:checked + .attendance-label .icon-circle { 
    background-color: #1cc88a; border: 2px solid #1cc88a; 
    box-shadow: 0 4px 10px rgba(28, 200, 138, 0.2); 
}
.attendance-checkbox:checked + .attendance-label .icon-xmark { display: none; }

/* Grup Kartı Efektleri */
.group-card { transition: all 0.3s ease; border-left: 5px solid transparent !important; }
.group-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.08) !important; }
.student-row { border-bottom: 1px solid #f8f9fc; transition: background 0.2s; }
.student-row:hover { background-color: #fbfbfb !important; }
/* Kulüp Detay Paneli Özel Stilleri */
.detail-header-card {
    background: linear-gradient(45deg, #4e73df, #224abe);
    border-radius: 15px;
}

.nav-tabs-custom {
    border-bottom: 2px solid #f8f9fc;
    gap: 10px;
}

.nav-tabs-custom .nav-link {
    border: none;
    color: #858796;
    padding: 10px 20px;
    border-radius: 10px;
    transition: all 0.3s;
}

.nav-tabs-custom .nav-link:hover {
    background-color: #f8f9fc;
    color: #4e73df;
}

.nav-tabs-custom .nav-link.active {
    background-color: rgba(78, 115, 223, 0.1);
    color: #4e73df;
    font-weight: 700;
}

.coach-info-card {
    transition: all 0.3s ease;
    border: 1px solid #eee !important;
}

.coach-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
/* Modern Form Inputları */
.form-control-custom {
    background-color: #f8f9fc !important;
    border: 2px solid transparent !important;
    padding: 0.75rem 1rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.form-control-custom:focus {
    background-color: #fff !important;
    border-color: var(--sys-primary) !important;
    box-shadow: 0 4px 12px rgba(78, 115, 223, 0.1) !important;
}

.input-group-text-custom {
    background-color: #f8f9fc;
    border: 2px solid transparent;
    border-right: none;
    color: var(--sys-primary);
    font-weight: 700;
}
/* Finans Sayfası Özel Stilleri */
.finance-stat-card {
    transition: transform 0.3s ease;
    border-radius: 1.25rem !important;
}

.finance-stat-card:hover {
    transform: translateY(-5px);
}

.student-table thead th {
    background-color: #f8f9fc;
    font-size: 0.75rem;
    font-weight: 700;
    color: #4e73df;
    border: none;
}

.badge-ders-hak {
    font-size: 0.9rem !important;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.nav-link-custom {
    border: none !important;
    color: #858796 !important;
    padding: 12px 24px !important;
    transition: all 0.3s;
    border-radius: 10px 10px 0 0 !important;
}

.nav-link-custom.active {
    color: var(--sys-primary) !important;
    background-color: #fff !important;
    border-bottom: 3px solid var(--sys-primary) !important;
}
/* Kulüp Yönetimi Özel Stilleri */
.club-logo-wrapper {
    position: relative;
    width: 56px;
    height: 56px;
}

.club-status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-radius: 50%;
}

.agreement-box {
    background-color: #f8f9fc;
    border: 1px solid #e3e6f0;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.8rem;
}

.impersonate-btn:hover {
    background-color: #f6c23e !important;
    color: #fff !important;
    border-color: #f6c23e !important;
}
/* Genel Animasyon Kitaplığı */
@keyframes pulse-soft {
    0% { transform: scale(1); }
    50% { transform: scale(1.015); box-shadow: 0 10px 25px rgba(246, 194, 62, 0.2); }
    100% { transform: scale(1); }
}

@keyframes flash-soft {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

.animate-pulse { animation: pulse-soft 2.5s infinite ease-in-out; }
.animate-flash { animation: flash-soft 2s infinite ease-in-out; }

/* Dashboard Özel Kartlar */
.stat-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.training-time-box {
    min-width: 65px;
    background: #fff;
    border: 1px solid #e3e6f0;
    text-align: center;
    padding: 6px;
    border-radius: 10px;
    box-shadow: var(--sys-card-shadow);
}
/* Antrenör Yönetimi Özel Stilleri */
.coach-avatar-circle {
    width: 40px;
    height: 40px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.group-badge-container {
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hover-bg-light:hover {
    background-color: #f8f9fc !important;
}

.modal-section-title {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--sys-primary);
    border-bottom: 2px solid #f8f9fc;
    padding-bottom: 5px;
    margin-bottom: 15px;
}
/* Öğrenci Listesi Özel Stilleri */
.student-avatar {
    width: 42px;
    height: 42px;
    background-color: rgba(78, 115, 223, 0.1);
    color: var(--sys-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(78, 115, 223, 0.15);
}

.status-note-box {
    background-color: #fffcf0;
    border-left: 4px solid #f6c23e;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #856404;
    max-width: 300px;
}

.badge-age {
    background-color: #f8f9fc;
    color: #4e73df;
    border: 1px solid #e3e6f0;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}
/* Dashboard & Paywall Özel Stilleri */
.paywall-card {
    border: none;
    box-shadow: 0 25px 50px -12px rgba(220, 53, 69, 0.25);
}

.paywall-header {
    background: linear-gradient(135deg, #dc3545 0%, #a71d2a 100%);
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.bg-danger-subtle {
    background-color: rgba(220, 53, 69, 0.05) !important;
}

.bg-success-subtle {
    background-color: rgba(25, 135, 84, 0.05) !important;
}
/* Dashboard Widget ve Kilit Stilleri */
.icon-box { 
    width: 45px; height: 45px; 
    display: flex; align-items: center; justify-content: center; 
    font-size: 1.2rem; 
}

/* Kilit Modu (Paywall) Mimarisi */
.dashboard-content-blurred {
    filter: blur(10px) grayscale(80%);
    pointer-events: none;
    user-select: none;
    overflow: hidden;
    opacity: 0.6;
}

.lock-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.animate-pop {
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
/* Antrenör Görüşleri Özel Stilleri */
.student-selection-list .list-group-item {
    transition: all 0.2s ease;
    cursor: pointer;
}

.student-selection-list .list-group-item:hover {
    background-color: #f8f9fc !important;
    padding-left: 1.25rem;
}

.student-selection-list .list-group-item.active {
    background-color: var(--sys-primary) !important;
    color: white !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(78, 115, 223, 0.2);
}

.evaluation-textarea {
    border: 2px solid transparent !important;
    background-color: #f8f9fc !important;
    border-radius: 12px !important;
    padding: 15px !important;
    transition: all 0.3s ease;
}

.evaluation-textarea:focus {
    background-color: #fff !important;
    border-color: var(--sys-primary) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
}
/* Gider Yönetimi Özel Stilleri */
.expense-row:hover {
    background-color: rgba(220, 53, 69, 0.02) !important;
}

.category-badge {
    background-color: #f8f9fc;
    color: #4e73df;
    border: 1px solid #e3e6f0;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.amount-display {
    font-family: 'Monaco', 'Consolas', monospace;
    letter-spacing: -0.5px;
}
/* Finansal Yönetim Özel Stilleri */
.finance-table thead th {
    background-color: #f8f9fc;
    font-size: 0.75rem;
    font-weight: 700;
    color: #4e73df;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none !important;
}

.finance-row:hover {
    background-color: rgba(78, 115, 223, 0.02) !important;
}

.amount-input-group .input-group-text {
    background-color: transparent;
    border-right: none;
}

.amount-input-group .form-control {
    border-left: none;
}
/* Antrenman Takvimi Özel Stilleri */
.training-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid transparent !important;
}

.training-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}

.session-delete-btn {
    padding: 6px;
    background: #fff5f5;
    color: #e74a3b;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.session-delete-btn:hover {
    background: #e74a3b;
    color: #fff;
}
/* Haftalık Program Özel Stilleri */
.day-row {
    transition: background-color 0.2s;
}
.day-row:hover {
    background-color: rgba(78, 115, 223, 0.03);
}

.danger-zone {
    border: 2px dashed rgba(220, 53, 69, 0.2) !important;
    background-color: #fff8f8;
}

.input-group-text-custom {
    background-color: #f8f9fc;
    border: none;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #858796;
}
/* Grup Yönetimi Özel Stilleri */
.group-card-header {
    height: 4px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.schedule-list-item {
    transition: all 0.2s;
    border-bottom: 1px solid rgba(255,255,255,1);
}

.schedule-list-item:last-child {
    border-bottom: none !important;
}

.hover-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.1) !important;
}

.letter-spacing-1 { letter-spacing: 1px; }
/* Ayarlar Sayfası Özel Stilleri */
.settings-logo-preview {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.policy-card {
    background-color: rgba(78, 115, 223, 0.05);
    border: 1px solid rgba(78, 115, 223, 0.15) !important;
    transition: all 0.3s ease;
}

.policy-card:hover {
    background-color: rgba(78, 115, 223, 0.08);
}

/* Modern Switch Boyutu */
.form-switch .form-check-input {
    width: 3em !important;
    height: 1.5em !important;
    cursor: pointer;
}
/* Finans ve Ödeme Listesi Özel Stilleri */
.payment-row {
    transition: background-color 0.2s ease;
}

.payment-row:hover {
    background-color: rgba(28, 200, 138, 0.03) !important;
}

.badge-month {
    background-color: rgba(78, 115, 223, 0.1);
    color: #4e73df;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
}

.stat-card-finance {
    border-left: 5px solid var(--sys-success) !important;
}
/* Profil ve Ayarlar Sayfası Özel Stilleri */
.profile-icon-box {
    width: 100px;
    height: 100px;
    background-color: rgba(78, 115, 223, 0.1);
    color: var(--sys-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid #fff;
    box-shadow: var(--sys-card-shadow);
}

.security-zone {
    background-color: #fff9e6;
    border: 1px solid #ffeeba !important;
}

.form-control-custom {
    background-color: #f8f9fc !important;
    border: 1px solid transparent !important;
    font-weight: 600;
    color: #4e73df;
    padding: 0.75rem 1rem;
}

.form-control-custom:focus {
    background-color: #fff !important;
    border-color: var(--sys-primary) !important;
    box-shadow: 0 4px 12px rgba(78, 115, 223, 0.1) !important;
}
/* SaaS Finansal Özel Stilleri */
.expense-stat-card {
    transition: all 0.3s ease;
    border-radius: 1.25rem !important;
}

.expense-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important;
}

.amount-negative {
    color: #e74a3b;
    font-weight: 800;
    font-family: 'Consolas', 'Monaco', monospace;
}

.modal-header-danger {
    background: linear-gradient(135deg, #e74a3b 0%, #be2617 100%);
    color: white;
}
/* Rapor Sayfası Özel Stilleri */
.report-card-summary {
    transition: all 0.3s ease;
}

.report-table-small td {
    padding-top: 12px;
    padding-bottom: 12px;
}

/* YAZDIRMA STANDARTLARI */
@media print {
    @page { size: portrait; margin: 15mm; }
    body { background: white !important; font-size: 11pt; }
    .no-print { display: none !important; }
    
    .report-paper {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    .card { border: 1px solid #ddd !important; border-radius: 0 !important; margin-bottom: 20px !important; }
    .bg-light { background-color: #f8f9fc !important; -webkit-print-color-adjust: exact; }
    .badge { border: 1px solid #ccc !important; color: #000 !important; }
    
    /* Layout ayarları */
    .row { display: flex !important; flex-wrap: nowrap !important; }
    .col-lg-8 { width: 65% !important; }
    .col-lg-4 { width: 35% !important; }
}
/* Öğrenci Kayıt Formu Özel Stilleri */
.form-section-card {
    background-color: #f8f9fc;
    border: 1px solid #eaecf4;
    transition: border-color 0.3s ease;
}

.form-section-card:hover {
    border-color: var(--sys-primary);
}

.input-group-text-modern {
    background-color: #fff;
    border-right: none;
    color: #858796;
}

.form-control-modern {
    border-left: none;
}

.form-control-modern:focus {
    border-color: #dee2e6;
}
/* Öğrenci Detay Sayfası Özel Stilleri */
.student-detail-avatar {
    width: 90px;
    height: 90px;
    font-size: 2.2rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(78, 115, 223, 0.2);
    border: 3px solid #fff;
}

.stat-widget {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.stat-widget:hover {
    transform: translateY(-3px);
}

.info-label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #858796;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    display: block;
}

.info-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #3a3b45;
    margin-bottom: 12px;
}
/* Öğrenci Düzenleme Özel Stilleri */
.edit-section-title {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--sys-primary);
    border-bottom: 2px solid #f8f9fc;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.balance-card {
    background-color: #fff5f5;
    border: 1px solid #feb2b2 !important;
}

.input-group-text-light {
    background-color: #f8f9fc;
    border: none;
    color: #858796;
}
/* Arşivlenmiş Öğrenciler Özel Stilleri */
.archived-row {
    transition: all 0.2s;
    opacity: 0.85;
}

.archived-row:hover {
    opacity: 1;
    background-color: rgba(133, 135, 150, 0.05) !important;
}

.badge-archived {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 6px 12px;
}

.modal-header-restore {
    background: linear-gradient(45deg, #1cc88a, #13855c);
    color: white;
}
/* Öğrenci Listesi & Akordeon Özel Stilleri */
.accordion-student-header {
    background-color: #fff;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f1f3f9 !important;
}

.accordion-student-header:hover {
    background-color: #f8f9fc;
}

.student-table-row {
    transition: background-color 0.2s;
}

.student-table-row:hover {
    background-color: rgba(78, 115, 223, 0.02) !important;
}

.quick-action-icon {
    font-size: 1rem;
    color: #b7b9cc;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-action-icon:hover {
    color: var(--sys-primary);
    transform: scale(1.2);
}

.quick-action-icon.hover-danger:hover {
    color: #e74a3b;
}

.note-preview-box {
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
}
/* Süper Admin Dashboard Özel Stilleri */
:root {
    --indigo: #6610f2;
    --indigo-subtle: #f3f0ff;
    --teal: #20c997;
    --teal-subtle: #e6fffa;
}

.stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--sys-card-shadow);
    border: 1px solid #f1f3f5;
    height: 100%;
    transition: transform 0.2s ease;
}

.stat-card:hover { transform: translateY(-3px); }

.icon-sq {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.icon-sq-sm {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.bg-indigo-subtle { background-color: var(--indigo-subtle); color: var(--indigo); }
.bg-teal-subtle { background-color: var(--teal-subtle); color: #0ca678; }
/* Rapor ve Yazdırma Özel Stilleri */
.report-paper {
    max-width: 210mm;
    min-height: 297mm;
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.icon-sq-sm {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* YAZDIRMA (PRINT) STANDARTLARI */
@media print {
    @page { size: A4; margin: 0; }
    body { background: white !important; padding: 0 !important; }
    .no-print { display: none !important; }
    .no-print-bg { background: white !important; padding: 0 !important; }
    
    .report-paper {
        width: 100% !important;
        max-width: none !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 15mm !important;
        border: none !important;
    }

    /* Bootstrap Grid yazdırmada bazen bozulur, manuel sabitleme */
    .print-col-6 { 
        width: 50% !important; 
        float: left !important; 
        display: block !important;
    }
}
/* SaaS Finans Paneli Özel Stilleri */
.bg-gradient-success {
    background: linear-gradient(135deg, #1cc88a 0%, #13855c 100%);
}

.icon-sq {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.icon-sq-sm {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hover-bg-light:hover {
    background-color: #f8f9fc !important;
}

.card-animate {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-animate:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important;
}

.tracking-widest { letter-spacing: 0.1em; }
/* Grup Seçim Kartları Özel Stilleri */
.group-select-card {
    transition: all 0.3s ease;
    border-top: 4px solid var(--sys-primary) !important;
}

.group-select-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08) !important;
}

.icon-sq-bg {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}
/* Antrenman Oturum Kartları Özel Stilleri */
.session-card {
    transition: all 0.3s ease;
    border-radius: 1rem !important;
}

.session-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}

.calendar-sheet {
    min-width: 55px;
    height: 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.session-status-badge {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}
/* Kullanıcı Yönetimi Özel Stilleri */
.user-row-passive {
    background-color: #f8f9fc !important;
    opacity: 0.7;
}

.user-avatar-sm {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 50%;
}

.role-badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 10px;
}
/* Layout Ana Yapı */
#wrapper { display: flex; width: 100%; transition: all 0.3s ease; }
#sidebar-wrapper { min-height: 100vh; width: 260px; background: #2c3e50; transition: margin 0.3s ease; }
#page-content-wrapper { width: 100%; background: #f8f9fc; }
.main-container { padding: 1.5rem; min-height: calc(100vh - 70px); }

/* Sidebar Menü */
.sidebar-heading { padding: 2rem 1.5rem; font-size: 1.25rem; color: #fff; font-weight: 800; border-bottom: 1px solid rgba(255,255,255,0.1); }
.menu-header { padding: 1.5rem 1.5rem 0.5rem; font-size: 0.7rem; font-weight: 800; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 1px; }
.list-group-item { background: transparent !important; color: rgba(255,255,255,0.7) !important; border: none !important; padding: 0.8rem 1.5rem; font-size: 0.9rem; transition: all 0.2s; }
.list-group-item:hover { color: #fff !important; background: rgba(255,255,255,0.05) !important; padding-left: 1.8rem; }
.list-group-item.active { background: rgba(78, 115, 223, 0.15) !important; color: #4e73df !important; border-left: 4px solid #4e73df !important; font-weight: 700; }

/* Navbar */
nav.navbar { background: #fff; height: 70px; border-bottom: 1px solid #e3e6f0; padding: 0 1.5rem; }
.impersonate-bar { background: #f6c23e; color: #000; padding: 8px 1.5rem; display: flex; justify-content: space-between; align-items: center; }
:root {
    --sys-primary: #3b82f6;
    --sys-bg: #f8fafc;
    --sys-card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
}

body { font-family: 'Inter', system-ui, -apple-system, sans-serif; background-color: var(--sys-bg); }

.login-card {
    border: none;
    border-radius: 1.25rem;
    box-shadow: var(--sys-card-shadow);
    background: #ffffff;
}

.form-control, .input-group-text {
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--sys-primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    background-color: #fff !important;
}

.btn-primary {
    background-color: var(--sys-primary);
    border: none;
    padding: 12px 24px;
    border-radius: 0.75rem;
    transition: all 0.2s;
}

.hover-scale:hover { transform: scale(1.01); }
.hover-scale:active { transform: scale(0.98); }
/* Veli Paneli & Yoklama Özel Stilleri */
.attendance-row:hover {
    background-color: rgba(54, 185, 204, 0.02) !important;
}

.status-badge-lg {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    border-radius: 50px;
}

.date-label {
    display: block;
    line-height: 1.2;
}
/* Veli Paneli Öğrenci Kartları Özel Stilleri */
.student-avatar-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--sys-primary) 0%, #2563eb 100%);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.attendance-mini-box {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: transform 0.2s;
}

.attendance-mini-box:hover {
    transform: scale(1.15);
}

.info-card-sm {
    border: 1px solid #f1f3f9;
    transition: all 0.3s ease;
}

.info-card-sm:hover {
    background-color: #fff !important;
    border-color: var(--sys-primary);
}
/* Veli Giriş Portalı Özel Stilleri */
.parent-login-body {
    background: radial-gradient(circle at top right, #6366f1 0%, #4338ca 100%);
}

.parent-card {
    border: none;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.input-group-text-parent {
    background-color: transparent;
    border-right: none;
    color: #6366f1;
}

.form-control-parent {
    border-left: none;
    background-color: #f9fafb !important;
}

.btn-parent {
    background: #6366f1;
    border: none;
    padding: 14px;
    border-radius: 1rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-parent:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.4);
}
/* Veli Dashboard Özel Stilleri */
.parent-stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.parent-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.icon-circle-lg {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}

.quick-menu-item {
    padding: 12px 15px;
    border-radius: 12px !important;
    margin-bottom: 5px;
    transition: all 0.2s;
    font-weight: 600;
    font-size: 0.9rem;
}

.quick-menu-item:hover {
    background-color: #f8f9fc !important;
    padding-left: 20px;
}
/* Veli Ödeme Paneli Özel Stilleri */
.payment-history-row:hover {
    background-color: rgba(246, 194, 62, 0.02) !important;
}

.amount-display {
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.5px;
    font-weight: 700;
}

.method-badge {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
/* Gelişim Raporu & Timeline Özel Stilleri */
.timeline-item {
    position: relative;
    padding-left: 25px;
    border-left: 2px solid #e9ecef;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--sys-primary);
}

.chart-wrapper {
    background: #ffffff;
    border-radius: 1.25rem;
    transition: box-shadow 0.3s;
}

.chart-wrapper:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.comment-bubble {
    background-color: #f8f9fc;
    border-radius: 0 15px 15px 15px;
    position: relative;
}
/* Veli Öğrenci Detay Özel Stilleri */
.balance-display {
    font-size: 3.5rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -2px;
}

.detail-info-row {
    padding: 10px 0;
    border-bottom: 1px solid #f1f3f9;
}

.detail-info-row:last-child {
    border-bottom: none;
}

.payment-item {
    transition: background-color 0.2s;
}

.payment-item:hover {
    background-color: #f8f9fc !important;
}
/* Login Sayfası Özel Stilleri */
.login-body {
    background: radial-gradient(circle at top right, #1e3c72 0%, #122240 100%);
}

.login-card {
    border: none;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 420px;
}

.form-control-modern {
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.form-control-modern:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.input-group-text-modern {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-right: none;
    border-radius: 0.75rem 0 0 0.75rem;
    color: #94a3b8;
}

.btn-login {
    background: #3b82f6;
    border: none;
    padding: 14px;
    border-radius: 0.75rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-login:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}
/* Mobil Uyumluluk Sihri */
@media (max-width: 768px) {
    #sidebar-wrapper {
        margin-left: -260px; /* Mobilde menüyü gizle */
    }
    .table thead { display: none; } /* Mobilde başlıkları gizleyebiliriz veya çok küçültebiliriz */
    .table td { 
        font-size: 12px !important; 
        padding: 8px 4px !important; 
    }
    .stat-card h2 { font-size: 20px; } /* Kart rakamlarını küçült */

    #wrapper.toggled #sidebar-wrapper {
        margin-left: 0; /* Butona basınca gelsin */
    }
    .main-container {
        padding: 10px; /* Mobilde boşlukları daralt */
    }
    .stat-card {
        margin-bottom: 15px;
    }
    /* Tabloları yatay kaydırılabilir yap */
    .table-responsive {
        border: 0;
    }
}

