/* ===================== ÖĞRENCI TAKİP SİSTEMİ - CUSTOM CSS ===================== */

/* Sidebar Font Ayarları */
#sidebar-menu ul li a {
    font-size: 0.85rem;
}
#sidebar-menu ul li ul li a {
    font-size: 0.8rem;
}

/* Dashboard Kartları - Modern */
.dashboard-stat-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}
.dashboard-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12) !important;
}
.dashboard-stat-card .stat-accent {
    height: 4px;
    width: 100%;
}
.dashboard-stat-card .stat-label {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.dashboard-stat-card .stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}
.dashboard-stat-card .stat-sub {
    color: #94a3b8;
    font-size: 0.8rem;
}
.dashboard-stat-card .stat-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

/* Dashboard Equal Height Rows */
.dashboard-equal-row {
    display: flex;
    flex-wrap: wrap;
}
.dashboard-equal-row > [class*="col-"] {
    display: flex;
}

/* Legacy compat */
.mini-stats-wid .mini-stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Seans Durumu Badge */
.seans-alindi {
    background-color: #34c38f !important;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}
.seans-alinmadi {
    background-color: #f46a6a !important;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}
.seans-planli {
    background-color: #556ee6 !important;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* Bildirim Badge */
.bildirim-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    font-size: 10px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    padding: 0 4px;
    border-radius: 50%;
}

/* Öğrenci Detay Kartı */
.ogrenci-profil-card {
    text-align: center;
    padding: 20px;
}
.ogrenci-profil-card .profil-foto {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #556ee6;
    margin-bottom: 15px;
}
.ogrenci-profil-card .profil-harf {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #556ee6;
    color: #fff;
    font-size: 36px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

/* Takvim Özelleştirme */
.fc .fc-toolbar-title {
    font-size: 1.1rem !important;
}
.fc .fc-button {
    font-size: 0.8rem !important;
}
.fc .fc-daygrid-event {
    border-radius: 4px;
    padding: 2px 4px;
}

/* Kasa Defteri */
.kasa-gelir {
    color: #34c38f;
    font-weight: 600;
}
.kasa-gider {
    color: #f46a6a;
    font-weight: 600;
}

/* Login Sayfası */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #556ee6 0%, #34c38f 100%);
}
.login-card {
    max-width: 420px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}
.login-card .card-body {
    padding: 40px;
}
.login-logo {
    text-align: center;
    margin-bottom: 30px;
}
.login-logo img {
    max-width: 180px;
    height: auto;
}
.login-logo h4 {
    color: #495057;
    margin-top: 15px;
    font-weight: 600;
}

/* Mobil Uyumluluk Ek */
@media (max-width: 768px) {
    .login-card .card-body {
        padding: 25px;
    }
    .page-title-box {
        padding: 10px 0;
    }
    .mini-stats-wid {
        margin-bottom: 10px;
    }
    .card {
        margin-bottom: 15px;
    }
    .table-responsive {
        font-size: 13px;
    }
    .btn-group .btn {
        padding: 4px 8px;
        font-size: 12px;
    }
    .ogrenci-profil-card .profil-foto,
    .ogrenci-profil-card .profil-harf {
        width: 80px;
        height: 80px;
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .page-content {
        padding: 60px 10px 10px;
    }
    .card-body {
        padding: 15px;
    }
    h4.card-title {
        font-size: 15px;
    }
}

/* DataTables Responsive */
table.dataTable {
    width: 100% !important;
}

/* SweetAlert2 Özelleştirme */
.swal2-popup {
    font-size: 14px !important;
}

/* Bildirim Dropdown */
.notification-item {
    padding: 10px 15px;
    border-bottom: 1px solid #f6f6f6;
    cursor: pointer;
    transition: background 0.2s;
}
.notification-item:hover {
    background: #f8f9fa;
}
.notification-item .notify-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* Animasyonlar */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Rapor Kartları */
.rapor-card {
    border-left: 4px solid;
    transition: transform 0.2s;
}
.rapor-card:hover {
    transform: translateY(-2px);
}
.rapor-card.gelir { border-left-color: #34c38f; }
.rapor-card.gider { border-left-color: #f46a6a; }
.rapor-card.toplam { border-left-color: #556ee6; }
.rapor-card.bekleyen { border-left-color: #f1b44c; }

/* WhatsApp Butonu */
.btn-whatsapp {
    background-color: #25D366;
    border-color: #25D366;
    color: #fff;
}
.btn-whatsapp:hover {
    background-color: #1fb855;
    border-color: #1fb855;
    color: #fff;
}

/* Seans Takvim Grid */
.seans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
}
.seans-gun {
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #e9ecef;
}
.seans-gun:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.seans-gun.alindi {
    background: #d4edda;
    border-color: #34c38f;
    color: #155724;
}
.seans-gun.alinmadi {
    background: #f8d7da;
    border-color: #f46a6a;
    color: #721c24;
}
.seans-gun.planli {
    background: #e8eaf6;
    border-color: #556ee6;
    color: #283593;
}

/* ===================== WIZARD FORM (Öğrenci Kayıt) ===================== */

/* Step Indicator */
.wizard-steps {
    padding: 10px 0;
}
.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: all 0.3s ease;
}
.wizard-step.active {
    opacity: 1;
}
.wizard-step .step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}
.wizard-step.active .step-circle {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.wizard-step.completed .step-circle {
    transform: scale(1);
}
.wizard-step span {
    font-size: 12px;
    font-weight: 600;
    color: #74788d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.wizard-step.active span {
    color: #495057;
}
.step-line {
    width: 60px;
    height: 3px;
    background: #e9ecef;
    border-radius: 3px;
    margin-bottom: 20px;
    transition: background 0.3s ease;
}
.step-line.active {
    background: linear-gradient(135deg, #556ee6, #34c38f);
}

/* Wizard Card Styling */
.wizard-content .card-header {
    border-bottom: none;
}
.wizard-content .card-header h5 {
    font-size: 16px;
    letter-spacing: 0.3px;
}
.wizard-content .card-body .form-label {
    font-size: 13px;
    color: #495057;
    margin-bottom: 6px;
}
.wizard-content .input-group-text {
    font-size: 16px;
}
.wizard-content .form-control:focus,
.wizard-content .form-select:focus {
    box-shadow: 0 0 0 0.15rem rgba(85, 110, 230, 0.15);
}

/* Soft Background Colors */
.bg-soft-primary { background-color: rgba(85, 110, 230, 0.1) !important; }
.bg-soft-success { background-color: rgba(52, 195, 143, 0.1) !important; }
.bg-soft-danger { background-color: rgba(244, 106, 106, 0.1) !important; }
.bg-soft-warning { background-color: rgba(241, 180, 76, 0.1) !important; }

/* Soft Alert */
.alert-soft-danger {
    background-color: rgba(244, 106, 106, 0.08);
    color: #f46a6a;
    border-radius: 8px;
    font-size: 13px;
}

/* Soft Button */
.btn-soft-secondary {
    background-color: rgba(116, 120, 141, 0.1);
    color: #74788d;
    border: none;
}
.btn-soft-secondary:hover {
    background-color: rgba(116, 120, 141, 0.2);
    color: #495057;
}

/* Wizard Mobile */
@media (max-width: 576px) {
    .wizard-step .step-circle {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .wizard-step span {
        font-size: 10px;
    }
    .step-line {
        width: 30px;
    }
    .wizard-content .card-footer {
        flex-direction: column;
        gap: 10px;
    }
    .wizard-content .card-footer .d-flex {
        width: 100%;
        justify-content: stretch;
    }
    .wizard-content .card-footer .btn {
        width: 100%;
    }
}
