/* 마이페이지 - 학습 캘린더 스타일 */
:root {
    --primary: #6C5CE7;
    --primary-dark: #5849C2;
    --primary-light: #A29BFE;
    --secondary: #00D2D3;
    --accent: #FD79A8;
    --gold: #FDCB6E;
    --dark: #2D3436;
    --gray: #636E72;
    --light-gray: #B2BEC3;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, #6C5CE7 0%, #A29BFE 100%);
    --shadow: 0 10px 40px rgba(108, 92, 231, 0.15);
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.08);
    --success: #00B894;
    --warning: #FDCB6E;
    --danger: #E74C3C;
    --info: #0984E3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-light);
    color: var(--dark);
    line-height: 1.7;
    min-height: 100vh;
}

/* ===== 헤더 ===== */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}

.header-top-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top a {
    color: var(--light-gray);
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.header-top a:hover {
    color: var(--white);
}

.header-top a.active {
    color: var(--primary-light);
    font-weight: 600;
}

.header-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.logo span {
    color: var(--secondary);
}

.main-nav {
    display: flex;
    gap: 32px;
}

.main-nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
}

/* ===== 페이지 배너 ===== */
.page-banner {
    background: var(--gradient);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.9;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ===== 메인 레이아웃 ===== */
.mypage-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* ===== 사이드바 ===== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.profile-avatar i {
    font-size: 36px;
    color: var(--white);
}

.profile-level {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.profile-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-email {
    color: var(--gray);
    font-size: 13px;
    margin-bottom: 16px;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--bg-light);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 12px;
    color: var(--gray);
}

/* 수강 정보 카드 */
.course-info-card {
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.course-info-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-info-card h3 i {
    color: var(--primary);
}

.course-info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-light);
    font-size: 14px;
}

.course-info-item:last-child {
    border-bottom: none;
}

.course-info-label {
    color: var(--gray);
}

.course-info-value {
    font-weight: 600;
    color: var(--dark);
}

.course-info-value.highlight {
    color: var(--primary);
}

/* 사이드 메뉴 */
.side-menu {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.side-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.side-menu a:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.side-menu a.active {
    background: linear-gradient(90deg, rgba(108, 92, 231, 0.1), transparent);
    color: var(--primary);
    border-left-color: var(--primary);
    font-weight: 600;
}

.side-menu a i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.side-menu .badge {
    background: var(--accent);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    margin-left: auto;
}

.side-menu-divider {
    height: 1px;
    background: var(--bg-light);
    margin: 8px 0;
}

/* LMS 링크 스타일 */
.side-menu a.lms-link {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(0, 210, 211, 0.1));
    border-left-color: var(--secondary);
    position: relative;
}

.side-menu a.lms-link:hover {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(0, 210, 211, 0.15));
}

.side-menu a.lms-link i {
    color: var(--secondary);
}

.new-badge {
    background: linear-gradient(135deg, #FD79A8, #FDCB6E);
    color: var(--white);
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    margin-left: auto;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* ===== 메인 컨텐츠 ===== */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 대시보드 카드 */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.dash-card {
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.dash-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.dash-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.dash-icon.primary {
    background: rgba(108, 92, 231, 0.15);
    color: var(--primary);
}

.dash-icon.success {
    background: rgba(0, 184, 148, 0.15);
    color: var(--success);
}

.dash-icon.warning {
    background: rgba(253, 203, 110, 0.2);
    color: #E17055;
}

.dash-icon.info {
    background: rgba(9, 132, 227, 0.15);
    color: var(--info);
}

.dash-info h4 {
    font-size: 13px;
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 4px;
}

.dash-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

.dash-value span {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray);
}

/* 캘린더 섹션 */
.calendar-section {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.calendar-title h2 {
    font-size: 20px;
    font-weight: 700;
}

.calendar-nav {
    display: flex;
    gap: 8px;
}

.calendar-nav button {
    width: 36px;
    height: 36px;
    border: 1px solid var(--light-gray);
    background: var(--white);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-nav button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.calendar-legend {
    display: flex;
    gap: 16px;
    font-size: 13px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-dot.completed {
    background: var(--success);
}

.legend-dot.scheduled {
    background: var(--primary);
}

.legend-dot.cancelled {
    background: var(--danger);
}

.legend-dot.makeup {
    background: var(--gold);
}

/* 캘린더 그리드 */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-weekday {
    text-align: center;
    padding: 12px;
    font-weight: 600;
    color: var(--gray);
    font-size: 13px;
}

.calendar-weekday:first-child {
    color: var(--danger);
}

.calendar-weekday:last-child {
    color: var(--info);
}

.calendar-day {
    aspect-ratio: 1;
    min-height: 80px;
    padding: 8px;
    border: 1px solid var(--bg-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.calendar-day:hover {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.05);
}

.calendar-day.other-month {
    opacity: 0.3;
}

.calendar-day.today {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.1);
}

.calendar-day.selected {
    border-color: var(--primary);
    background: var(--primary);
}

.calendar-day.selected .day-number {
    color: var(--white);
}

.day-number {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.calendar-day:nth-child(7n+1) .day-number {
    color: var(--danger);
}

.calendar-day:nth-child(7n) .day-number {
    color: var(--info);
}

.calendar-day.selected .day-number {
    color: var(--white) !important;
}

.day-events {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    overflow: hidden;
}

.day-event {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.day-event.completed {
    background: rgba(0, 184, 148, 0.2);
    color: var(--success);
}

.day-event.scheduled {
    background: rgba(108, 92, 231, 0.2);
    color: var(--primary);
}

.day-event.cancelled {
    background: rgba(231, 76, 60, 0.2);
    color: var(--danger);
}

.day-event.makeup {
    background: rgba(253, 203, 110, 0.3);
    color: #D68910;
}

/* 오늘의 수업 */
.today-class-section {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title i {
    color: var(--primary);
}

.today-class-card {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1) 0%, rgba(162, 155, 254, 0.1) 100%);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.class-time-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.class-time {
    text-align: center;
}

.class-time .time {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.class-time .period {
    font-size: 12px;
    color: var(--gray);
}

.class-divider {
    width: 1px;
    height: 50px;
    background: var(--light-gray);
}

.class-details h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.class-details p {
    font-size: 13px;
    color: var(--gray);
}

.class-actions {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: var(--white);
    color: var(--gray);
    border: 1px solid var(--light-gray);
}

.btn-outline:hover {
    border-color: var(--danger);
    color: var(--danger);
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-success:hover {
    background: #00A383;
}

.btn-warning {
    background: var(--gold);
    color: var(--dark);
}

.btn-warning:hover {
    background: #F4C03F;
}

/* 최근 수업 내역 */
.recent-classes-section {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.class-table {
    width: 100%;
    border-collapse: collapse;
}

.class-table th {
    text-align: left;
    padding: 12px 16px;
    background: var(--bg-light);
    font-weight: 600;
    font-size: 13px;
    color: var(--gray);
}

.class-table th:first-child {
    border-radius: 8px 0 0 8px;
}

.class-table th:last-child {
    border-radius: 0 8px 8px 0;
}

.class-table td {
    padding: 16px;
    border-bottom: 1px solid var(--bg-light);
    font-size: 14px;
}

.class-table tr:last-child td {
    border-bottom: none;
}

.class-table tr:hover td {
    background: rgba(108, 92, 231, 0.03);
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.completed {
    background: rgba(0, 184, 148, 0.15);
    color: var(--success);
}

.status-badge.cancelled {
    background: rgba(231, 76, 60, 0.15);
    color: var(--danger);
}

.status-badge.makeup {
    background: rgba(253, 203, 110, 0.2);
    color: #D68910;
}

.status-badge.scheduled {
    background: rgba(108, 92, 231, 0.15);
    color: var(--primary);
}

.feedback-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.feedback-link:hover {
    text-decoration: underline;
}

/* ===== 모달 ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

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

.modal {
    background: var(--white);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray);
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--dark);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--bg-light);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* 수업 상세 모달 */
.class-detail-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-light);
}

.class-detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    width: 100px;
    font-weight: 500;
    color: var(--gray);
    font-size: 14px;
}

.detail-value {
    flex: 1;
    font-size: 14px;
}

.feedback-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: var(--gold);
}

.rating-text {
    font-weight: 600;
    color: var(--primary);
}

.feedback-text {
    background: var(--bg-light);
    padding: 16px;
    border-radius: 8px;
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.6;
}

/* 취소 모달 */
.cancel-warning {
    background: rgba(231, 76, 60, 0.1);
    border-left: 4px solid var(--danger);
    padding: 16px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
}

.cancel-warning h4 {
    color: var(--danger);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cancel-warning p {
    font-size: 14px;
    color: var(--gray);
}

.cancel-info {
    background: var(--bg-light);
    padding: 16px;
    border-radius: 8px;
}

.cancel-info-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

/* 보강 예약 모달 */
.makeup-info {
    background: rgba(108, 92, 231, 0.1);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.makeup-info i {
    font-size: 24px;
    color: var(--primary);
}

.makeup-info-text h4 {
    font-size: 14px;
    font-weight: 600;
}

.makeup-info-text p {
    font-size: 12px;
    color: var(--gray);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.form-hint {
    font-size: 12px;
    color: var(--gray);
    margin-top: 6px;
}

/* ===== 푸터 ===== */
.footer {
    background: var(--dark);
    color: var(--light-gray);
    padding: 24px 0;
    margin-top: 40px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

/* ===== 모바일 사이드바 토글 ===== */
.sidebar-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 999;
}

/* ===== 반응형 ===== */
@media (max-width: 1200px) {
    .dashboard-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .mypage-container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 100vh;
        background: var(--bg-light);
        padding: 20px;
        z-index: 1500;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    
    .sidebar.active {
        display: flex;
        transform: translateX(0);
    }
    
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1400;
    }
    
    .sidebar-overlay.active {
        display: block;
    }
    
    .sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .calendar-header {
        flex-direction: column;
        gap: 16px;
    }
    
    .calendar-legend {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .dashboard-cards {
        grid-template-columns: 1fr 1fr;
    }
    
    .dash-card {
        padding: 16px;
    }
    
    .dash-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .dash-value {
        font-size: 20px;
    }
    
    .calendar-day {
        min-height: 60px;
        padding: 4px;
    }
    
    .day-number {
        font-size: 12px;
    }
    
    .day-event {
        font-size: 8px;
        padding: 1px 4px;
    }
    
    .today-class-card {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .class-time-info {
        flex-direction: column;
    }
    
    .class-divider {
        width: 50px;
        height: 1px;
    }
    
    .class-actions {
        width: 100%;
        justify-content: center;
    }
    
    .class-table {
        display: block;
        overflow-x: auto;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header-top {
        display: none;
    }
    
    .page-banner {
        padding: 24px 0;
    }
    
    .page-banner h1 {
        font-size: 22px;
    }
    
    .dashboard-cards {
        grid-template-columns: 1fr;
    }
    
    .calendar-section,
    .today-class-section,
    .recent-classes-section {
        padding: 16px;
    }
    
    .calendar-title h2 {
        font-size: 16px;
    }
    
    .modal {
        width: 95%;
        margin: 16px;
    }
}

/* 모바일 네비게이션 */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 2000;
    padding: 80px 24px 24px;
    transform: translateX(100%);
    transition: transform 0.3s;
}

.mobile-nav.active {
    display: block;
    transform: translateX(0);
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--dark);
    cursor: pointer;
}

.mobile-nav a {
    display: block;
    padding: 16px 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--dark);
    text-decoration: none;
    border-bottom: 1px solid var(--bg-light);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--primary);
}
