.top-bar.hidden .date-swiper {
    display: none;
}




.date-swiper-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.swiper-arrow {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 10;
}

.swiper-arrow:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.swiper-arrow:active {
    transform: translateY(0) scale(0.95);
}

.date-swiper {
    overflow: hidden;
    position: relative;
    flex: 1;
}




.date-container {
    display: flex;
    gap: 0;
    transition: transform 0.3s ease;
    touch-action: pan-y;
    padding: 4px;
}




.date-item {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    padding: 10px 6px;
    color: #9ca3af;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    min-width: 0;
    position: relative;
    border-radius: 14px;
    margin: 0 2px;
    overflow: hidden;
}




.date-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}




.date-item:hover::before {
    opacity: 1;
}




.date-item.today {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3) 0%, rgba(16, 163, 74, 0.3) 100%);
    border: 1px solid rgba(34, 197, 94, 0.6);
    color: #22c55e;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}




.date-item.today .date-day {
    color: #ffffff;
    font-weight: 700;
}




.date-item.today .date-number {
    color: #ffffff;
    font-weight: 700;
    text-shadow: none;
}




.date-item.today .date-month {
    color: #ffffff;
    font-weight: 600;
    opacity: 0.9;
}




.date-item.active {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow:
        0 8px 25px rgba(59, 130, 246, 0.4),
        0 4px 10px rgba(0, 0, 0, 0.2);
}




.date-item.active::before {
    opacity: 0;
}




.date-item.active.today {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow:
        0 8px 25px rgba(34, 197, 94, 0.4),
        0 4px 10px rgba(0, 0, 0, 0.2);
}




.date-item:not(.active):active {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0.95);
}




.date-day {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    transition: all 0.3s ease;
}




.date-item.active .date-day {
    opacity: 1;
    font-weight: 700;
}




.date-number {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    transition: all 0.3s ease;
    position: relative;
}




.date-item.active .date-number {
    font-size: 18px;
    font-weight: 700;
}




.date-month {
    font-size: 9px;
    font-weight: 600;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}




.date-item.active .date-month {
    opacity: 1;
    font-weight: 600;
}




.date-item.weekend {
    color: #f59e0b;
}




.date-item.weekend.today {
    color: #22c55e;
}




.date-item.weekend.active {
    color: #ffffff;
}




.lessons-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 140px;
    min-height: 0;
}




.lessons-container.no-lessons {
    padding-bottom: 0;
}




.lessons-container>.loading:only-child {
    padding-bottom: 0;
}




.schedule-day-skeleton {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.schedule-skeleton-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    min-height: 98px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(27, 30, 36, 0.78) 0%, rgba(21, 24, 30, 0.72) 100%);
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 8px 24px rgba(0, 0, 0, 0.24);
}

.schedule-skeleton-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, rgba(161, 161, 170, 0.5) 0%, rgba(113, 113, 122, 0.45) 100%);
}

.schedule-skeleton-card::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.12) 42%, transparent 78%);
    animation: schedule-skeleton-shimmer 1.5s ease-in-out infinite;
}

.schedule-skeleton-time,
.schedule-skeleton-title,
.schedule-skeleton-line,
.schedule-skeleton-state {
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.24);
    animation: schedule-skeleton-pulse 1.35s ease-in-out infinite;
}

.schedule-skeleton-time {
    width: 88px;
    height: 16px;
    flex-shrink: 0;
}

.schedule-skeleton-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.schedule-skeleton-title {
    height: 20px;
    width: 62%;
}

.schedule-skeleton-line {
    height: 14px;
    width: 78%;
}

.schedule-skeleton-line.short {
    width: 52%;
}

.schedule-skeleton-state {
    width: 68px;
    height: 24px;
    flex-shrink: 0;
}

.schedule-skeleton-card:nth-child(2) .schedule-skeleton-title {
    width: 70%;
}

.schedule-skeleton-card:nth-child(3) .schedule-skeleton-line {
    width: 72%;
}

.schedule-skeleton-card:nth-child(4) .schedule-skeleton-line.short {
    width: 44%;
}

.schedule-skeleton-card:nth-child(2) .schedule-skeleton-time,
.schedule-skeleton-card:nth-child(2) .schedule-skeleton-title,
.schedule-skeleton-card:nth-child(2) .schedule-skeleton-line,
.schedule-skeleton-card:nth-child(2) .schedule-skeleton-state {
    animation-delay: 0.18s;
}

.schedule-skeleton-card:nth-child(3) .schedule-skeleton-time,
.schedule-skeleton-card:nth-child(3) .schedule-skeleton-title,
.schedule-skeleton-card:nth-child(3) .schedule-skeleton-line,
.schedule-skeleton-card:nth-child(3) .schedule-skeleton-state {
    animation-delay: 0.32s;
}

.schedule-skeleton-card:nth-child(4) .schedule-skeleton-time,
.schedule-skeleton-card:nth-child(4) .schedule-skeleton-title,
.schedule-skeleton-card:nth-child(4) .schedule-skeleton-line,
.schedule-skeleton-card:nth-child(4) .schedule-skeleton-state {
    animation-delay: 0.46s;
}

@keyframes schedule-skeleton-shimmer {
    100% {
        transform: translateX(100%);
    }
}

@keyframes schedule-skeleton-pulse {
    0%,
    100% {
        opacity: 0.45;
    }

    50% {
        opacity: 0.92;
    }
}

@media (max-width: 480px) {
    .schedule-skeleton-card {
        padding: 16px;
        gap: 14px;
        min-height: 90px;
    }

    .schedule-skeleton-time {
        width: 78px;
        height: 14px;
    }

    .schedule-skeleton-title {
        height: 18px;
    }

    .schedule-skeleton-line {
        height: 12px;
    }

    .schedule-skeleton-state {
        width: 58px;
        height: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .schedule-skeleton-card::after {
        animation: none;
        transform: none;
    }

    .schedule-skeleton-time,
    .schedule-skeleton-title,
    .schedule-skeleton-line,
    .schedule-skeleton-state {
        animation: none;
    }
}

.break-time {
    text-align: center;
    color: #6b7280;
    font-size: 13px;
    padding: 4px 0;
    font-weight: 500;
    opacity: 0.8;
}




.lesson-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}




.lesson-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}




.lesson-card.current::before {
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
}




.lesson-card.upcoming::before {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
}




.lesson-card:active {
    background: rgba(255, 255, 255, 0.05);
    transform: scale(0.98);
}




.lesson-time {
    font-size: 14px;
    font-weight: 600;
    color: #9ca3af;
    min-width: 80px;
    text-align: center;
    line-height: 1.2;
}




.lesson-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}




.lesson-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}




.lesson-teacher {
    font-size: 14px;
    color: #9ca3af;
    font-weight: 500;
}




.lesson-room {
    font-size: 13px;
    color: #6b7280;
    font-weight: 400;
}




.lesson-status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 8px;
    white-space: nowrap;
}




.lesson-status.current {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}




.lesson-status.upcoming {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}




.lesson-card.absent {
    border-left: 4px solid #ef4444;
    background: rgba(239, 68, 68, 0.05);
}




.lesson-card.present {
    border-left: 4px solid #22c55e;
    background: rgba(34, 197, 94, 0.05);
}




.lesson-card.late {
    border-left: 4px solid #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}




.lesson-status-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}




.attendance-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}




.attendance-icon.present {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}




.attendance-icon.absent {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}




.attendance-icon.late {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}




.lesson-grades {
    margin-top: 8px;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}




.lesson-info-modal .grade-badge {
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    padding: 0;
    cursor: default;
    transition: none;
}




.lesson-info-modal .grade-badge:hover {
    transform: none;
    box-shadow: none;
}




.profile-action.update-credentials {
    color: #ffffff;
    border-color: rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
}




.profile-action.update-credentials:active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
    transform: scale(0.98);
}




.profile-action.update-credentials img {
    border-radius: 4px;
}




.profile-action.update-credentials {
    color: #ffffff;
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
}




.profile-action.update-credentials::before {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(139, 92, 246, 0.15) 100%);
}




.profile-action.update-credentials:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}




.profile-action.update-credentials img {
    border-radius: 6px;
}




.active-lessons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}




.lesson-info-card {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}




.lesson-subject {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}




.lesson-teacher {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 4px;
}




.lesson-date {
    font-size: 13px;
    color: #6b7280;
}









.lesson-info-modal .lesson-modal-content {
    max-height: 85vh;
}




.lesson-info-modal .lesson-modal-header {
    position: relative;
    z-index: 20;
}




.lesson-info-modal .lesson-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    z-index: 30;
}




.lesson-info-modal .lesson-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}




.annual-quiz-modal .lesson-modal-content {
    max-height: 90vh;
}




.lesson-info-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}




.lesson-info-modal.active {
    visibility: visible;
    opacity: 1;
}




.lesson-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}




.lesson-modal-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2a2a2a;
    border-radius: 20px 20px 0 0;
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}




.lesson-info-modal.active .lesson-modal-content {
    transform: translateY(0);
}




.lesson-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}




.lesson-modal-category {
    background: #3b82f6;
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
}




.lesson-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}




.lesson-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}




.modal-content .lesson-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    z-index: 10;
}




.modal-content .lesson-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}




.lesson-modal-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}




.lesson-modal-details {
    margin-bottom: 24px;
}




.lesson-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #b3b3b3;
    font-size: 16px;
}




.lesson-detail-item svg {
    color: #3b82f6;
    flex-shrink: 0;
}




.lesson-grades-section {
    margin-bottom: 24px;
}




.lesson-grades-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}




.lesson-grades-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 50vh;
    overflow-y: auto;
    padding-right: 4px;
    margin-right: -4px;
}




.lesson-grades-list::-webkit-scrollbar {
    width: 4px;
}




.lesson-grades-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}




.lesson-grades-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}




.lesson-grade-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}




.lesson-grade-item.has-stats {
    cursor: pointer;
}




.lesson-grade-item.has-stats:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
}




.lesson-grade-item.expanded {
    align-items: flex-start;
}




.lesson-grade-item.expanded .grade-detailed-stats {
    display: block !important;
}




.lesson-grade-info {
    flex: 1;
}




.lesson-grade-type {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}




.lesson-grade-theme {
    font-size: 14px;
    color: #b3b3b3;
}




.lesson-grade-value {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}




.lesson-grade-value.excellent {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}




.lesson-grade-value.good {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}




.lesson-grade-value.satisfactory {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}




.lesson-grade-value.poor {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}




.lesson-modal-actions {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}




.lesson-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}




.lesson-modal-actions .action-btn {
    flex: 1;
}




.lesson-stats-btn {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    border: none;
    color: white;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}




.lesson-stats-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}




.payment-modal .lesson-modal-content {
    min-height: 60vh;
    max-height: 85vh;
}




.gaming-modal .lesson-modal-content {
    max-height: 80vh;
    min-height: 60vh;
}




.lesson-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10;
}




.lesson-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    width: 0%;
    transition: width 1s linear;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}




.lesson-time-remaining {
    position: absolute;
    bottom: 8px;
    right: 16px;
    font-size: 11px;
    font-weight: 700;
    color: #22c55e;
    background: rgba(10, 10, 10, 0.8);
    padding: 2px 8px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(34, 197, 94, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 5;
}




.break-time-remaining {
    font-size: 11px;
    font-weight: 600;
    color: #60a5fa;
    margin-top: 2px;
}




.break-time {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 8px 0;
}




.break-time::before,
.break-time::after {
    content: '';
    display: block;
    height: 2px;
    flex: 1;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    border-radius: 1px;
}




.break-container.first-lesson-countdown {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.25);
}




.break-container.first-lesson-countdown .break-progress-container {
    background: rgba(34, 197, 94, 0.15);
}




.break-container.first-lesson-countdown .break-progress-bar {
    background: linear-gradient(90deg, #22c55e, #16a34a);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}




.break-container.first-lesson-countdown .break-time-remaining {
    color: #4ade80;
}




.break-container.first-lesson-countdown .break-content::before,
.break-container.first-lesson-countdown .break-content::after {
    background: linear-gradient(90deg, transparent 0%, rgba(34, 197, 94, 0.8) 50%, transparent 100%);
}




.lesson-info-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    justify-content: center;
    align-items: flex-end;
}




.lesson-info-modal:not(.active) {
    display: none;
}




.lesson-info-modal.active {
    display: flex;
}




.lesson-info-modal.active .lesson-modal-overlay {
    animation: fadeInModal 0.3s ease forwards;
}




.lesson-info-modal.active .lesson-modal-content {
    animation: slideUpBottom 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transform-origin: bottom;
    border-radius: 24px 24px 0 0;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}




.lesson-info-modal button,
.lesson-info-modal .action-btn {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease, background 0.2s ease;
}




.lesson-info-modal button:active,
.lesson-info-modal .action-btn:active {
    transform: scale(0.96);
}




.lesson-info-modal button:hover,
.lesson-info-modal .action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}




.lesson-modal-close {
    transition: transform 0.3s ease, background 0.2s ease !important;
}




.lesson-modal-close:hover {
    transform: rotate(90deg) !important;
    background: rgba(255, 255, 255, 0.1);
}




.lesson-modal-close:active {
    transform: rotate(90deg) scale(0.9) !important;
}




.reviews-modal .lesson-modal-content {
    width: min(960px, calc(100vw - 40px));
    max-width: 960px;
    min-height: 50vh;
    max-height: 85vh;
    overflow-x: hidden;
}








.break-content {
    position: relative;
    z-index: 2;
    text-align: center;
}








.break-container.active .break-content {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}








.break-container.active .break-content::before,
.break-container.active .break-content::after {
    content: '';
    display: block;
    height: 2px;
    flex: 1;
    background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.8) 50%, transparent 100%);
    border-radius: 1px;
}

@media (min-width: 768px) {
    .lessons-container {
        max-width: 800px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        padding-bottom: 60px;
    }

    .date-container {
        max-width: 800px;
        margin: 0 auto;
        padding: 8px 4px;
        gap: 8px;
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        overflow: visible;
    }

    .date-item {
        flex: 1;
        min-width: 0;
        max-width: none;
    }

    .lesson-info-modal {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        opacity: 0;
        visibility: hidden;
    }

    .lesson-info-modal.active {
        opacity: 1;
        visibility: visible;
    }

    .lesson-modal-content {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        width: 100%;
        max-width: 500px;
        border-radius: 20px;
        transform: translateY(20px) scale(0.95);
        opacity: 0;
        max-height: 85vh;
        margin: auto;
    }

    .lesson-info-modal.active .lesson-modal-content {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    #notificationsModal .lesson-modal-content {
        max-width: 680px;
        max-height: 88vh;
        overflow-y: auto;
    }
}

@media (min-width: 1024px) {

    .lessons-container,
    .date-container,
    .date-swiper-wrapper {
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .swiper-arrow {
        display: flex;
    }
}
