:root {
    --primary-color: #054269;  /* Koyu mavi - ana renk */
    --secondary-color: #0a84ff;  /* Açık mavi - vurgu rengi */
    --accent-color: #f9a826;  /* Turuncu - vurgu rengi */
    --background-color: #f9fafb;  /* Açık gri - arka plan */
    --card-color: #ffffff;  /* Beyaz - kart arka planı */
    --text-color: #2c3e50;  /* Koyu mavi gri - ana metin */
    --text-secondary: #64748b;  /* Açık gri - ikincil metin */
    --border-color: #e2e8f0;  /* Açık gri - kenarlıklar */
    --danger-color: #e74c3c;  /* Kırmızı - tehlike */
    --warning-color: #f39c12;  /* Turuncu - uyarı */
    --success-color: #2ecc71;  /* Yeşil - başarı */
    --info-color: #3498db;  /* Mavi - bilgi */
    --shadow-color: rgba(0, 0, 0, 0.1);  /* Gölge rengi */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header ve Navigasyon */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
}

.logo h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

/* Ana İçerik */
main {
    padding-top: 100px;
    padding-bottom: 50px;
    min-height: calc(100vh - 60px);
}

/* Hero Bölümü */
.hero-section {
    background: linear-gradient(to right, var(--primary-color), #0a5b99);
    color: white;
    padding: 80px 0;
    margin-bottom: 60px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/static/img/pattern.png');
    opacity: 0.1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Kartlar */
.card {
    background-color: var(--card-color);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.card-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(10, 132, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--secondary-color);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Optimize Edilmiş Program Arayüzü Stilleri */
.week-schedule {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    background-color: white;
    margin-top: 20px;
    max-width: 100%;
}

.days-column {
    min-width: 100px;
    width: 100px;
    background-color: var(--primary-color);
    color: white;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.day-header {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(0, 0, 0, 0.1);
    font-size: 14px;
}

.day-item {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
    font-size: 14px;
}

.day-item {
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
    font-size: 14px;
    padding: 5px;
}

.day-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.day-date {
    font-size: 12px;
    opacity: 0.8;
    font-weight: 400;
}

@media (max-width: 768px) {
    .day-item {
        height: 140px;
        padding: 3px;
        font-size: 13px;
    }
    
    .day-name {
        font-size: 13px;
    }
    
    .day-date {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .day-item {
        font-size: 12px;
    }
    
    .day-name {
        font-size: 12px;
    }
    
    .day-date {
        font-size: 10px;
    }
}

.subjects-container {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
}

.subjects-scroll {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* iOS için yumuşak kaydırma */
    scrollbar-width: thin; /* Firefox için ince kaydırma çubuğu */
}

.subject-column {
    min-width: 180px;
    width: 180px;
    border-right: 1px solid var(--border-color);
}

.subject-column:last-child {
    border-right: none;
}

.subject-header {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    background-color: rgba(5, 66, 105, 0.05);
    border-bottom: 1px solid var(--border-color);
    color: var(--primary-color);
    font-size: 14px;
}

.schedule-cell {
    height: 120px;
    padding: 5px;
    border-bottom: 1px solid var(--border-color);
    overflow-y: auto;
}

.schedule-item {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 8px;
    margin-bottom: 5px;
    border-left: 3px solid var(--primary-color);
    position: relative;
}

.schedule-item:last-child {
    margin-bottom: 0;
}

.schedule-topic {
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.schedule-topic strong {
    display: block;
    font-size: 13px;
    color: var(--primary-color);
    line-height: 1.2;
    overflow: hidden;
    max-width: 120px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.unit-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-size: 11px;
    padding: 1px 5px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60px;
}

.schedule-progress {
    display: flex;
    align-items: center;
    gap: 5px;
    padding-right: 20px; /* Düzenleme butonu için yer */
}

.progress-bar {
    flex-grow: 1;
    height: 5px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--success-color);
}

.progress-text {
    font-size: 11px;
    color: var(--text-secondary);
    white-space: nowrap;
    min-width: 30px;
    text-align: right;
}

.edit-schedule {
    position: absolute;
    top: 5px;
    right: 5px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    font-size: 12px;
}

.edit-schedule:hover {
    color: var(--primary-color);
}

.empty-schedule {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 16px;
}

.scroll-indicator {
    display: none;
    text-align: center;
    padding: 5px;
    color: var(--text-secondary);
    background-color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid var(--border-color);
    font-size: 12px;
}

.scroll-indicator i {
    margin: 0 3px;
    animation: bounce 1s infinite alternate;
}

/* Lejant stilleri */
.schedule-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
    font-size: 13px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.legend-item span {
    color: var(--text-secondary);
}

/* Responsive Stilleri */
@media (max-width: 768px) {
    .days-column {
        min-width: 70px;
        width: 70px;
    }
    
    .day-item {
        height: 140px;
        padding: 3px;
        font-size: 13px;
    }
    
    .schedule-cell {
        height: 140px;
    }
    
    .subject-column {
        min-width: 150px;
        width: 150px;
    }
    
    .schedule-topic strong {
        max-width: 90px;
        font-size: 12px;
    }
    
    .scroll-indicator {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .unit-badge {
        font-size: 10px;
        max-width: 40px;
    }
}

@media (max-width: 480px) {
    .days-column {
        min-width: 60px;
        width: 60px;
    }
    
    .day-item {
        font-size: 12px;
    }
    
    .subject-column {
        min-width: 130px;
        width: 130px;
    }
    
    .schedule-topic strong {
        max-width: 80px;
        font-size: 11px;
    }
    
    .unit-badge {
        max-width: 35px;
    }
    
    .schedule-legend {
        font-size: 11px;
    }
}

/* Kaydırma çubuğu stilleri */
.subjects-scroll::-webkit-scrollbar {
    height: 5px;
}

.subjects-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.subjects-scroll::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

.subjects-scroll::-webkit-scrollbar-thumb:hover {
    background-color: #a8a8a8;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Butonlar */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #03375a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(5, 66, 105, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #0070e0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 132, 255, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent-color);
    color: white;
}

.btn-accent:hover {
    background-color: #e8971f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 168, 38, 0.3);
}

/* Form Elementleri */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.2);
    outline: none;
}

/* Login ve Register Sayfaları */
.auth-container {
    max-width: 500px;
    margin: 50px auto;
}

.auth-card {
    padding: 40px;
}

.auth-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

/* Uyarı Mesajları */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alert-success {
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid var(--success-color);
    color: var(--success-color);
}

.alert-danger {
    background-color: rgba(231, 76, 60, 0.1);
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
}

.alert-warning {
    background-color: rgba(243, 156, 18, 0.1);
    border: 1px solid var(--warning-color);
    color: var(--warning-color);
}

.alert-info {
    background-color: rgba(52, 152, 219, 0.1);
    border: 1px solid var(--info-color);
    color: var(--info-color);
}

.alert-close {
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}

/* Tablolar */
.table-container {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: rgba(5, 66, 105, 0.05);
    font-weight: 600;
    color: var(--primary-color);
}

tr:hover {
    background-color: rgba(5, 66, 105, 0.02);
}

/* Program Tablosu */
.schedule-table {
    overflow-x: auto;
}

.schedule-table th {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 15px;
}

.schedule-subject {
    font-weight: 600;
    margin-bottom: 8px;
}

.schedule-questions {
    font-size: 14px;
    color: var(--text-secondary);
}

.subject-col {
    background-color: rgba(5, 66, 105, 0.05);
    font-weight: 600;
}

/* Öğrenci Kartları */
.students-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.student-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
}

.student-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.student-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(5, 66, 105, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
}

.student-info h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

/* Schedule Editor */
.schedule-editor {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
}

.schedule-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr auto;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.add-row-btn, .remove-row-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-row-btn {
    background-color: var(--success-color);
    color: white;
    font-size: 20px;
}

.add-row-btn:hover {
    background-color: #27ae60;
    transform: rotate(90deg);
}

.remove-row-btn {
    background-color: var(--danger-color);
    color: white;
    font-size: 20px;
}

.remove-row-btn:hover {
    background-color: #c0392b;
    transform: rotate(90deg);
}

/* Progress Tracker */
.progress-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    gap: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.view-toggle {
    display: flex;
    gap: 10px;
}

.subject-section {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background-color: white;
}

.subject-header {
    padding: 20px;
    background-color: rgba(5, 66, 105, 0.05);
}

.subject-header h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    font-size: 18px;
    color: var(--primary-color);
}

.subject-progress {
    font-size: 14px;
    font-weight: normal;
    color: var(--text-secondary);
}

.progress-bar {
    height: 8px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    margin-top: 15px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.topics-container {
    padding: 15px;
}

.topic-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.topic-item.completed {
    background-color: rgba(46, 204, 113, 0.05);
    border-color: var(--success-color);
}

.topic-header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid var(--border-color);
}

.topic-title {
    font-weight: 500;
    display: flex;
    align-items: center;
}

.topic-progress {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 15px;
}

.completed-count {
    color: var(--success-color);
    font-weight: 600;
}

.toggle-units {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.toggle-units:hover {
    color: var(--primary-color);
}

.units-container {
    padding: 15px;
    display: none;
}

.unit-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.unit-item:last-child {
    border-bottom: none;
}

.unit-item.completed {
    color: var(--success-color);
}

/* Checkbox stili */
.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
    width: 100%;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #fff;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--secondary-color);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Testimonials Section */
.testimonials-section {
    margin: 50px 0;
}

.testimonials-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.testimonial-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-quote {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.7;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(5, 66, 105, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 20px;
}

.author-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.author-info p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.prev-testimonial, .next-testimonial {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-testimonial:hover, .next-testimonial:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    margin: 0 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-content {
        font-size: 15px;
    }
    
    .author-avatar {
        width: 40px;
        height: 40px;
    }
}

/* Responsive Stilleri */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .feature-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 15px;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        display: none;
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .card {
        padding: 20px;
    }
    
    .schedule-row {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .logo img {
        height: 40px;
    }
    
    .logo h1 {
        font-size: 18px;
    }
    
    .hero-section {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .auth-card {
        padding: 25px;
    }
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Dairesel İlerleme */
.circular-progress {
    position: relative;
    width: 100px;
    height: 100px;
}

.progress-ring__circle {
    stroke: var(--secondary-color);
    fill: transparent;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s ease;
}

.progress-bg {
    stroke: rgba(5, 66, 105, 0.1);
    fill: transparent;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Çoklu Renk Arka Planı */
.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color), #0a5b99);
    color: white;
}

/* Hover Efektleri */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Testmonial Bölümü */
.testimonial-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin: 20px 0;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.author-info p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Call to Action */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #0a5b99);
    color: white;
    padding: 60px 0;
    border-radius: 12px;
    text-align: center;
    margin: 50px 0;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

@media print {
    header, footer, .nav-links, .mobile-menu-btn, .btn, .alert {
        display: none !important;
    }
    
    body {
        background-color: white;
    }
    
    .container {
        width: 100%;
        max-width: none;
        padding: 0;
        margin: 0;
    }
    
    main {
        padding-top: 0;
    }
    
    .card {
        box-shadow: none;
        border: none;
    }
    
    .week-schedule {
        font-size: 10px;
    }
    
    /* Yazdırma sayfasının altında ve üstünde bilgiler ekle */
    @page {
        margin: 1cm;
    }
    
    .print-header, .print-footer {
        display: block;
        text-align: center;
    }
}

/* Normal görünümde yazdırma başlık ve alt bilgisini gizle */
.print-header, .print-footer {
    display: none;
}

/* Teacher Schedule Edit Additional Styles - style.css dosyasının sonuna eklenecek */

/* Modal Animations */
.modal {
    animation: fadeIn 0.3s ease;
}

.modal-content {
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Schedule Item Hover Effects */
.schedule-item.editable:hover {
    background-color: rgba(5, 66, 105, 0.05);
    border-left-color: var(--secondary-color);
}

.schedule-item.editable:hover .schedule-actions {
    opacity: 1;
}

.schedule-actions {
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* Success Button */
.btn-success {
    background-color: var(--success-color);
    color: white;
}

.btn-success:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

/* Enhanced Empty Schedule */
.empty-schedule {
    min-height: 80px;
    transition: all 0.3s ease;
}

.empty-schedule:hover {
    background-color: rgba(5, 66, 105, 0.08);
    transform: scale(1.02);
}

/* Subject Header Enhanced */
.subject-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

/* Progress Bar Enhanced */
.progress-bar {
    position: relative;
    background: linear-gradient(90deg, #f0f0f0 0%, #e0e0e0 100%);
}

.progress-fill {
    background: linear-gradient(90deg, var(--success-color) 0%, #27ae60 100%);
}

/* Form Enhancements */
.form-control:focus {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(10, 132, 255, 0.2);
}

/* Responsive Modal */
@media (max-width: 480px) {
    .modal-content {
        width: 98%;
        margin: 5px;
        max-height: 95vh;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 15px;
    }
    
    .form-grid {
        gap: 10px;
    }
}

/* Loading State */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Schedule Cell */
.schedule-cell {
    position: relative;
    transition: background-color 0.2s ease;
}

.schedule-cell:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Better Visual Hierarchy */
.subject-column[data-subject] {
    border-left: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.subject-column[data-subject="Matematik"] {
    border-left-color: #e74c3c;
}

.subject-column[data-subject="Türkçe"] {
    border-left-color: #3498db;
}

.subject-column[data-subject="Fizik"] {
    border-left-color: #9b59b6;
}

.subject-column[data-subject="Kimya"] {
    border-left-color: #f39c12;
}

.subject-column[data-subject="Biyoloji"] {
    border-left-color: #27ae60;
}

.subject-column[data-subject="Geometri"] {
    border-left-color: #e67e22;
}

.subject-column[data-subject="Edebiyat"] {
    border-left-color: #8e44ad;
}

.subject-column[data-subject="Coğrafya"] {
    border-left-color: #16a085;
}

.subject-column[data-subject="Tarih"] {
    border-left-color: #c0392b;
}

/* Yeni Schedule Table Stilleri - style.css dosyasının sonuna eklenecek */

/* Schedule Table Container */
.schedule-table-container {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background-color: white;
    margin-bottom: 20px;
}

/* Schedule Table */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    background-color: white;
}

/* Table Headers */
.subject-header-cell {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    text-align: center;
    padding: 15px 12px;
    width: 120px;
    min-width: 120px;
    position: sticky;
    left: 0;
    z-index: 10;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.day-header-cell {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 10px 8px;
    width: 140px;
    min-width: 140px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.day-name {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 4px;
}

.day-date {
    font-size: 11px;
    opacity: 0.9;
    font-weight: 400;
}

/* Subject Cells */
.subject-cell {
    background-color: rgba(5, 66, 105, 0.08);
    font-weight: 600;
    color: var(--primary-color);
    padding: 15px 12px;
    text-align: center;
    vertical-align: middle;
    position: sticky;
    left: 0;
    z-index: 5;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    min-height: 80px;
}

.subject-name {
    font-size: 13px;
    line-height: 1.2;
}

/* Schedule Cells */
.schedule-cell {
    padding: 8px;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
    min-height: 80px;
    max-height: 120px;
    overflow-y: auto;
    position: relative;
}

.schedule-cell:last-child {
    border-right: none;
}

/* Schedule Content */
.schedule-content {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 8px;
    margin-bottom: 6px;
    border-left: 3px solid var(--primary-color);
    position: relative;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.schedule-content:last-child {
    margin-bottom: 0;
}

.schedule-content.editable {
    cursor: pointer;
    transition: all 0.2s ease;
}

.schedule-content.editable:hover {
    background-color: rgba(5, 66, 105, 0.05);
    border-left-color: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Topic and Unit */
.topic-name {
    font-weight: 600;
    font-size: 12px;
    color: var(--text-color);
    line-height: 1.2;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.unit-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 12px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.unit-badge.sample {
    margin-right: 5px;
}

/* Progress Section */
.progress-section {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

.progress-bar-mini {
    flex-grow: 1;
    height: 4px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill-mini {
    height: 100%;
    background-color: var(--success-color);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.progress-numbers {
    font-size: 10px;
    color: var(--text-secondary);
    white-space: nowrap;
    min-width: 30px;
    text-align: right;
    font-weight: 500;
}

/* Edit Link */
.edit-link {
    position: absolute;
    top: 4px;
    right: 4px;
    color: var(--text-secondary);
    font-size: 12px;
    transition: color 0.2s ease;
    padding: 2px;
}

.edit-link:hover {
    color: var(--primary-color);
}

/* Empty Cells */
.empty-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 16px;
    min-height: 60px;
    opacity: 0.5;
}

.empty-cell.add-content {
    cursor: pointer;
    border: 2px dashed transparent;
    border-radius: 6px;
    transition: all 0.3s ease;
    flex-direction: column;
    gap: 4px;
}

.empty-cell.add-content:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: rgba(5, 66, 105, 0.05);
    opacity: 1;
}

.empty-cell.add-content i {
    font-size: 14px;
}

.empty-cell.add-content span {
    font-size: 11px;
    font-weight: 500;
}

/* Teacher Edit Specific Styles */
.schedule-table.teacher-edit .subject-cell.editable-subject {
    position: relative;
}

.remove-subject-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(231, 76, 60, 0.1);
    border: none;
    color: var(--danger-color);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 10px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-subject-btn:hover {
    background-color: var(--danger-color);
    color: white;
}

.schedule-actions {
    position: absolute;
    top: 2px;
    right: 2px;
    display: flex;
    gap: 2px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.schedule-content.editable:hover .schedule-actions {
    opacity: 1;
}

.edit-btn, .delete-btn {
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.edit-btn {
    background-color: var(--secondary-color);
    color: white;
}

.edit-btn:hover {
    background-color: #0070e0;
}

.delete-btn {
    background-color: var(--danger-color);
    color: white;
}

.delete-btn:hover {
    background-color: #c0392b;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
    color: var(--primary-color);
}

.modal-close {
    font-size: 28px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
    background-color: #f8f9fa;
}

/* Legend */
.schedule-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    font-size: 13px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-item span {
    color: var(--text-secondary);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .schedule-table-container {
        margin: 0 -15px;
        border-radius: 0;
    }
    
    .subject-header-cell {
        width: 100px;
        min-width: 100px;
        padding: 12px 8px;
        font-size: 12px;
    }
    
    .day-header-cell {
        width: 120px;
        min-width: 120px;
        padding: 8px 6px;
    }
    
    .day-name {
        font-size: 12px;
    }
    
    .day-date {
        font-size: 10px;
    }
    
    .subject-cell {
        padding: 12px 8px;
    }
    
    .subject-name {
        font-size: 12px;
    }
    
    .schedule-content {
        padding: 6px;
        min-height: 50px;
    }
    
    .topic-name {
        font-size: 11px;
    }
    
    .unit-badge {
        font-size: 9px;
        padding: 1px 4px;
    }
    
    .progress-numbers {
        font-size: 9px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 15px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .subject-header-cell,
    .day-header-cell {
        padding: 8px 4px;
    }
    
    .subject-header-cell {
        width: 80px;
        min-width: 80px;
    }
    
    .day-header-cell {
        width: 100px;
        min-width: 100px;
    }
    
    .schedule-legend {
        flex-direction: column;
        gap: 10px;
        font-size: 12px;
    }
    
    .schedule-actions {
        position: static;
        justify-content: center;
        margin-top: 4px;
        opacity: 1;
    }
    
    .schedule-content {
        padding-bottom: 25px;
    }
}

/* Success Button */
.btn-success {
    background-color: var(--success-color);
    color: white;
}

.btn-success:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

/* Animation Keyframes */
@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Subject Color Coding */
.schedule-cell[data-subject="Matematik"] .schedule-content {
    border-left-color: #e74c3c;
}

.schedule-cell[data-subject="Türkçe"] .schedule-content {
    border-left-color: #3498db;
}

.schedule-cell[data-subject="Fizik"] .schedule-content {
    border-left-color: #9b59b6;
}

.schedule-cell[data-subject="Kimya"] .schedule-content {
    border-left-color: #f39c12;
}

.schedule-cell[data-subject="Biyoloji"] .schedule-content {
    border-left-color: #27ae60;
}

.schedule-cell[data-subject="Geometri"] .schedule-content {
    border-left-color: #e67e22;
}

.schedule-cell[data-subject="Edebiyat"] .schedule-content {
    border-left-color: #8e44ad;
}

.schedule-cell[data-subject="Coğrafya"] .schedule-content {
    border-left-color: #16a085;
}

.schedule-cell[data-subject="Tarih"] .schedule-content {
    border-left-color: #c0392b;
}

/* Mobil Navigation Düzeltmeleri - style.css dosyasının sonuna eklenecek */

/* Mobil menü butonları için özel stiller */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        display: none;
        z-index: 1000;
        border-radius: 0 0 12px 12px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    /* Mobil menüdeki linkler için kompakt stiller */
    .nav-link {
        padding: 12px 15px;
        margin: 5px 0;
        border-radius: 8px;
        transition: all 0.3s ease;
        text-align: center;
        font-weight: 500;
        font-size: 15px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .nav-link:hover {
        background-color: rgba(5, 66, 105, 0.08);
        color: var(--primary-color);
        transform: none; /* Mobilde transform efektini kaldır */
    }
    
    /* Giriş butonu için özel stil */
    .nav-link[href*="login"] {
        background-color: var(--primary-color);
        color: white !important;
        font-weight: 600;
        border-radius: 25px;
        padding: 10px 20px;
        margin-top: 10px;
        min-width: auto;
        width: auto;
        align-self: center;
    }
    
    .nav-link[href*="login"]:hover {
        background-color: #03375a;
        color: white !important;
        transform: scale(1.02);
    }
    
    /* Çıkış butonu için özel stil */
    .nav-link[href*="logout"] {
        background-color: var(--danger-color);
        color: white !important;
        font-weight: 600;
        border-radius: 25px;
        padding: 10px 20px;
        margin-top: 10px;
        width: auto;
        align-self: center;
    }
    
    .nav-link[href*="logout"]:hover {
        background-color: #c0392b;
        color: white !important;
        transform: scale(1.02);
    }
    
    /* Mobil menü buton ikonları */
    .nav-link i {
        font-size: 16px;
        width: 20px;
        text-align: center;
    }
    
    /* Menü açıkken backdrop blur efekti */
    .nav-links.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(2px);
        z-index: -1;
    }
}

/* Çok küçük ekranlar için */
@media (max-width: 480px) {
    .nav-links {
        padding: 15px;
        top: 75px;
    }
    
    .nav-link {
        padding: 10px 12px;
        font-size: 14px;
        margin: 3px 0;
    }
    
    .nav-link[href*="login"],
    .nav-link[href*="logout"] {
        padding: 8px 16px;
        font-size: 14px;
        margin-top: 8px;
    }
    
    .nav-link i {
        font-size: 14px;
        width: 18px;
    }
}

/* Hero section butonları ile tutarlılık için */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: auto;
        min-width: 180px;
        padding: 12px 25px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-buttons .btn {
        min-width: 160px;
        padding: 10px 20px;
        font-size: 15px;
    }
}

/* Navbar'da buton hover efektlerini mobilde optimize et */
@media (hover: none) and (pointer: coarse) {
    .nav-link::after {
        display: none; /* Altı çizgiyi mobilde gizle */
    }
    
    .nav-link:hover {
        transform: none;
    }
    
    .nav-link:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* Hafta Seçici Stilleri - style.css dosyasının sonuna eklenecek */

/* Week Selector Container */
.week-selector-container {
    margin-bottom: 25px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.week-selector {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Week Navigation */
.week-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.week-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    padding: 0;
    transition: all 0.3s ease;
}

.week-nav-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Week Picker */
.week-picker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#week-date-picker {
    width: 180px;
    text-align: center;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 16px;
    transition: all 0.3s ease;
}

#week-date-picker:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.2);
}

.current-week-display {
    text-align: center;
    color: var(--primary-color);
    font-size: 16px;
    padding: 8px 16px;
    background-color: rgba(5, 66, 105, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(5, 66, 105, 0.2);
}

/* Quick Week Selection */
.quick-week-selection {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.quick-week-selection .btn {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 20px;
}

.quick-week-selection .form-control {
    width: auto;
    min-width: 180px;
    font-size: 14px;
}

/* Week Actions */
.week-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.week-actions .btn {
    padding: 8px 16px;
    font-size: 14px;
    white-space: nowrap;
}

/* Week Copy Modal Specific Styles */
#copy-week-modal .modal-content {
    max-width: 450px;
}

#target-week-date {
    font-size: 16px;
    text-align: center;
}

/* Responsive Styles for Week Selector */
@media (max-width: 768px) {
    .week-selector-container {
        padding: 15px;
        margin: 0 -15px 25px -15px;
        border-radius: 0;
    }
    
    .week-nav {
        gap: 15px;
    }
    
    .week-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    #week-date-picker {
        width: 160px;
        font-size: 14px;
        padding: 6px 10px;
    }
    
    .current-week-display {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .quick-week-selection {
        flex-direction: column;
        gap: 10px;
    }
    
    .quick-week-selection .form-control {
        min-width: 160px;
        font-size: 13px;
    }
    
    .week-actions {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .week-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .week-selector {
        gap: 12px;
    }
    
    .week-nav {
        gap: 10px;
    }
    
    .week-nav-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    #week-date-picker {
        width: 140px;
        font-size: 13px;
    }
    
    .current-week-display {
        font-size: 13px;
        padding: 5px 10px;
    }
    
    .quick-week-selection .btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .quick-week-selection .form-control {
        min-width: 140px;
        font-size: 12px;
    }
}

/* Week Indicator for Schedule Table */
.schedule-table-container {
    position: relative;
}

.schedule-table-container::before {
    content: "Hafta: {{ week_info.week_display }}";
    position: absolute;
    top: -35px;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    z-index: 5;
}

/* Week Navigation Animations */
.week-nav-btn {
    position: relative;
    overflow: hidden;
}

.week-nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.week-nav-btn:hover::before {
    width: 100px;
    height: 100px;
}

/* Week Display Animation */
.current-week-display {
    transition: all 0.3s ease;
}

.current-week-display:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 10px rgba(5, 66, 105, 0.2);
}

/* Loading State for Week Changes */
.week-changing {
    pointer-events: none;
    opacity: 0.6;
}

.week-changing::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid var(--primary-color);
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: week-loading-spin 1s linear infinite;
}

@keyframes week-loading-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Grid for Small Screens */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Mevcut style.css dosyasının sonuna eklenecek yeni stiller */

/* ===== SEANS BAZLI PROGRAM TABLO STİLLERİ ===== */

/* Hafta Seçici Stilleri */
.week-selector-container {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.week-selector {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.week-nav {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.week-nav-btn {
    padding: 8px 12px;
    border-radius: 8px;
    background: white;
    border: 1px solid #ddd;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
}

.week-nav-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.week-picker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.current-week-display {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
    text-align: center;
    padding: 8px 16px;
    background-color: rgba(5, 66, 105, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(5, 66, 105, 0.2);
}

.quick-week-selection {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.quick-week-selection .btn {
    padding: 6px 12px;
    font-size: 12px;
}

.quick-week-selection select {
    max-width: 200px;
    font-size: 12px;
}

/* Seans Bazlı Program Tablosu */
.session-schedule-container,
.teacher-schedule-container {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: white;
}

.session-schedule-table,
.teacher-schedule-table {
    width: 100%;
    min-width: 1000px;
    border-collapse: collapse;
    background: white;
    font-size: 12px;
}

.session-schedule-table th,
.session-schedule-table td,
.teacher-schedule-table th,
.teacher-schedule-table td {
    border: 1px solid #e0e0e0;
    padding: 8px;
    text-align: center;
    vertical-align: top;
}

.session-schedule-table th,
.teacher-schedule-table th {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a5b99 100%);
    color: white;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Gün Başlığı */
.day-header-cell {
    width: 120px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

/* Seans Başlıkları */
.session-header-cell {
    width: 140px;
    min-width: 140px;
}

.session-name {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 2px;
}

.session-time {
    font-size: 10px;
    opacity: 0.9;
}

/* Gün Hücreleri */
.day-cell {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    font-weight: 600;
    position: sticky;
    left: 0;
    z-index: 5;
    width: 120px;
}

.day-name {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 2px;
}

.day-date {
    font-size: 11px;
    opacity: 0.8;
}

/* Seans Hücreleri */
.session-cell {
    height: 100px;
    vertical-align: top;
    background: #fafafa;
    position: relative;
}

.session-cell:hover {
    background: #f0f0f0;
}

.session-cell.editable-cell {
    min-height: 120px;
    cursor: pointer;
}

/* Program İçeriği */
.schedule-content {
    background: white;
    border-radius: 6px;
    padding: 6px;
    margin: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-left: 3px solid var(--primary-color);
    position: relative;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.schedule-content.editable {
    cursor: pointer;
    transition: all 0.2s ease;
}

.schedule-content.editable:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transform: translateY(-1px);
    background: rgba(5, 66, 105, 0.02);
}

/* Ders Adı */
.subject-name {
    font-weight: bold;
    font-size: 11px;
    color: var(--primary-color);
    margin-bottom: 3px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Konu Adı */
.topic-name {
    font-size: 10px;
    color: #666;
    margin-bottom: 3px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Föy Badge */
.unit-badge {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a5b99 100%);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 4px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.unit-badge.sample {
    margin: 0 5px 0 0;
}

/* İlerleme Bölümü */
.progress-section {
    margin-top: auto;
}

.progress-bar-mini {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 2px;
}

.progress-fill-mini {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    transition: width 0.3s ease;
}

.progress-numbers {
    font-size: 9px;
    color: #666;
    text-align: center;
}

/* Düzenleme Linkleri */
.edit-link {
    position: absolute;
    top: 2px;
    right: 2px;
    color: var(--primary-color);
    font-size: 10px;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
    padding: 2px;
}

.edit-link:hover {
    opacity: 1;
    color: var(--secondary-color);
}

/* Boş Seans */
.empty-session {
    color: #999;
    font-style: italic;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Öğretmen Düzenleme İçin Ek Stiller */
.empty-cell.add-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999;
    cursor: pointer;
    border: 2px dashed #ddd;
    border-radius: 6px;
    margin: 4px;
    transition: all 0.2s ease;
}

.empty-cell.add-content:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(5, 66, 105, 0.05);
}

.empty-cell.add-content i {
    font-size: 16px;
    margin-bottom: 4px;
}

.empty-cell.add-content span {
    font-size: 11px;
    font-weight: 500;
}

/* Öğretmen Aksiyon Butonları */
.schedule-actions {
    position: absolute;
    top: 2px;
    right: 2px;
    display: flex;
    gap: 2px;
    opacity: 0;
    transition: opacity 0.2s;
}

.schedule-content.editable:hover .schedule-actions {
    opacity: 1;
}

.edit-btn, .delete-btn {
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.edit-btn {
    background-color: var(--secondary-color);
    color: white;
}

.edit-btn:hover {
    background-color: #0070e0;
}

.delete-btn {
    background-color: var(--danger-color);
    color: white;
}

.delete-btn:hover {
    background-color: #c0392b;
}

/* Ders Silme Butonu */
.remove-subject-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(231, 76, 60, 0.1);
    border: none;
    color: var(--danger-color);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 10px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-subject-btn:hover {
    background-color: var(--danger-color);
    color: white;
}

/* Modal Stilleri */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: slideUp 0.3s ease;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--primary-color);
}

.modal-close {
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Hafta İşlemleri */
.week-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Lejant */
.schedule-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #666;
}

/* Derslere Özel Renkler */
.schedule-content[data-subject="Matematik"] {
    border-left-color: #e74c3c;
}

.schedule-content[data-subject="Türkçe"] {
    border-left-color: #3498db;
}

.schedule-content[data-subject="Fizik"] {
    border-left-color: #9b59b6;
}

.schedule-content[data-subject="Kimya"] {
    border-left-color: #f39c12;
}

.schedule-content[data-subject="Biyoloji"] {
    border-left-color: #27ae60;
}

.schedule-content[data-subject="Geometri"] {
    border-left-color: #e67e22;
}

.schedule-content[data-subject="Edebiyat"] {
    border-left-color: #8e44ad;
}

.schedule-content[data-subject="Coğrafya"] {
    border-left-color: #16a085;
}

.schedule-content[data-subject="Tarih"] {
    border-left-color: #c0392b;
}

/* Animasyonlar */
@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Scroll Bar Stilleri */
.session-schedule-container::-webkit-scrollbar,
.teacher-schedule-container::-webkit-scrollbar {
    height: 8px;
}

.session-schedule-container::-webkit-scrollbar-track,
.teacher-schedule-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.session-schedule-container::-webkit-scrollbar-thumb,
.teacher-schedule-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.session-schedule-container::-webkit-scrollbar-thumb:hover,
.teacher-schedule-container::-webkit-scrollbar-thumb:hover {
    background: #03375a;
}

/* ===== RESPONSIVE TASARIM ===== */

@media (max-width: 768px) {
    /* Hafta Seçici */
    .week-selector-container {
        padding: 15px;
        margin: 0 -15px 25px -15px;
        border-radius: 0;
    }
    
    .week-nav {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .week-nav-btn {
        min-width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .current-week-display {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .quick-week-selection {
        flex-direction: column;
        gap: 8px;
    }
    
    .quick-week-selection select {
        width: 100%;
        max-width: none;
        font-size: 12px;
    }
    
    /* Tablo */
    .session-schedule-table,
    .teacher-schedule-table {
        font-size: 10px;
        min-width: 800px;
    }
    
    .session-header-cell {
        width: 100px;
        min-width: 100px;
    }
    
    .day-cell {
        width: 100px;
    }
    
    .session-cell {
        height: 80px;
    }
    
    .schedule-content {
        min-height: 60px;
        padding: 4px;
    }
    
    .subject-name {
        font-size: 10px;
    }
    
    .topic-name {
        font-size: 9px;
    }
    
    .unit-badge {
        font-size: 8px;
        padding: 1px 4px;
    }
    
    /* Modal */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 15px;
    }
    
    /* İstatistikler */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-value {
        font-size: 24px;
    }
    
    /* Hafta İşlemleri */
    .week-actions {
        justify-content: center;
        width: 100%;
    }
    
    .week-actions .btn {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    /* Hafta Seçici */
    .week-nav-btn {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .current-week-display {
        font-size: 13px;
        padding: 5px 10px;
    }
    
    /* Tablo */
    .session-schedule-container,
    .teacher-schedule-container {
        margin: 10px -20px;
        border-radius: 0;
    }
    
    .session-schedule-table,
    .teacher-schedule-table {
        min-width: 700px;
    }
    
    .session-header-cell {
        width: 90px;
        min-width: 90px;
    }
    
    .day-cell {
        width: 90px;
    }
    
    .day-name {
        font-size: 12px;
    }
    
    .day-date {
        font-size: 10px;
    }
    
    .schedule-content {
        min-height: 50px;
        padding: 3px;
    }
    
    /* İstatistikler */
    .stat-card {
        padding: 15px;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    /* Lejant */
    .schedule-legend {
        flex-direction: column;
        gap: 10px;
        font-size: 11px;
    }
    
    /* Aksiyon butonları mobile için görünür yap */
    .schedule-actions {
        position: static;
        justify-content: center;
        margin-top: 4px;
        opacity: 1;
    }
    
    .schedule-content.editable {
        padding-bottom: 25px;
    }
}

/* ===== YAZDIRMA STİLLERİ ===== */

@media print {
    .week-selector-container,
    .schedule-actions,
    .edit-link,
    .week-actions,
    .btn {
        display: none !important;
    }
    
    .session-schedule-container,
    .teacher-schedule-container {
        overflow: visible !important;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    .session-schedule-table,
    .teacher-schedule-table {
        min-width: auto !important;
        font-size: 10px !important;
    }
    
    .schedule-content {
        background: white !important;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    .session-cell {
        background: white !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        break-inside: avoid;
    }
    
    /* Yazdırma için sayfa başlığı */
    .card-title::before {
        content: "Mavi Kampüs - Ders Programı | ";
        font-weight: normal;
        color: #666;
    }
}

/* ===== HOVER ETKİLERİ VE ANİMASYONLAR ===== */

/* Tablo hover efektleri */
.session-cell:hover {
    background-color: rgba(5, 66, 105, 0.02);
}

/* Buton hover efektleri */
.btn-success {
    background-color: var(--success-color);
    color: white;
}

.btn-success:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

/* Loading durumu */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Checkbox özel stili (modal'lar için) */
.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
    width: 100%;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #fff;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--secondary-color);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* style.css dosyasında aşağıdaki kısımları bulup güncelleyin */

/* Seans Başlıkları - Sadece isim, saat yok */
.session-header-cell {
    width: 140px;
    min-width: 140px;
}

.session-name {
    font-size: 13px;
    font-weight: bold;
    /* margin-bottom: 2px; - kaldırıldı çünkü saat yok */
}

/* .session-time - Bu kısmı tamamen silin, artık kullanılmıyor */

/* Template'lerde değişiklik */
/* Öğrenci dashboard ve öğretmen template'lerinde şu kısmı güncelleyin: */

/*
ESKİ KOD:
<th class="session-header-cell">
    <div class="session-name">{{ session.name }}</div>
    <div class="session-time">{{ session.time }}</div>
</th>

YENİ KOD:
<th class="session-header-cell">
    <div class="session-name">{{ session.name }}</div>
</th>
*/

/* Responsive tasarım güncellemesi */
@media (max-width: 768px) {
    .session-header-cell {
        width: 100px;
        min-width: 100px;
    }
    
    .session-name {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .session-header-cell {
        width: 90px;
        min-width: 90px;
    }
    
    .session-name {
        font-size: 11px;
    }
}

/* ===== iOS TARZI MODAL TASARIMI ===== */

/* Modal Background */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: modalFadeIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 20px;
    box-sizing: border-box;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
    }
}

/* Modal Content */
.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    animation: modalSlideUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    margin: auto;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(60px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Modal Header */
.modal-header {
    background: transparent;
    color: #1d1d1f;
    padding: 24px 24px 0 24px;
    border-bottom: none;
    position: relative;
    text-align: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(142, 142, 147, 0.12);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 18px;
    color: #8e8e93;
    font-weight: 500;
}

.modal-close:hover {
    background: rgba(142, 142, 147, 0.2);
    transform: scale(1.05);
}

.modal-close:active {
    transform: scale(0.95);
    background: rgba(142, 142, 147, 0.3);
}

/* Modal Body */
.modal-body {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
    background: transparent;
}

/* Custom Scrollbar - iOS Style */
.modal-body::-webkit-scrollbar {
    width: 4px;
}

.modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1d1d1f;
    font-size: 15px;
    letter-spacing: -0.2px;
}

.form-label.required::after {
    content: '*';
    color: #ff3b30;
    margin-left: 4px;
    font-weight: 400;
}

/* Form Controls - iOS Style */
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.2s ease;
    box-sizing: border-box;
    color: #1d1d1f;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.form-control:focus {
    border-color: #007aff;
    background: rgba(255, 255, 255, 0.95);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.form-control:hover:not(:focus) {
    border-color: rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.9);
}

/* Select Styling - iOS Style */
select.form-control {
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 40px;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

/* Textarea */
textarea.form-control {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    line-height: 1.4;
}

/* Conflict Warning - iOS Style */
#conflict-warning-container .alert {
    border-radius: 12px;
    padding: 16px;
    border: none;
    background: rgba(255, 204, 0, 0.1);
    color: #1d1d1f;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.4;
}

#conflict-warning-container .alert i {
    color: #ff9500;
    margin-right: 8px;
    font-size: 16px;
}

/* Modal Footer */
.modal-footer {
    padding: 16px 24px 24px 24px;
    background: transparent;
    border-top: none;
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* iOS Style Buttons */
.modal-footer .btn {
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    min-width: 100px;
    letter-spacing: -0.2px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.modal-footer .btn-primary {
    background: #007aff;
    color: white;
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
}

.modal-footer .btn-primary:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4);
}

.modal-footer .btn-primary:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

.modal-footer .btn-outline {
    background: rgba(142, 142, 147, 0.12);
    color: #007aff;
    border: none;
}

.modal-footer .btn-outline:hover {
    background: rgba(142, 142, 147, 0.2);
    transform: translateY(-1px);
}

.modal-footer .btn-outline:active {
    transform: scale(0.98);
    background: rgba(142, 142, 147, 0.3);
}

/* Loading State */
.modal-footer .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.modal-footer .btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Checkbox - iOS Style */
.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
    padding: 8px 0;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    margin-right: 12px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkbox-container:hover input ~ .checkmark {
    background: rgba(255, 255, 255, 0.9);
    border-color: #007aff;
}

.checkbox-container input:checked ~ .checkmark {
    background: #007aff;
    border-color: #007aff;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .modal {
        padding: 16px;
    }
    
    .modal-content {
        max-width: 100%;
        border-radius: 16px;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 20px 20px 0 20px;
    }
    
    .modal-header h3 {
        font-size: 18px;
    }
    
    .modal-body {
        padding: 20px;
        max-height: 65vh;
    }
    
    .modal-footer {
        padding: 12px 20px 20px 20px;
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
        margin: 0;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .modal {
        padding: 12px;
    }
    
    .modal-content {
        border-radius: 14px;
    }
    
    .modal-header {
        padding: 16px 16px 0 16px;
    }
    
    .modal-body {
        padding: 16px;
    }
    
    .modal-footer {
        padding: 10px 16px 16px 16px;
    }
}

/* Copy Week Modal Özel Ayarları */
#copy-week-modal .modal-content {
    max-width: 400px;
}

/* Dark mode desteği (isteğe bağlı) */
@media (prefers-color-scheme: dark) {
    .modal-content {
        background: rgba(28, 28, 30, 0.95);
        box-shadow: 
            0 32px 64px rgba(0, 0, 0, 0.3),
            0 0 0 1px rgba(255, 255, 255, 0.1);
    }
    
    .modal-header h3 {
        color: #f2f2f7;
    }
    
    .form-label {
        color: #f2f2f7;
    }
    
    .form-control {
        background: rgba(44, 44, 46, 0.8);
        border-color: rgba(255, 255, 255, 0.1);
        color: #f2f2f7;
    }
    
    .form-control:focus {
        background: rgba(44, 44, 46, 0.95);
        border-color: #007aff;
    }
    
    #conflict-warning-container .alert {
        background: rgba(255, 149, 0, 0.15);
        color: #f2f2f7;
    }
}

/* Animasyon optimizasyonu */
@media (prefers-reduced-motion: reduce) {
    .modal,
    .modal-content,
    .modal-footer .btn,
    .form-control {
        animation: none;
        transition: none;
    }
}