/* ==========================================================================
   HOME PAGE STYLES - Hangi Kaynak Takvim App
   ========================================================================== */

/* Home Page Specific Styles */
.home {
    min-height: 100vh;
    background: white;
    transition: opacity 0.2s ease-in-out;
}

/* Loading States */
body.loading {
    pointer-events: none;
}

body.loading .main-container {
    opacity: 0.8;
    transition: opacity 0.15s ease-in-out;
}

/* Tab Transition States */
.transitioning {
    transform: scale(0.98);
    opacity: 0.7;
}

/* Smooth transitions for all interactive elements */
.main-tab-btn,
.sub-tab-btn,
.month-label-horizontal {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Section transitions */
#calendar-section,
#exam-list-section {
    transition: opacity 0.15s ease-in-out;
}

/* ==========================================================================
   CALENDAR STYLES
   ========================================================================== */

.calendar-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

#calendar-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    margin-bottom: 1px;
    background: #e9ecef;
    border-radius: 8px 8px 0 0;
}

.calendar-weekday {
    background: #f8f9fa;
    padding: 0.75rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c757d;
    border-right: 1px solid #e9ecef;
}

.calendar-weekday:last-child {
    border-right: none;
}

#calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e9ecef;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.calendar-day {
    background: white;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    border-right: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.calendar-day:hover {
    background: #f8f9fa;
}

.calendar-day.empty {
    background: #f8f9fa;
    cursor: default;
}

.calendar-day.empty:hover {
    background: #f8f9fa;
}

.calendar-day.selected {
    background: #28a745;
    color: white;
}

.calendar-day.selected:hover {
    background: #218838;
}

.calendar-day.has-exams {
    background: #e8f5e8;
    border: 2px solid #28a745;
}

.calendar-day.has-exams.selected {
    background: #28a745;
    color: white;
}

.day-number {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 2px;
}

.exam-indicator {
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    position: absolute;
    top: 4px;
    right: 4px;
}

.calendar-day.selected .exam-indicator {
    background: #fff;
    color: #28a745;
}

/* Week Display */
.week-display {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
}

.week-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
}

/* Week Exam Table */
.week-exam-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Week Table Container - New Vue.js Style */
.week-table-container {
    margin: 0.5rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 2px solid #dc2626;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.15);
    animation: slideDown 0.3s ease-out;
    position: relative;
    grid-column: 1 / -1;
}

.week-table-container::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #dc2626;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.week-exams-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.week-exams-header:hover {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1rem;
    margin: -1rem -1rem 1rem -1rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.week-exams-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.exam-count-badge {
    background: #10b981;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.exam-count-badge.no-exams {
    background: #6b7280;
    color: white;
}

.accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f1f5f9;
    transition: all 0.3s ease;
}

.accordion-toggle:hover {
    background: #e2e8f0;
    transform: scale(1.1);
}

.toggle-icon {
    font-size: 0.8rem;
    color: #64748b;
    transition: transform 0.3s ease;
}

.toggle-icon.rotated {
    transform: rotate(180deg);
}

.week-exams-table {
    border: 2px solid #d1d5db;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.week-exams-table .table-header {
    display: grid;
    grid-template-columns: 100px 1fr 150px 150px;
    background: white;
    border-bottom: 3px solid #e2e8f0;
}

.week-exams-table .header-cell {
    padding: 1.2rem 1rem;
    color: #1a202c;
    font-weight: 800;
    font-size: 0.85rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 2px solid #d1d5db;
}

.week-exams-table .header-cell:last-child {
    border-right: none;
}

.week-exams-table .table-row {
    display: grid;
    grid-template-columns: 100px 1fr 150px 150px;
    border-bottom: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    min-height: 70px;
    background: white;
}

.week-exams-table .table-row:nth-child(even) {
    background: #f9fafb;
}

.week-exams-table .table-row:last-child {
    border-bottom: none;
}

.week-exams-table .table-row:hover {
    background: #f8fafc !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.week-exams-table .cell {
    padding: 1rem 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    border-right: 1px solid #e5e7eb;
    box-sizing: border-box;
    text-align: center;
}

.week-exams-table .cell:last-child {
    border-right: none;
}

.week-exams-table .header-cell {
    box-sizing: border-box;
    text-align: center;
}

.week-exams-table .exam-type {
    padding: 0.4rem 0.7rem;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.7rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    display: inline-block;
    text-align: center;
    min-width: 40px;
    max-width: 100%;
    white-space: nowrap;
    line-height: 1.2;
}

.week-exams-table .exam-type.tyt {
    background: #dc2626;
}

.week-exams-table .exam-type.ayt {
    background: #059669;
}

.week-exams-table .exam-type.lgs {
    background: #dc2626;
}

/* Week table type cell with badge + button */
.week-exams-table .type-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.week-exams-table .application-btn.small-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.35rem 0.7rem;
    font-weight: 600;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
    white-space: nowrap;
}

.week-exams-table .application-btn.small-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(16, 185, 129, 0.35);
}

/* Week table scope cell styling */
.week-exams-table .scope-cell {
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 500;
}

.week-exams-table .scope-text {
    color: #374151;
}

.week-exams-table .exam-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.week-exams-table .exam-name {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    text-align: center;
    line-height: 1.4;
    font-weight: 600;
    color: #1f2937;
    font-size: 0.9rem;
}

.week-exams-table .exam-publisher {
    color: #6c757d;
    font-size: 0.75rem;
}

.week-exams-table .application-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.week-exams-table .application-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.week-exams-table .package-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
    text-decoration: none;
    display: inline-block;
}

.week-exams-table .package-btn:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.week-exams-table .package-unavailable {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

/* Week Table - Two Badge System (Package Info + Buy Button) */
.week-exams-table .package-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.8rem 0.5rem;
    box-sizing: border-box;
    min-height: 80px;
}

.week-package-info-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.45rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
    word-break: break-word;
    hyphens: auto;
    max-width: 120px;
    min-height: 32px;
    transition: all 0.2s ease;
}

.week-package-info-badge:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(16, 185, 129, 0.35);
}

.week-package-buy-badge {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 0.45rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
    word-break: break-word;
    hyphens: auto;
    max-width: 120px;
    min-height: 32px;
    transition: all 0.2s ease;
    animation: pulseBuy 2s ease-in-out infinite;
}

.week-package-buy-badge:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(220, 38, 38, 0.4);
}

.week-exams-table .apply-unavailable {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.no-exams-week {
    text-align: center;
    padding: 1rem 0.5rem;
    color: #6b7280;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.no-exams-week .no-exams-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.no-exams-week h5 {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: #374151;
}

.no-exams-week p {
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.8;
}

.week-exam-header {
    background: #28a745;
    color: white;
    padding: 1rem;
    text-align: center;
}

.week-exam-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.exam-table {
    display: flex;
    flex-direction: column;
}

.exam-table-header {
    display: grid;
    grid-template-columns: 80px 1fr 120px 120px;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
    border-bottom: 1px solid #dee2e6;
}

.exam-table-row {
    display: grid;
    grid-template-columns: 80px 1fr 120px 120px;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #f1f3f4;
    align-items: center;
}

.exam-table-row:last-child {
    border-bottom: none;
}

.exam-table-row:hover {
    background: #f8f9fa;
}

.exam-type-badge {
    background: #007bff;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    display: inline-block;
    min-width: 40px;
}

.exam-type-badge.tyt {
    background: #dc3545;
}

.exam-type-badge.ayt {
    background: #fd7e14;
}

.exam-type-badge.lgs {
    background: #6f42c1;
}

.exam-name {
    font-weight: 600;
    color: #2c3e50;
    display: block;
    margin-bottom: 0.25rem;
}

.exam-publisher {
    color: #6c757d;
    font-size: 0.875rem;
}

.apply-btn,
.application-btn.small-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.35rem 0.7rem;
    font-weight: 600;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
    white-space: nowrap;
    display: inline-block;
}

.apply-btn:hover,
.application-btn.small-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(16, 185, 129, 0.35);
}

.apply-btn.applied,
.application-btn.small-btn.applied {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    cursor: default;
    opacity: 0.7;
}

.apply-btn.applied:hover,
.application-btn.small-btn.applied:hover {
    transform: none;
    box-shadow: 0 2px 6px rgba(107, 114, 128, 0.25);
}

.apply-unavailable {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.package-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
    text-decoration: none;
    display: inline-block;
}

.package-btn:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.package-unavailable {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.main-container {
    margin: 0 auto;
    padding: 1rem 1rem 4rem;
}

/* Ana Tablar */
.main-tabs {
    margin-bottom: 2rem;
}

.tabs-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.main-tab-btn {
    background: white;
    border: 2px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 15px;
    padding: 1.5rem 3rem;
    color: #4a5568;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.main-tab-btn:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.main-tab-btn.active {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
    outline: none;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.tab-icon {
    font-size: 1.5rem;
}

/* Alt Tablar */
.sub-tabs {
    margin-bottom: 2rem;
}

.sub-tab-btn {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 2rem;
    color: #4a5568;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.sub-tab-btn:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    transform: translateY(-1px);
}

.sub-tab-btn.active {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
    outline: none;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.sub-tab-btn.our-exams {
    background: white;
    border-color: #10b981;
}

.sub-tab-btn.our-exams.active {
    background: #10b981;
    border-color: #10b981;
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* Timeline Section */
.timeline-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    margin: 2rem auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    max-width: max-content;
}

.timeline-scrollable-container {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.timeline-content-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 16px;
    scroll-padding: 0 20%;
}

.timeline-content-container::-webkit-scrollbar {
    display: none;
}

/* Group Lines */
.group-lines-horizontal {
    position: relative;
    width: max-content;
    min-width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
}

.group-line-horizontal {
    position: absolute;
    height: 6px;
    border-radius: 3px;
    background: #e5e7eb;
    left: var(--group-start);
    width: var(--group-width);
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 5;
    box-sizing: border-box;
}

.group-line-horizontal.summer-camp {
    background: #3b82f6;
}

.group-line-horizontal.every-sunday {
    background: #10b981;
}

.group-line-horizontal.tyt-ayt {
    background: #8b5cf6;
}

.group-line-horizontal.half-series {
    background: #3b82f6;
}

.group-line-horizontal.series {
    background: #f97316;
}

.group-line-horizontal.single-month {
    background: #6b7280;
}

.group-line-horizontal.purple {
    background: #9333ea;
}

.group-line-horizontal.custom-color {
    background: var(--custom-color, #dc2626);
}

/* Match label background with line color */
.group-label-horizontal.custom-color {
    background: var(--custom-color, #dc2626);
}

.group-line-horizontal.pink {
    background: #ec4899;
}

.group-line-horizontal.indigo {
    background: #6366f1;
}

.group-label-horizontal {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #e5e7eb;
    color: white;
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 10;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    text-align: center;
    box-sizing: border-box;
}

/* Ensure label uses the same dynamic color as the line when admin color is set */
.group-label-horizontal.custom-color {
    background: var(--custom-color, #dc2626) !important;
}

.group-label-horizontal.summer-camp {
    background: #3b82f6;
}

.group-label-horizontal.every-sunday {
    background: #10b981;
}

.group-label-horizontal.tyt-ayt {
    background: #8b5cf6;
}

.group-label-horizontal.half-series {
    background: #3b82f6;
}

.group-label-horizontal.series {
    background: #f97316;
}

.group-label-horizontal.single-month {
    background: #6b7280;
}

.group-label-horizontal.purple {
    background: #9333ea;
}

.group-label-horizontal.pink {
    background: #ec4899;
}

.group-label-horizontal.indigo {
    background: #6366f1;
}

/* Month Labels */
.month-labels-horizontal {
    display: flex;
    gap: 0;
    width: max-content;
    min-width: 100%;
    padding: 0.5rem 0;
}

.month-container-horizontal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    min-width: 120px;
    width: 120px;
    margin: 0 0.25rem;
    box-sizing: border-box;
}

.month-label-horizontal {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #9ca3af;
    background: #f9fafb;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.month-label-horizontal:hover {
    background: #f1f5f9;
    color: #1f2937;
    transform: translateY(-1px);
    border-color: #6b7280;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.month-label-horizontal.active {
    background: #dc2626;
    color: white;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
    transform: translateY(-2px);
    border-color: #dc2626;
    border-width: 3px;
}

@keyframes pulseBuy {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
        transform: scale(1.05);
    }
}

.purchase-btn-horizontal {
    background: #dc2626;
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    animation: pulseBuy 2s ease-in-out infinite;
}

.purchase-btn-horizontal:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    animation: none;
}

/* Table Package Cell Styles */
.package-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 0.5rem !important;
    min-height: 80px;
    width: 100%;
}

.package-info-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1.3;
    word-break: break-word;
    hyphens: auto;
    width: 100%;
    max-width: 150px;
    min-height: 28px;
}

.package-info-badge:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.35);
}

.package-buy-badge {
    background: #dc2626;
    color: white;
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
    animation: pulseBuy 2s ease-in-out infinite;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    line-height: 1.3;
    min-height: 28px;
    white-space: nowrap;
    width: 100%;
    max-width: 150px;
}

.package-buy-badge:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.4);
    animation: none;
}

.exam-count-horizontal {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    text-align: center;
    margin-top: 0.25rem;
    white-space: nowrap;
}

/* Scroll Navigation */
.scroll-navigation {
    display: flex;
    position: absolute;
    top: 50%;
    width: 100%;
    justify-content: space-between;
    pointer-events: none;
    z-index: 20;
}

.scroll-arrow {
    background: white;
    border: 2px solid #dc2626;
    color: #dc2626;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
}

.scroll-arrow:hover:not(:disabled) {
    background: #dc2626;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.scroll-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #d1d5db;
    color: #9ca3af;
}

/* Exam Table Section */
.exam-table-section {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    max-width: 100rem;
    margin: auto;
}


.no-exams {
    text-align: center;
    color: #4a5568;
    padding: 4rem 2rem;
    border-radius: 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.no-exams-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.no-exams h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #1a202c;
}

.no-exams p {
    font-size: 1rem;
    opacity: 0.8;
    margin: 0;
}

/* Admin Style Table */
.admin-style-table {
    border: 2px solid #d1d5db;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.admin-style-table .table-header {
    display: grid;
    grid-template-columns: 100px 300px 1fr 180px;
    background: white;
    border-bottom: 3px solid #e2e8f0;
}

.admin-style-table .header-cell {
    padding: 1.2rem 1rem;
    color: #1a202c;
    font-weight: 800;
    font-size: 1.2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 2px solid #d1d5db;
    position: relative;
}

/* Special styling for date column header */
.admin-style-table .header-cell:nth-child(2) {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    padding: 1.2rem 0.8rem;
}

.admin-style-table .header-cell:last-child {
    border-right: none;
}

.admin-style-table .table-row {
    display: grid;
    grid-template-columns: 100px 300px 1fr 180px;
    border-bottom: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    min-height: 70px;
    background: white;
    cursor: pointer;
}

.admin-style-table .table-row:nth-child(even) {
    background: #f9fafb;
}

.admin-style-table .table-row:last-child {
    border-bottom: none;
}

.admin-style-table .table-row:hover {
    background: #f8fafc !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.admin-style-table .cell {
    padding: 1rem 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    border-right: 1px solid #e5e7eb;
    position: relative;
}

.admin-style-table .cell:last-child {
    border-right: none;
}

.admin-style-table .exam-type {
    padding: 0.35rem 0.6rem;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.7rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: inline-block;
    text-align: center;
    min-width: 42px;
    max-width: 100%;
    white-space: nowrap;
    line-height: 1.2;
}

/* Type cell with badge + button */
.admin-style-table .type-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.admin-style-table .application-btn.small-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.35rem 0.7rem;
    font-weight: 600;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
    white-space: nowrap;
}

.admin-style-table .application-btn.small-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(16, 185, 129, 0.35);
}

/* Scope cell styling */
.admin-style-table .scope-cell {
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 500;
}

.admin-style-table .scope-text {
    color: #374151;
}

.admin-style-table .exam-type.tyt {
    background: #3b82f6;
}

.admin-style-table .exam-type.ayt {
    background: #ef4444;
}

.admin-style-table .exam-type.lgs {
    background: #10b981;
}

.admin-style-table .exam-type.tyt-ayt {
    background: #8b5cf6;
    padding: 0.3rem 0.5rem;
    font-size: 0.65rem;
    min-width: 60px;
}

.admin-style-table .exam-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.admin-style-table .exam-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.4;
}

.admin-style-table .exam-publisher {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

.admin-style-table .date-cell {
    font-weight: 600;
    color: #1f2937;
    font-size: 1.1rem;
    line-height: 1.4;
    text-align: center;
}

/* Calendar Styles */
.calendar-section {
    margin-bottom: 2rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.calendar-title-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.calendar-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

/* View Toggle Buttons */
.view-toggle-buttons {
    display: flex;
    gap: 0.5rem;
    background: #f1f5f9;
    padding: 0.25rem;
    border-radius: 10px;
}

.view-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-toggle-btn:hover {
    background: #e2e8f0;
    color: #475569;
}

.view-toggle-btn.active {
    background: white;
    color: #10b981;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.view-toggle-btn i {
    font-size: 1rem;
}

/* List View */
.list-view {
    margin-top: 1.5rem;
}

/* Filtre Toggle Butonu */
.filter-toggle-container {
    margin-bottom: 1rem;
}

.filter-toggle-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    width: 100%;
    justify-content: center;
}

.filter-toggle-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.filter-toggle-btn:active {
    transform: translateY(0);
}

.filter-toggle-btn .toggle-icon {
    transition: transform 0.3s ease;
    margin-left: auto;
}

.filter-toggle-btn.active .toggle-icon {
    transform: rotate(180deg);
}

.filter-toggle-btn i:first-child {
    font-size: 1.1rem;
}

/* Filtre Bölümü */
.list-filters {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    animation: slideDown 0.3s ease-out;
    overflow: visible;
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

#dynamic-filters-list,
#dynamic-filters-exam-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    align-items: end;
    flex: 1;
    overflow: visible;
}

@media (min-width: 1400px) {

    #dynamic-filters-list,
    #dynamic-filters-exam-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1025px) and (max-width: 1399px) {

    #dynamic-filters-list,
    #dynamic-filters-exam-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }

    to {
        opacity: 1;
        max-height: 500px;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    padding: 0.75rem 0;
}

.filter-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #10b981;
}

.filter-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-label i {
    color: #10b981;
}

.filter-select,
.filter-input,
.filter-multi-select {
    padding: 0.65rem 0.9rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #1e293b;
    background: white;
    transition: all 0.2s ease;
    font-weight: 500;
    width: 100%;
}

.filter-select {
    cursor: pointer;
}

/* Modern Multi-Select Component */
.modern-multi-select {
    position: relative;
    width: 100%;
    min-height: 48px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    transition: all 0.2s ease;
    cursor: pointer;
    overflow: visible;
    z-index: 1;
}

.modern-multi-select:hover {
    border-color: #dc2626;
}

.modern-multi-select:focus-within {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.selected-items-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem;
    min-height: 40px;
    align-items: center;
    background: white;
}

.selected-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #dc2626;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.selected-pill:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.selected-pill .remove-btn {
    cursor: pointer;
    font-size: 0.7rem;
    opacity: 0.8;
    transition: all 0.2s ease;
    padding: 0.1rem;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.selected-pill .remove-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 0 0 6px 6px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.dropdown-toggle:hover {
    background: #f1f5f9;
}

.dropdown-toggle.active {
    background: #e2e8f0;
}

.dropdown-toggle .placeholder {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-toggle i {
    color: #64748b;
    transition: transform 0.2s ease;
    font-size: 0.8rem;
}

.dropdown-toggle.active i {
    transform: rotate(180deg);
}

.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #dc2626;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 9999;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    margin-top: -2px;
}

.dropdown-option {
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
    color: #374151;
    position: relative;
}

.dropdown-option:hover {
    background: #f8fafc;
    color: #dc2626;
}

.dropdown-option.selected {
    background: #dc2626;
    color: white;
    font-weight: 500;
}

.dropdown-option.selected::after {
    content: "✓";
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
}

.dropdown-option:last-child {
    border-bottom: none;
}

/* Empty state */
.modern-multi-select:not(.has-selections) .selected-items-container {
    display: none;
}

.modern-multi-select:not(.has-selections) .dropdown-toggle {
    border-top: none;
    border-radius: 8px;
}

/* Active state - when dropdown is open */
.modern-multi-select.dropdown-open {
    z-index: 10000;
}

.modern-multi-select.dropdown-open .dropdown-list {
    display: block !important;
}

/* Scrollbar styling for dropdown */
.dropdown-list::-webkit-scrollbar {
    width: 6px;
}

.dropdown-list::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.dropdown-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.dropdown-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.filter-input {
    font-family: inherit;
}

.filter-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.filter-select:hover,
.filter-input:hover,
.filter-multi-select:hover {
    border-color: #10b981;
}

.filter-select:focus,
.filter-input:focus,
.filter-multi-select:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.filter-reset-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.65rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
    height: fit-content;
}

.filter-reset-btn:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.filter-reset-btn i {
    font-size: 0.85rem;
}

.list-view-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    width: 100%;
}

.list-view .admin-style-table {
    border-radius: 12px;
    width: 100%;
    overflow: hidden;
}

.list-view .table-header {
    display: grid;
    grid-template-columns: 100px 180px 1fr 150px 150px;
    background: white;
    border-bottom: 3px solid #e2e8f0;
    width: 100%;
}

.list-view .header-cell {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.8rem;
    border-right: 1px solid #e5e7eb;
}

.list-view .header-cell:last-child {
    border-right: none;
}

.list-view .table-row {
    display: grid;
    grid-template-columns: 100px 180px 1fr 150px 150px;
    border-bottom: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    width: 100%;
}

/* List view cell */
.list-view .cell {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.8rem;
    border-right: 1px solid #e5e7eb;
}

.list-view .cell:last-child {
    border-right: none;
}

/* List view type cell with badge + button */
.list-view .type-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 0.5rem;
}

.list-view .table-row:hover {
    background: #f8fafc;
    transform: translateX(2px);
}

/* List View Buttons and Badges */
.list-view .application-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    white-space: nowrap;
}

.list-view .application-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.list-view .application-btn.small-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.35rem 0.7rem;
    font-weight: 600;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
    white-space: nowrap;
}

.list-view .application-btn.small-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(16, 185, 129, 0.35);
}

/* List view scope cell styling */
.list-view .scope-cell {
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 1rem 0.8rem;
    box-sizing: border-box;
}

.list-view .scope-text {
    color: #374151;
}

.list-view .date-cell {
    font-size: 0.9rem;
    color: #475569;
    font-weight: 500;
    box-sizing: border-box;
}

.list-view .name-cell {
    box-sizing: border-box;
}

.list-view .apply-unavailable {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.list-view .package-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
    text-decoration: none;
    display: inline-block;
}

.list-view .package-btn:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.list-view .package-unavailable {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.list-view .date-cell {
    font-size: 0.9rem;
    color: #475569;
    font-weight: 500;
    box-sizing: border-box;
}

.week-display {
    background: #10b981;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.calendar-grid {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f1f5f9;
    border-bottom: 2px solid #e2e8f0;
}

.weekday {
    padding: 1rem 0.5rem;
    text-align: center;
    font-weight: 700;
    color: #475569;
    font-size: 0.9rem;
    border-right: 1px solid #e2e8f0;
}

.weekday:last-child {
    border-right: none;
}

.calendar-days-with-table {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

/* Calendar Week Structure */
.calendar-week {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    position: relative;
}

.week-days {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    grid-auto-rows: minmax(80px, auto) !important;
    border-bottom: 1px solid #e2e8f0;
    background: white;
    gap: 0;
    width: 100%;
}

/* Last week - no bottom border */
.calendar-week:last-child .week-days {
    border-bottom: none;
}

/* Ensure calendar fills full width properly */
#calendar-days {
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
}

/* Override any old grid styles that might conflict */
.calendar-days-with-table {
    display: flex !important;
    flex-direction: column !important;
}

/* Calendar week styling cleaned up */

/* Original calendar-day styles need updating for week structure */
.calendar-day {
    background: white;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    border-right: 1px solid #e2e8f0;
    color: #374151;
    font-weight: 500;
}


/* Duplicate removed - using the updated calendar-day above */

.calendar-day .day-number {
    font-size: 1.2rem;
    font-weight: 600;
    color: inherit;
}

.calendar-day:nth-child(7n) {
    border-right: none;
}

.calendar-day.empty {
    background: #f8fafc;
    cursor: default;
    border-color: #e2e8f0;
}

.calendar-day:not(.empty):hover {
    background: #f1f5f9;
    transform: scale(1.05);
}

.calendar-day.selected-week {
    background: #d1fae5;
    border: 2px solid #10b981;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.calendar-day.selected-week:hover {
    background: #a7f3d0;
    border-color: #059669;
}

.calendar-day.selected-week .day-number {
    color: #065f46;
    font-weight: 700;
}

/* Deneme olan günler hafta seçiliyken aynı stili alsın */
.calendar-day.has-exam.selected-week {
    background: #d1fae5;
    border: 2px solid #10b981;
}

/* Bütün Denemeler tabında has-exam stili kaldırıldı - sadece hafta seçili görünümü kullanılıyor */
/* .calendar-day.has-exam ve hover stilleri devre dışı bırakıldı */

.calendar-day.selected {
    background: #059669;
    color: white;
    border-color: #047857;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4);
    transform: scale(1.05);
    z-index: 2;
}

.calendar-day.selected:hover {
    background: #047857;
}

.calendar-day.selected .day-number {
    color: white;
    font-weight: 800;
}

.exam-indicator {
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 0.8rem;
    background: #f59e0b;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.calendar-day.selected .exam-indicator {
    background: white;
    color: #10b981;
}

/* Week Table */
.week-table-container {
    margin: 0.5rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 2px solid #dc2626;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.15);
    animation: slideDown 0.3s ease-out;
    position: relative;
    grid-column: 1 / -1;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.week-exams-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.week-exams-header:hover {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1rem;
    margin: -1rem -1rem 1rem -1rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.week-exams-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.exam-count-badge {
    background: #10b981;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f1f5f9;
    transition: all 0.3s ease;
}

.accordion-toggle:hover {
    background: #e2e8f0;
    transform: scale(1.1);
}

.toggle-icon {
    font-size: 0.8rem;
    color: #64748b;
    transition: transform 0.3s ease;
}

.toggle-icon.rotated {
    transform: rotate(180deg);
}

/* Week Exams Table */
.week-exams-table {
    border: 2px solid #d1d5db;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.week-exams-table .table-header {
    display: grid;
    grid-template-columns: 100px 1fr 150px 150px;
    background: white;
    border-bottom: 3px solid #e2e8f0;
}

.week-exams-table .header-cell {
    padding: 1.2rem 1rem;
    color: #1a202c;
    font-weight: 800;
    font-size: 0.85rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 2px solid #d1d5db;
}

.week-exams-table .header-cell:last-child {
    border-right: none;
}

.week-exams-table .table-row {
    display: grid;
    grid-template-columns: 100px 1fr 150px 150px;
    border-bottom: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    min-height: 70px;
    background: white;
}

.week-exams-table .table-row:nth-child(even) {
    background: #f9fafb;
}

.week-exams-table .table-row:last-child {
    border-bottom: none;
}

.week-exams-table .table-row:hover {
    background: #f8fafc !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.week-exams-table .cell {
    padding: 1rem 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    border-right: 1px solid #e5e7eb;
    box-sizing: border-box;
    text-align: center;
}

.week-exams-table .cell:last-child {
    border-right: none;
}

.week-exams-table .header-cell {
    box-sizing: border-box;
    text-align: center;
}

.week-exams-table .exam-type {
    padding: 0.4rem 0.7rem;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.7rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    display: inline-block;
    text-align: center;
    min-width: 40px;
    max-width: 100%;
    white-space: nowrap;
    line-height: 1.2;
}

.week-exams-table .exam-type.tyt {
    background: #dc2626;
}

.week-exams-table .exam-type.ayt {
    background: #059669;
}

.week-exams-table .exam-type.lgs {
    background: #dc2626;
}

.week-exams-table .exam-type.tyt-ayt {
    background: #8b5cf6;
    padding: 0.3rem 0.4rem;
    font-size: 0.6rem;
    min-width: 55px;
}

.week-exams-table .exam-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.week-exams-table .exam-name {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    text-align: center;
    line-height: 1.4;
    font-weight: 600;
    color: #1f2937;
    font-size: 0.9rem;
}

.week-exams-table .application-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.week-exams-table .application-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.week-exams-table .status-badge {
    padding: 0.4rem 0.6rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    max-width: 100%;
    text-align: center;
    display: inline-block;
    line-height: 1.2;
    box-sizing: border-box;
}

.week-exams-table .status-badge.available {
    background: #10b981;
    color: white;
}

.week-exams-table .status-badge.not-available {
    background: #ef4444;
    color: white;
}

/* No Exams Week */
.no-exams-week {
    text-align: center;
    padding: 1rem 0.5rem;
    color: #6b7280;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.no-exams-week .no-exams-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.no-exams-week h5 {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: #374151;
}

.no-exams-week p {
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.8;
}

/* Mobile Cards */
.mobile-cards {
    display: none;
}

.mobile-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.mobile-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #f3f4f6;
}

.exam-date-mobile {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

.card-content {
    margin-bottom: 1rem;
}

.exam-name-mobile {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
}

.application-btn-mobile {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.application-btn-mobile:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.status-badge-mobile {
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.status-badge-mobile.available {
    background: #10b981;
    color: white;
}

.status-badge-mobile.not-available {
    background: #ef4444;
    color: white;
}

/* Hero Section */
.hero-section {
    padding: 2rem 2rem 3rem;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
}

.video-social-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.video-title-container {
    text-align: center;
    margin-bottom: 1rem;
}

.video-main-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1a202c;
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(220, 38, 38, 0.3);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        filter: drop-shadow(0 0 5px rgba(220, 38, 38, 0.3));
    }

    100% {
        filter: drop-shadow(0 0 15px rgba(220, 38, 38, 0.6));
    }
}

.video-container {
    width: 100%;
    position: relative;
}

.video-frame {
    position: relative;
    width: 100%;
    /* Çerçeve kaldırıldı, sadece container olarak kullanılıyor */
}

/* framePulse animasyonu kaldırıldı */

.hero-video {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    /* Sadece alt gölge efekti */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.hero-video:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

/* Frame Decorations, Glow ve Shimmer Animasyonları - Kaldırıldı */

/* Social Buttons */
.social-buttons-container {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    color: white;
}

.youtube-btn {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.youtube-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

.instagram-btn {
    background: linear-gradient(135deg, #e4405f, #c13584);
    box-shadow: 0 4px 15px rgba(228, 64, 95, 0.3);
}

.instagram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.4);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* Application Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-title {
    color: #1a202c;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.title-icon {
    font-size: 1.5rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #f3f4f6;
    color: #374151;
}

.modal-body {
    padding: 1rem 2rem 2rem;
}

.exam-info {
    border-radius: 12px;

    text-align: center;
}

.exam-info h4 {
    color: #1a202c;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.exam-details {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 0;
}

.exam-type {
    background: #3b82f6;
    color: white;
    padding: 0.35rem 0.7rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
    text-align: center;
    min-width: 40px;
    white-space: nowrap;
    line-height: 1.2;
}

.exam-publisher {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Form Styles */
.application-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    color: #374151;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.form-label.required::after {
    content: " *";
    color: #dc2626;
    font-weight: 700;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Searchable Select */
.searchable-select {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
    outline: none;
}

.search-input:focus {
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-input:disabled {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 10px 10px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #f8fafc;
    color: #1a202c;
}

.dropdown-item.no-results {
    color: #6b7280;
    font-style: italic;
    cursor: default;
}

.dropdown-item.no-results:hover {
    background: white;
    color: #6b7280;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.submit-btn,
.cancel-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.cancel-btn {
    background: white;
    color: #6b7280;
    border: 2px solid #e2e8f0;
}

.cancel-btn:hover:not(:disabled) {
    background: #f9fafb;
    border-color: #cbd5e0;
    color: #374151;
}

.submit-btn:disabled,
.cancel-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Form Messages */
.form-messages {
    margin: 1rem 0;
}

.form-error,
.form-success {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: 600;
}

.form-error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 2px solid #fecaca;
    color: #dc2626;
}

.form-success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #bbf7d0;
    color: #16a34a;
}

/* Responsive Design */
@media (max-width: 1024px) {


    .video-main-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .hero-video {
        height: 400px;
    }

    .main-container {
        padding: 1.5rem 1.5rem 3rem;
    }


    /* Badge adjustments for tablets */
    .exam-type {
        font-size: 0.75rem;
        padding: 0.4rem 0.7rem;
    }

    .admin-style-table .exam-type {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .week-exams-table .exam-type {
        font-size: 0.7rem;
        padding: 0.35rem 0.6rem;
    }

    /* Adjust grid columns for tablets */
    .admin-style-table .table-header,
    .admin-style-table .table-row {
        grid-template-columns: 85px 220px 1fr 150px;
    }

    .admin-style-table .date-cell {
        font-size: 0.85rem;
    }

    .admin-style-table .scope-cell {
        font-size: 0.75rem;
    }

    /* List View - Tablet */
    .list-view .table-header,
    .list-view .table-row {
        grid-template-columns: 85px 160px 1fr 120px 120px;
        width: 100%;
    }

    .list-view .application-btn {
        font-size: 0.8rem;
        padding: 0.45rem 0.9rem;
    }

    .list-view .apply-unavailable {
        font-size: 0.75rem;
        padding: 0.45rem 0.9rem;
    }

    .list-view .package-btn {
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
    }

    .list-view .package-unavailable {
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
    }

    /* Week exams table - Tablet */
    .week-exams-table .package-btn {
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
    }

    .week-exams-table .package-unavailable {
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
        display: inline-block;
    }

    .week-exams-table .status-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.5rem;
    }

    .week-exams-table .application-btn.small-btn {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
    }

    /* Week Table - Two Badge System - Tablet */
    .week-exams-table .package-cell {
        gap: 0.35rem;
        padding: 0.7rem 0.4rem;
        min-height: 70px;
    }

    .week-package-info-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.7rem;
        max-width: 110px;
        min-height: 30px;
    }

    .week-package-buy-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.7rem;
        max-width: 110px;
        min-height: 30px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {

    /* Tablet - 2 kolonlu grid */
    #dynamic-filters-list,
    #dynamic-filters-exam-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .list-filters {
        flex-wrap: wrap;
    }

    .filter-reset-btn {
        width: auto;
    }
}

@media (max-width: 768px) {

    /* Filtre toggle butonu */
    .filter-toggle-btn {
        padding: 0.75rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Filtre düzenlemeleri */
    .list-filters {
        padding: 1rem;
        flex-wrap: wrap;
    }

    #dynamic-filters-list,
    #dynamic-filters-exam-list {
        grid-template-columns: 1fr;
        flex: 1 1 100%;
    }

    .filter-group {
        width: 100%;
    }

    .filter-reset-btn {
        width: 100%;
        justify-content: center;
        flex: 1 1 100%;
    }

    /* Mobile Tables - Keep desktop table view */
    .desktop-only {
        display: block !important;
    }

    .mobile-cards {
        display: none !important;
    }

    /* Remove horizontal scroll - fit to screen */
    .exam-table,
    .week-exams-table,
    .admin-style-table,
    .list-view-container {
        overflow-x: visible;
        width: 100%;
    }

    .exam-table-section {
        overflow-x: visible;
        padding: 0.5rem;
        width: 100%;
    }

    .week-table-container {
        overflow-x: visible;
        padding: 0.5rem;
        margin: 0.25rem 0;
        width: 100%;
    }

    .list-view {
        overflow-x: visible;
        width: 100%;
    }

    /* Adjust grid columns for mobile - more flexible */
    .admin-style-table .table-header,
    .admin-style-table .table-row {
        grid-template-columns: 60px 140px 1fr 90px;
        min-width: auto;
    }

    .week-exams-table .table-header,
    .week-exams-table .table-row {
        grid-template-columns: 60px 1fr 70px 70px;
        min-width: auto;
    }

    /* Small button responsive - tablet */
    .week-exams-table .application-btn.small-btn,
    .admin-style-table .application-btn.small-btn,
    .list-view .application-btn.small-btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.6rem;
        border-radius: 4px;
    }

    /* Type cell gap reduction */
    .week-exams-table .type-cell,
    .admin-style-table .type-cell,
    .list-view .type-cell {
        gap: 0.3rem;
    }

    /* Compact styles for mobile */
    .admin-style-table .header-cell {
        font-size: 0.7rem;
        padding: 0.6rem 0.3rem;
        letter-spacing: 0;
    }

    .admin-style-table .cell {
        font-size: 0.75rem;
        padding: 0.5rem 0.3rem;
    }

    .admin-style-table .exam-name {
        font-size: 0.85rem;
        line-height: 1.2;
    }

    .admin-style-table .exam-publisher {
        font-size: 0.65rem;
    }

    .admin-style-table .date-cell {
        font-size: 0.75rem;
        line-height: 1.2;
        padding: 0.5rem 0.2rem;
    }

    .admin-style-table .scope-cell {
        font-size: 0.65rem;
        padding: 0.5rem 0.2rem;
    }

    .admin-style-table .scope-text {
        font-size: 0.65rem;
        text-align: center;
    }

    /* Week table compact styles */
    .week-exams-table .header-cell {
        font-size: 0.65rem;
        padding: 0.6rem 0.2rem;
        letter-spacing: 0;
    }

    .week-exams-table .cell {
        font-size: 0.65rem;
        padding: 0.35rem 0.15rem;
    }

    .week-exams-table .exam-name {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .week-exams-table .exam-type {
        font-size: 0.65rem;
        padding: 0.25rem 0.4rem;
        letter-spacing: 0.3px;
        min-width: 35px;
        border-radius: 8px;
    }

    .admin-style-table .exam-type {
        font-size: 0.65rem;
        padding: 0.25rem 0.4rem;
        letter-spacing: 0.1px;
        min-width: 38px;
        border-radius: 8px;
    }

    /* Special handling for longer badges on mobile */
    .admin-style-table .exam-type.tyt-ayt,
    .week-exams-table .exam-type.tyt-ayt {
        font-size: 0.55rem;
        padding: 0.2rem 0.35rem;
        letter-spacing: 0;
        min-width: 45px;
    }

    /* Fit CTA into the cell */
    .week-exams-table .cell {
        padding: 0.3rem 0.15rem;
        overflow: hidden;
    }

    .week-exams-table .application-btn {
        width: 100%;
        font-size: 0.5rem;
        padding: 0.25rem 0.3rem;
        border-radius: 4px;
        white-space: nowrap;
        box-sizing: border-box;
        font-weight: 600;
    }

    .week-exams-table .apply-unavailable {
        width: 100%;
        font-size: 0.5rem;
        padding: 0.25rem 0.3rem;
        border-radius: 4px;
        white-space: nowrap;
        box-sizing: border-box;
        font-weight: 600;
    }

    .week-exams-table .package-btn {
        width: 100%;
        font-size: 0.65rem;
        padding: 0.3rem 0.5rem;
        border-radius: 5px;
        white-space: nowrap;
        box-sizing: border-box;
        font-weight: 600;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .week-exams-table .package-unavailable {
        width: auto;
        font-size: 0.65rem;
        padding: 0.3rem 0.5rem;
        border-radius: 5px;
        white-space: nowrap;
        box-sizing: border-box;
        font-weight: 600;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
    }

    .week-exams-table .status-badge {
        display: block;
        width: 100%;
        box-sizing: border-box;
        font-size: 0.65rem;
        padding: 0.3rem 0.5rem;
        white-space: nowrap;
        line-height: 1.1;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: center;
        text-transform: uppercase;
        border-radius: 4px;
        letter-spacing: 0;
        margin: 0;
        font-weight: 700;
    }

    /* Special handling for longer badge texts */
    .week-exams-table .status-badge.available {
        min-width: auto;
        font-size: 0.65rem;
        letter-spacing: 0;
    }

    .week-exams-table .application-btn.small-btn {
        width: auto;
        font-size: 0.6rem;
        padding: 0.25rem 0.4rem;
        border-radius: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Week Table - Two Badge System - Mobile (768px) */
    .week-exams-table .package-cell {
        gap: 0.3rem;
        padding: 0.6rem 0.3rem;
        min-height: 65px;
    }

    .week-package-info-badge {
        font-size: 0.65rem;
        padding: 0.35rem 0.6rem;
        max-width: 90px;
        min-height: 28px;
        line-height: 1.2;
    }

    .week-package-buy-badge {
        font-size: 0.65rem;
        padding: 0.35rem 0.6rem;
        max-width: 90px;
        min-height: 28px;
        line-height: 1.2;
    }

    /* Reduce borders and spacing */
    .admin-style-table,
    .week-exams-table {
        border-width: 1px;
    }

    .admin-style-table .table-header,
    .week-exams-table .table-header {
        border-bottom-width: 2px;
    }

    .admin-style-table .header-cell,
    .week-exams-table .header-cell,
    .admin-style-table .cell,
    .week-exams-table .cell {
        border-right-width: 1px;
    }

    /* Keep exam type badges compact on mobile */
    .exam-type {
        display: inline-block !important;
        vertical-align: middle;
    }

    /* Ensure type cells are properly centered */
    .cell.type-cell {
        text-align: center;
    }

    /* Allow text wrapping on mobile for better fit */
    .exam-name,
    .week-exams-table .exam-name,
    .admin-style-table .exam-name {
        white-space: normal;
        word-break: break-word;
        hyphens: auto;
    }


    /* Simplify buttons on mobile */
    .application-btn span:first-child,
    .week-exams-table .application-btn span:first-child {
        display: none;
        /* Hide icons */
    }

    /* Mobile Timeline */
    .timeline-section {
        padding: 1rem;
    }

    .timeline-content-container {
        padding: 0 12px;
        scroll-padding: 0 15%;
    }

    .month-container-horizontal {
        min-width: 100px;
        width: 100px;
        margin: 0 0.2rem;
    }

    .month-label-horizontal {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
        min-height: 50px;
    }

    .purchase-btn-horizontal {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .package-info-badge {
        font-size: 0.6rem;
        padding: 0.25rem 0.4rem;
        min-height: 24px;
        line-height: 1.2;
        max-width: 140px;
    }

    .package-buy-badge {
        font-size: 0.6rem;
        padding: 0.25rem 0.4rem;
        min-height: 24px;
        line-height: 1.2;
        max-width: 140px;
    }

    .package-cell {
        gap: 0.3rem;
        padding: 0.5rem 0.2rem !important;
        min-height: 70px;
    }

    .exam-count-horizontal {
        font-size: 0.65rem;
        margin-top: 0.2rem;
    }

    .group-label-horizontal {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
        top: -30px;
    }

    .group-line-horizontal {
        height: 5px;
    }

    .scroll-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    /* Mobile Hero */
    .hero-section {
        padding: 6rem 1rem 2rem;
    }

    .video-main-title {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
    }

    .hero-video {
        height: 300px;
    }

    /* Video frame ve decoration stilleri kaldırıldı */

    .social-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .social-btn {
        justify-content: center;
    }

    /* Mobile Navigation */
    .main-container {
        padding: 1rem 1rem 2rem;
    }

    .tabs-container {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        gap: 0.6rem;
        flex-wrap: wrap;
    }

    .main-tab-btn {
        flex: 1;
        min-width: 140px;
        max-width: 180px;
        justify-content: center;
        padding: 1rem 1rem;
        font-size: 1rem;
    }

    .sub-tab-btn {
        flex: 1;
        min-width: 140px;
        max-width: 180px;
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
        border-radius: 10px;
        justify-content: center;
    }

    /* Mobile Calendar */
    .calendar-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .calendar-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .calendar-title-container {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .calendar-title {
        font-size: 1.3rem;
    }

    .view-toggle-buttons {
        width: 100%;
        justify-content: center;
    }

    .view-toggle-btn {
        flex: 1;
        justify-content: center;
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
    }

    .view-toggle-btn span {
        display: none;
    }

    .view-toggle-btn i {
        font-size: 1.1rem;
    }

    .list-view .table-header,
    .list-view .table-row {
        grid-template-columns: 60px 90px 1fr 70px 70px;
        font-size: 0.7rem;
        width: 100%;
        min-width: 100%;
    }

    .list-view .cell {
        padding: 0.5rem 0.3rem;
        box-sizing: border-box;
    }

    .list-view .application-btn {
        padding: 0.35rem 0.5rem;
        font-size: 0.65rem;
        border-radius: 6px;
    }

    .list-view .apply-unavailable {
        padding: 0.35rem 0.5rem;
        font-size: 0.6rem;
        border-radius: 6px;
    }

    .list-view .package-btn {
        padding: 0.25rem 0.4rem;
        font-size: 0.6rem;
        border-radius: 5px;
    }

    .list-view .package-unavailable {
        padding: 0.25rem 0.4rem;
        font-size: 0.6rem;
        border-radius: 5px;
    }

    .list-view .date-cell {
        font-size: 0.7rem;
    }

    .list-view .exam-name {
        font-size: 0.8rem;
    }

    .list-view .exam-type {
        font-size: 0.6rem;
        padding: 0.25rem 0.4rem;
    }

    /* Week exams table - Mobile 768px */
    .week-exams-table .package-btn {
        padding: 0.25rem 0.4rem;
        font-size: 0.6rem;
        border-radius: 5px;
    }

    .week-exams-table .package-unavailable {
        padding: 0.25rem 0.4rem;
        font-size: 0.6rem;
        border-radius: 5px;
        display: inline-block;
    }

    .week-exams-table .status-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.5rem;
    }

    .week-exams-table .application-btn.small-btn {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
    }

    .week-display {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .calendar-day {
        min-height: 50px;
        padding: 0.3rem;
    }

    .day-number {
        font-size: 1rem;
    }

    .exam-indicator {
        width: 16px;
        height: 16px;
        font-size: 0.6rem;
    }

    /* Mobile Week Table */
    .week-table-container {
        padding: 1rem;
        margin: 0.3rem 0;
    }

    .week-exams-header {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }

    .header-left {
        flex-direction: column;
        gap: 0.5rem;
    }

    .week-exams-title {
        font-size: 1.1rem;
    }

    .exam-count-badge {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }

    /* Mobile Form */
    .modal-content {
        margin: 1rem;
        max-height: 95vh;
    }

    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .modal-body {
        padding: 1rem 1.5rem 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .submit-btn,
    .cancel-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {

    /* Filtre toggle butonu */
    .filter-toggle-btn {
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
        gap: 0.5rem;
    }

    .filter-toggle-btn i:first-child {
        font-size: 1rem;
    }

    /* Filtre düzenlemeleri */
    .list-filters {
        padding: 0.75rem;
        flex-wrap: wrap;
    }

    #dynamic-filters-list,
    #dynamic-filters-exam-list {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        flex: 1 1 100%;
    }

    .filter-group {
        width: 100%;
    }

    .filter-reset-btn {
        flex: 1 1 100%;
    }

    .filter-label {
        font-size: 0.8rem;
    }

    .filter-select,
    .filter-input,
    .filter-multi-select {
        padding: 0.5rem 0.7rem;
        font-size: 0.85rem;
    }

    .filter-reset-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    /* Keep desktop table view on small screens too */
    .desktop-only {
        display: block !important;
    }

    .mobile-cards {
        display: none !important;
    }

    .admin-style-table .table-header,
    .admin-style-table .table-row {
        grid-template-columns: 50px 120px 1fr 80px;
        min-width: auto;
    }

    .week-exams-table .table-header,
    .week-exams-table .table-row {
        grid-template-columns: 55px 1fr 60px 60px;
        min-width: auto;
    }

    /* Small button responsive - mobile */
    .week-exams-table .application-btn.small-btn,
    .admin-style-table .application-btn.small-btn,
    .list-view .application-btn.small-btn {
        padding: 0.2rem 0.35rem;
        font-size: 0.5rem;
        border-radius: 3px;
        font-weight: 700;
    }

    /* Type cell gap reduction - mobile */
    .week-exams-table .type-cell,
    .admin-style-table .type-cell,
    .list-view .type-cell {
        gap: 0.2rem;
    }

    .admin-style-table .header-cell {
        font-size: 0.6rem;
        padding: 0.4rem 0.15rem;
        letter-spacing: 0;
    }

    .admin-style-table .cell {
        font-size: 0.65rem;
        padding: 0.3rem 0.15rem;
    }

    .admin-style-table .exam-name {
        font-size: 0.7rem;
        line-height: 1.2;
    }

    .admin-style-table .exam-publisher {
        font-size: 0.6rem;
        display: none;
        /* Hide publisher on very small screens */
    }

    .admin-style-table .date-cell {
        font-size: 0.65rem;
        line-height: 1.1;
        padding: 0.3rem 0.15rem;
        word-break: break-word;
    }

    .admin-style-table .scope-cell {
        font-size: 0.6rem;
        padding: 0.3rem 0.15rem;
    }

    .admin-style-table .scope-text {
        font-size: 0.6rem;
        text-align: center;
    }

    .week-exams-table .header-cell {
        font-size: 0.6rem;
        padding: 0.5rem 0.15rem;
    }

    .week-exams-table .cell {
        font-size: 0.6rem;
        padding: 0.3rem 0.1rem;
    }

    .week-exams-table .exam-name {
        font-size: 0.7rem;
    }

    .week-exams-table .exam-type {
        font-size: 0.55rem;
        padding: 0.2rem 0.35rem;
        letter-spacing: 0.2px;
        min-width: 30px;
        border-radius: 6px;
        font-weight: 700;
    }

    .admin-style-table .exam-type {
        font-size: 0.55rem;
        padding: 0.2rem 0.3rem;
        letter-spacing: 0;
        min-width: 35px;
        border-radius: 6px;
        font-weight: 700;
    }

    /* Ultra compact for TYT-AYT on very small screens */
    .admin-style-table .exam-type.tyt-ayt,
    .week-exams-table .exam-type.tyt-ayt {
        font-size: 0.5rem;
        padding: 0.15rem 0.25rem;
        min-width: 42px;
    }

    .week-exams-table .application-btn {
        width: 100%;
        font-size: 0.45rem;
        padding: 0.2rem 0.3rem;
        border-radius: 4px;
        white-space: nowrap;
        box-sizing: border-box;
        font-weight: 600;
    }

    .week-exams-table .apply-unavailable {
        width: 100%;
        font-size: 0.45rem;
        padding: 0.2rem 0.3rem;
        border-radius: 4px;
        white-space: nowrap;
        box-sizing: border-box;
        font-weight: 600;
    }

    .week-exams-table .package-btn {
        width: 100%;
        font-size: 0.6rem;
        padding: 0.3rem 0.4rem;
        border-radius: 4px;
        white-space: nowrap;
        box-sizing: border-box;
        font-weight: 600;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .week-exams-table .package-unavailable {
        width: auto;
        font-size: 0.6rem;
        padding: 0.3rem 0.4rem;
        border-radius: 4px;
        white-space: nowrap;
        box-sizing: border-box;
        font-weight: 600;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
    }

    .week-exams-table .status-badge {
        display: block;
        width: 100%;
        box-sizing: border-box;
        font-size: 0.6rem;
        padding: 0.3rem 0.4rem;
        white-space: nowrap;
        line-height: 1.0;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        letter-spacing: 0;
        text-transform: uppercase;
        border-radius: 3px;
        margin: 0;
        font-weight: 700;
        text-align: center;
    }

    /* Ultra compact for long texts on very small screens */
    .week-exams-table .status-badge.available {
        font-size: 0.6rem;
        padding: 0.3rem 0.4rem;
        letter-spacing: 0;
    }

    .week-exams-table .application-btn.small-btn {
        width: auto;
        font-size: 0.55rem;
        padding: 0.25rem 0.4rem;
        border-radius: 3px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Week Table - Two Badge System - Small Mobile (480px) */
    .week-exams-table .package-cell {
        gap: 0.25rem;
        padding: 0.5rem 0.25rem;
        min-height: 60px;
    }

    .week-package-info-badge {
        font-size: 0.6rem;
        padding: 0.3rem 0.5rem;
        max-width: 80px;
        min-height: 26px;
        line-height: 1.1;
    }

    .week-package-buy-badge {
        font-size: 0.6rem;
        padding: 0.3rem 0.5rem;
        max-width: 80px;
        min-height: 26px;
        line-height: 1.1;
    }

    /* Reduce table spacing even more */
    .exam-table-section {
        padding: 0.3rem;
    }

    .week-table-container {
        padding: 0.3rem;
    }

    .header-cell {
        text-transform: none;

    }

    .admin-style-table .header-cell:nth-child(2)::after {
        content: "TARİH";
        font-size: 0.6rem;
    }

    .admin-style-table .header-cell:nth-child(2) {
        font-size: 0;
    }

    /* Use abbreviations for week table headers */
    .week-exams-table .header-cell:contains("BAŞVURU") {
        font-size: 0;
    }

    .week-exams-table .header-cell:contains("BAŞVURU")::after {
        content: "BAŞV.";
        font-size: 0.6rem;
    }

    .hero-section {
        padding: 5rem 0.8rem 1rem;
    }

    .main-container {
        padding: 0.8rem 0.8rem 1.5rem;
    }

    .timeline-content-container {
        padding: 0 8px;
        scroll-padding: 0 10%;
    }

    .month-container-horizontal {
        min-width: 90px;
        width: 90px;
        margin: 0 0.15rem;
    }

    .month-label-horizontal {
        font-size: 0.7rem;
        padding: 0.5rem 0.6rem;
        min-height: 45px;
    }

    .purchase-btn-horizontal {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
    }

    .package-info-badge {
        font-size: 0.5rem;
        padding: 0.2rem 0.3rem;
        min-height: 20px;
        line-height: 1.2;
        max-width: 120px;
    }

    .package-buy-badge {
        font-size: 0.5rem;
        padding: 0.2rem 0.3rem;
        min-height: 20px;
        line-height: 1.2;
        max-width: 120px;
    }

    .package-cell {
        gap: 0.25rem;
        padding: 0.4rem 0.15rem !important;
        min-height: 60px;
    }

    .exam-count-horizontal {
        font-size: 0.55rem;
        margin-top: 0.15rem;
    }

    .group-label-horizontal {
        font-size: 0.6rem;
        padding: 0.15rem 0.3rem;
        top: -25px;
    }

    .group-line-horizontal {
        height: 4px;
    }

    .scroll-arrow {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .main-tab-btn {
        flex: 1;
        min-width: 130px;
        max-width: 160px;
        padding: 0.9rem 0.8rem;
        font-size: 0.95rem;
    }

    .sub-tab-btn {
        flex: 1;
        min-width: 130px;
        max-width: 160px;
        padding: 0.7rem 0.8rem;
        font-size: 0.8rem;
    }

    .exam-table-section {
        padding: 1rem 0.8rem;
    }


    /* Very small mobile adjustments */
    .calendar-section {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }

    .calendar-title {
        font-size: 1.1rem;
    }

    .view-toggle-btn {
        padding: 0.4rem 0.6rem;
    }

    .view-toggle-btn i {
        font-size: 1rem;
    }

    .list-view .table-header,
    .list-view .table-row {
        grid-template-columns: 55px 80px 1fr 60px 60px;
        font-size: 0.65rem;
        width: 100%;
        min-width: 100%;
    }

    .list-view .cell {
        padding: 0.4rem 0.2rem;
        box-sizing: border-box;
    }

    .list-view .application-btn {
        padding: 0.3rem 0.4rem;
        font-size: 0.55rem;
        border-radius: 5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .list-view .apply-unavailable {
        padding: 0.3rem 0.4rem;
        font-size: 0.5rem;
        border-radius: 5px;
    }

    .list-view .package-btn {
        padding: 0.2rem 0.3rem;
        font-size: 0.5rem;
        border-radius: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .list-view .package-unavailable {
        padding: 0.2rem 0.3rem;
        font-size: 0.5rem;
        border-radius: 4px;
    }

    .list-view .date-cell {
        font-size: 0.6rem;
        line-height: 1.3;
    }

    .list-view .exam-name {
        font-size: 0.7rem;
        line-height: 1.3;
    }

    .list-view .exam-type {
        font-size: 0.5rem;
        padding: 0.2rem 0.3rem;
    }

    .week-display {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }

    .calendar-day {
        min-height: 40px;
        padding: 0.2rem;
    }

    .day-number {
        font-size: 0.9rem;
    }

    .weekday {
        padding: 0.5rem 0.2rem;
        font-size: 0.7rem;
    }
}

/* Loading States */
.loading-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: #6b7280;
    gap: 1rem;
}

.loading-placeholder i {
    font-size: 2rem;
    color: #dc2626;
}

/* Error States */
.error-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #dc2626;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-radius: 20px;
    border: 1px solid rgba(254, 202, 202, 0.5);
}

.error-state .error-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.retry-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.875rem 1.75rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* No scroll indicator needed - tables fit to screen */

/* High contrast mode support */
@media (prefers-contrast: high) {
    .month-label-horizontal {
        border-width: 3px;
    }

    .exam-type {
        border: 2px solid currentColor;
    }

    .social-btn {
        border: 2px solid currentColor;
    }
}

/* Table Sorting Styles */
.sortable {
    cursor: pointer;
    user-select: none;
    position: relative;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sortable:hover {
    background-color: rgba(220, 38, 38, 0.05);
}

.sortable.active {
    background-color: rgba(220, 38, 38, 0.1);
    font-weight: 600;
}

.sort-icon {
    font-size: 12px;
    color: #6b7280;
    transition: color 0.2s ease;
}

.sortable:hover .sort-icon {
    color: #dc2626;
}

.sortable.active .sort-icon {
    color: #dc2626;
}

/* Exam List Disclaimer - Kaliteli Denemeler */
.exam-list-disclaimer {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.1);
}

.exam-list-disclaimer i {
    color: #f59e0b;
    font-size: 1.25rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.exam-list-disclaimer p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #92400e;
    font-weight: 500;
}

@media (max-width: 768px) {
    .exam-list-disclaimer {
        margin-top: 1rem;
        padding: 0.875rem 1rem;
        gap: 0.625rem;
    }

    .exam-list-disclaimer i {
        font-size: 1.1rem;
    }

    .exam-list-disclaimer p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .exam-list-disclaimer {
        padding: 0.75rem 0.875rem;
        gap: 0.5rem;
        border-left-width: 3px;
    }

    .exam-list-disclaimer i {
        font-size: 1rem;
    }

    .exam-list-disclaimer p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Dark mode support (for future implementation) */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here */
}