/**
 * SK 멘토 가이드 - 메인 스타일시트 (모바일 최적화 개선)
 * @version 2.1.0
 * 글래스모피즘 + SK 브랜드 컬러 + 모던 애니메이션 + 모바일 최적화
 */

/* ===================================================================
   SK 브랜드 컬러 변수
   =================================================================== */
   :root {
    /* SK 브랜드 컬러 */
    --sk-red: #EA1917;
    --sk-orange: #FF6B35;
    --sk-red-light: #FF4444;
    --sk-red-dark: #CC1515;
    
    /* 그레이 시스템 */
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    
    /* 시스템 컬러 */
    --success: #4CAF50;
    --warning: #FF9800;
    --error: #F44336;
    --info: #2196F3;
}

/* ===================================================================
   기본 리셋 및 전역 스타일
   =================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
    color: #202124;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 100px; /* 하단 네비게이션 공간 확보 */
}

/* ===================================================================
   헤더 - 모던 그라데이션 (모바일 최적화)
   =================================================================== */
.header {
    background: linear-gradient(135deg, var(--sk-orange) 0%, var(--sk-red) 100%);
    color: white;
    text-align: center;
    padding: 32px 20px; /* 40px → 32px 패딩 조정 */
    border-radius: 20px;
    margin-bottom: 24px; /* 32px → 24px 마진 조정 */
    box-shadow: 0 10px 40px rgba(234, 25, 23, 0.2);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.header h1 {
    font-weight: 700;
    font-size: 28px;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.subtitle {
    font-size: 16px;
    opacity: 0.95;
    margin-top: 8px;
    font-weight: 400;
}

/* ===================================================================
   섹션 - 글래스 효과 (모바일 최적화)
   =================================================================== */
.section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 20px; /* 24px → 20px 마진 조정 */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.section h2 {
    color: var(--sk-red);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-description {
    color: var(--gray-600);
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* ===================================================================
   멘토 가이드라인 섹션
   =================================================================== */
.mentor-guidelines-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 20px; /* 24px → 20px */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.guidelines-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.guidelines-toggle:hover {
    border-bottom-color: var(--sk-red);
}

.guidelines-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--sk-red);
    display: flex;
    align-items: center;
    gap: 12px;
}

.toggle-icon {
    font-size: 24px;
    color: var(--sk-red);
    transition: transform 0.3s ease;
}

.guidelines-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-top: 20px;
}

.guidelines-content.expanded {
    max-height: 1000px;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 16px;
}

.guidelines-column {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.guidelines-column.do {
    border-left: 4px solid var(--success);
}

.guidelines-column.dont {
    border-left: 4px solid var(--sk-red);
}

.guidelines-column h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guidelines-column.do h3 {
    color: var(--success);
}

.guidelines-column.dont h3 {
    color: var(--sk-red);
}

.guideline-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.guideline-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.guideline-bullet {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: white;
}

.guidelines-column.do .guideline-bullet {
    background: var(--success);
}

.guidelines-column.dont .guideline-bullet {
    background: var(--sk-red);
}

.guideline-text {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    font-weight: 500;
}

/* ===================================================================
   데일리 태스크 섹션
   =================================================================== */
.daily-tasks-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 20px; /* 24px → 20px */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.tasks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px; /* 24px → 20px */
}

/* 태스크 카드 - 모던 스타일 */
.task-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 24px;
    border-left: 4px solid var(--sk-red);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.task-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(234, 25, 23, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.task-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-900);
}

.task-status {
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: #e65100;
    border: 1px solid #ffcc02;
}

.status-complete {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    color: #1b5e20;
    border: 1px solid #4caf50;
}

.status-partial {
    background: linear-gradient(135deg, #fff5f5, #ffebee);
    color: var(--sk-red);
    border: 1px solid var(--sk-red-light);
}

.task-progress {
    background: var(--gray-200);
    height: 6px;
    border-radius: 6px;
    margin: 16px 0;
    overflow: hidden;
}

.task-progress-bar {
    background: linear-gradient(90deg, var(--sk-red), var(--sk-red-light));
    height: 100%;
    border-radius: 6px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(234, 25, 23, 0.3);
}

.task-details {
    color: var(--gray-600);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.task-actions {
    display: flex;
    gap: 12px;
}

.task-button,
.btn-primary {
    background: linear-gradient(135deg, var(--sk-red), var(--sk-red-light));
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(234, 25, 23, 0.3);
}

.task-button:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(234, 25, 23, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 출석체크 카드 전용 스타일 - 컴팩트 디자인 */
.attendance-morning,
.attendance-afternoon {
    /* 기본 태스크 카드보다 작게 */
}

.attendance-morning .task-details,
.attendance-afternoon .task-details {
    margin-bottom: 12px; /* 20px → 12px */
    font-size: 13px; /* 14px → 13px */
}

.attendance-morning .task-progress,
.attendance-afternoon .task-progress {
    margin: 8px 0; /* 16px 0 → 8px 0 */
    height: 4px; /* 6px → 4px */
}

.attendance-morning .task-actions,
.attendance-afternoon .task-actions {
    gap: 8px; /* 12px → 8px */
}

.attendance-morning .task-button,
.attendance-afternoon .task-button {
    padding: 8px 14px; /* 12px 20px → 8px 14px */
    font-size: 13px; /* 14px → 13px */
}

/* 면담 카드 전용 스타일 */
.interview-card {
    grid-column: 1 / -1;
}

.interview-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 1X4 그리드로 변경 */
    gap: 16px;
    margin: 16px 0;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 16px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--sk-red);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 데일리 요약 */
.daily-summary {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px; /* 24px → 20px */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border-left: 4px solid var(--sk-red);
}

.summary-icon {
    font-size: 24px;
}

.summary-content {
    flex: 1;
}

.summary-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.summary-status {
    font-size: 14px;
    color: #666;
}

/* ===================================================================
   일정 섹션 (HTML에서 가져온 스타일 포함)
   =================================================================== */
.schedule-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 20px; /* 24px → 20px */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.schedule-actions {
    display: flex;
    gap: 8px;
}

.btn-refresh-schedule,
.btn-full-schedule {
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-refresh-schedule {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
}

.btn-refresh-schedule:hover {
    background: linear-gradient(135deg, #45a049, #5cb85c);
    transform: translateY(-1px);
}

.btn-full-schedule:hover {
    background: linear-gradient(135deg, #1565c0, #1e88e5);
    transform: translateY(-1px);
}

.btn-refresh-schedule:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* 로딩 스타일 */
.schedule-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    color: #666;
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #1976d2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 12px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.schedule-today {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
}

.today-date {
    font-size: 18px;
    font-weight: 600;
    color: #1976d2;
    margin-bottom: 16px;
}

/* 일정 아이템 스타일 - 호버 효과 개선 */
.schedule-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    border-left: 4px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* 멘토 진행/필수 참관 프로그램에만 효과 적용 */
.schedule-item.mentor-program{
    background: linear-gradient(135deg, #e3f2fd, #f8f9ff);
    border-left-color: #1976d2;
}

/* 휴식시간은 호버 효과 제거 */
.schedule-item.lunch-break,
.schedule-item.dinner-break {
    background: linear-gradient(135deg, #fff8e1, #f3e5ab);
    border-left-color: #ffa726;
}

.schedule-time {
    font-weight: 600;
    color: #1976d2;
    min-width: 60px;
    font-size: 14px;
    background: #e3f2fd;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
}

.schedule-content {
    flex: 1;
}

.schedule-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 16px;
    color: #202124;
}

.schedule-location {
    color: #666;
    font-size: 14px;
}

.schedule-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.badge-lead {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
}

.badge-required {
    background: #fff3e0;
    color: #f57c00;
    border: 1px solid #ffcc02;
}

.badge-optional {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #e0e0e0;
}

.badge-break {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffb74d;
}

/* ===================================================================
   전체 일정 모달 (HTML에서 가져온 스타일)
   =================================================================== */
.full-timetable-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 1000px;
    height: 85%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h2 {
    color: #1976d2;
    font-size: 20px;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 4px;
}

.modal-filters {
    display: flex;
    gap: 12px;
    padding: 16px 24px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-filters select {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    cursor: pointer;
}

.timetable-container {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.week-section {
    margin-bottom: 32px;
}

.week-title {
    text-align: center;
    margin-bottom: 20px;
    padding: 12px;
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    border-radius: 8px;
}

.week-title h3 {
    color: #1976d2;
    margin: 0;
    font-size: 16px;
}

.day-schedule {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.day-header {
    font-size: 16px;
    font-weight: 600;
    color: #1976d2;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.day-timeline {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    background: white;
    border-radius: 6px;
    border-left: 3px solid #e0e0e0;
    font-size: 14px;
}

.timeline-item.mentor {
    border-left-color: #1976d2;
    background: linear-gradient(135deg, #e3f2fd, #f8f9ff);
}

.timeline-item.break {
    border-left-color: #ffa726;
    background: linear-gradient(135deg, #fff8e1, #fffde7);
}

.timeline-item .time {
    font-weight: 600;
    color: #1976d2;
    min-width: 60px;
}

.timeline-item .content {
    flex: 1;
}

.timeline-item .title {
    font-weight: 600;
    margin-bottom: 2px;
}

.timeline-item .location {
    font-size: 12px;
    color: #666;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.schedule-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.legend-color.mentor {
    background: #1976d2;
}

.legend-color.optional {
    background: #e0e0e0;
}

.legend-color.break {
    background: #ffa726;
}

.data-info {
    text-align: center;
    font-size: 11px;
    color: #666;
}

/* ===================================================================
   멘토 프로그램 섹션
   =================================================================== */
.mentor-program-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 20px; /* 24px → 20px */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.mentor-programs-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mentor-program-card {
    background: linear-gradient(135deg, #e8f5e8, #f1f8e9);
    border: 2px solid #4caf50;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.mentor-program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(76, 175, 80, 0.3);
}

.program-title {
    font-size: 24px;
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 12px;
}

.program-time-location {
    font-size: 16px;
    color: #4caf50;
    margin-bottom: 20px;
}

.program-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-guide,
.btn-checklist {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-guide {
    background: #4caf50;
    color: white;
}

.btn-guide:hover {
    background: #388e3c;
    transform: translateY(-1px);
}

.btn-checklist {
    background: white;
    color: #4caf50;
    border: 2px solid #4caf50;
    cursor: pointer;
}

.btn-checklist:hover {
    background: #4caf50;
    color: white;
}

/* ===================================================================
   프로그램 카드 - 모던 스타일
   =================================================================== */
.quick-access-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 20px; /* 24px → 20px */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px; /* 24px → 20px */
}

.program-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(234, 25, 23, 0.3);
}

.program-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.program-icon {
    font-size: 28px;
}

.program-card h3 {
    color: var(--sk-red);
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.program-card p {
    color: var(--gray-600);
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* ===================================================================
   퀵 액션
   =================================================================== */
.quick-actions-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 20px; /* 24px → 20px */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.quick-action {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.quick-action:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.quick-action-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.quick-action-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--sk-red);
}

.quick-action-desc {
    font-size: 14px;
    color: var(--gray-600);
}

/* ===================================================================
   핵심 원칙
   =================================================================== */
.principles-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 20px; /* 24px → 20px */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.principle-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin-bottom: 12px;
    border-left: 4px solid var(--sk-red);
    transition: all 0.3s ease;
}

.principle-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.principle-number {
    background: var(--sk-red);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}

.principle-text {
    flex: 1;
    font-weight: 500;
}

/* ===================================================================
   연락처
   =================================================================== */
.contact-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 20px; /* 24px → 20px */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border-left: 4px solid var(--sk-red);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 32px;
}

.contact-info h4 {
    font-weight: 600;
    margin-bottom: 4px;
}

/* ===================================================================
   푸시 알림 권한 요청 배너 (HTML에서 가져온 스타일)
   =================================================================== */
.notification-permission-banner {
    background: linear-gradient(135deg, #E31837, #ff4569);
    color: white;
    padding: 16px 20px;
    margin-bottom: 16px; /* 20px → 16px */
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 20px rgba(227, 24, 55, 0.3);
    animation: slideDown 0.5s ease-out;
    position: relative; 
}

.permission-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.permission-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.notification-permission-banner.hidden {
    display: none;
}

.permission-icon {
    font-size: 32px;
    animation: pulse 2s infinite;
}

.permission-content {
    flex: 1;
}

.permission-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
}

.permission-text {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
}

.permission-actions {
    display: flex;
    gap: 8px;
}

.permission-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.permission-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.permission-btn.primary {
    background: white;
    color: #E31837;
}

.permission-btn.primary:hover {
    background: #f5f5f5;
}

/* 푸시 알림 상태 표시 */
.notification-status {
    display: none;
}

.notification-status.show {
    transform: translateY(0);
}

/* ===================================================================
   하단 네비게이션바
   =================================================================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(234, 67, 53, 0.2);
    padding: 8px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
    position: relative;
    text-decoration: none;
    color: inherit;
    min-width: 60px;
}

.nav-item:hover {
    background: rgba(234, 67, 53, 0.1);
    transform: translateY(-2px);
}

.nav-item.active {
    background: rgba(234, 67, 53, 0.15);
    color: var(--sk-red);
}

.nav-icon {
    font-size: 24px;
    margin-bottom: 4px;
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-icon {
    transform: scale(1.1);
}

.nav-label {
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.nav-badge {
    position: absolute;
    top: 4px;
    right: 8px;
    background: var(--sk-red);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
}

/* ===================================================================
   마이 페이지 모달
   =================================================================== */
.my-page-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.my-page-modal.active {
    opacity: 1;
    visibility: visible;
}

.my-page-modal .modal-content {
    background: white;
    border-radius: 20px;
    padding: 24px;
    max-width: 400px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    position: relative;
}

.my-page-modal.active .modal-content {
    transform: scale(1);
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--sk-red);
    margin-bottom: 8px;
}

.modal-subtitle {
    color: var(--gray-600);
    font-size: 14px;
    margin-bottom: 24px;
}

.my-info-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: 12px;
    border-left: 4px solid var(--info);
}

.info-icon {
    font-size: 24px;
    color: var(--info);
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 12px;
    color: var(--gray-600);
    margin-bottom: 2px;
}

.info-value {
    font-weight: 600;
    color: #333;
}

.modal-actions {
    display: flex;
    gap: 12px;
}

.modal-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn.btn-primary {
    background: var(--info);
    color: white;
}

.modal-btn.btn-primary:hover {
    background: #1976d2;
    transform: translateY(-1px);
}

.modal-btn.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-600);
}

.modal-btn.btn-secondary:hover {
    background: var(--gray-200);
}

/* ===================================================================
   향상된 사이드바
   =================================================================== */
.sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100%;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
    overflow-y: auto;
}

.sidebar.open {
    right: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-header {
    background: linear-gradient(135deg, var(--sk-red), var(--info));
    color: white;
    padding: 24px 20px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.sidebar-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.sidebar-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

.sidebar-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.sidebar-content {
    padding: 20px;
}

.sidebar-section {
    margin-bottom: 32px;
}

.sidebar-section-title {
    font-size: 16px; /* 원래 크기 유지 */
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-menu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    margin-bottom: 4px;
}

.sidebar-menu-item:hover {
    background: var(--gray-100);
    transform: translateX(4px);
}

.sidebar-menu-item.featured {
    background: linear-gradient(135deg, var(--sk-red), rgba(234, 67, 53, 0.8));
    color: white;
    margin-bottom: 8px;
}

.sidebar-menu-item.featured:hover {
    background: linear-gradient(135deg, #d73925, var(--sk-red));
    transform: translateX(4px) scale(1.02);
}

.menu-icon {
    font-size: 20px; /* 원래 크기 유지 */
    width: 24px;
    text-align: center;
}

.menu-text {
    flex: 1;
}

.menu-title {
    font-weight: 700; /* 600 → 700으로 강화 */
    margin-bottom: 2px;
    font-size: 15px; /* 원래 크기 유지 */
    font-family: -apple-system, BlinkMacSystemFont, 'Malgun Gothic', '맑은 고딕', sans-serif; /* 한글 폰트 우선 */
}

.menu-desc {
    font-size: 13px; /* 12px → 13px로 증가 */
    opacity: 0.7;
    font-weight: 400;
    font-family: -apple-system, BlinkMacSystemFont, 'Malgun Gothic', '맑은 고딕', sans-serif; /* 한글 폰트 우선 */
}

.menu-arrow {
    font-size: 16px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.sidebar-menu-item:hover .menu-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* ===================================================================
   알림 시스템
   =================================================================== */
.notifications {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 350px;
}

.notification {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: slideInRight 0.3s ease-out;
}

.notification-title {
    font-weight: 600;
    color: var(--sk-red);
    margin-bottom: 4px;
}

.notification-text {
    color: var(--gray-600);
    font-size: 14px;
}

/* ===================================================================
   애니메이션
   =================================================================== */
@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================================================
   반응형 디자인 - 모바일 최적화 강화
   =================================================================== */
@media (max-width: 768px) {
    body {
        padding: 12px; /* 10px → 12px 여백 증가 */
    }
    
    .container {
        padding-bottom: 80px;
    }
    
    .header {
        padding: 20px 16px; /* 30px 20px → 20px 16px */
        margin-bottom: 16px; /* 24px → 16px */
        border-radius: 16px; /* 20px → 16px */
    }
    
    .header h1 {
        font-size: 22px; /* 24px → 22px */
    }
    
    .subtitle {
        font-size: 15px; /* 16px → 15px */
    }
    
    .section {
        padding: 16px; /* 20px → 16px */
        margin-bottom: 16px; /* 20px → 16px */
        border-radius: 16px; /* 20px → 16px */
    }
    
    .section h2 {
        font-size: 18px; /* 22px → 18px */
        margin-bottom: 12px; /* 16px → 12px */
    }
    
    .section-description {
        font-size: 14px; /* 15px → 14px */
        margin-bottom: 16px; /* 24px → 16px */
    }
    
    .tasks-grid {
        grid-template-columns: 1fr 1fr; /* 출석체크 카드를 나란히 배치 */
        gap: 12px; /* 16px → 12px */
    }
    
    .task-card {
        padding: 16px; /* 24px → 16px */
        border-radius: 12px; /* 16px → 12px */
    }
    
    /* 출석체크 카드 모바일 최적화 */
    .attendance-morning,
    .attendance-afternoon {
        padding: 12px; /* 16px → 12px */
    }
    
    .attendance-morning .task-title,
    .attendance-afternoon .task-title {
        font-size: 14px; /* 16px → 14px */
    }
    
    .attendance-morning .task-details,
    .attendance-afternoon .task-details {
        font-size: 12px; /* 13px → 12px */
        margin-bottom: 8px; /* 12px → 8px */
    }
    
    .attendance-morning .task-button,
    .attendance-afternoon .task-button {
        padding: 6px 10px; /* 8px 14px → 6px 10px */
        font-size: 12px; /* 13px → 12px */
        width: 100%;
        text-align: center;
    }
    
    /* 면담 카드는 전체 너비 유지 */
    .interview-card {
        grid-column: 1 / -1;
        padding: 16px;
    }
    
    .task-title {
        font-size: 16px; /* 17px → 16px */
    }
    
    .task-details {
        font-size: 13px; /* 14px → 13px */
        margin-bottom: 16px; /* 20px → 16px */
    }
    
    .task-actions {
        gap: 8px; /* 12px → 8px */
    }
    
    .task-button,
    .btn-primary,
    .btn-secondary {
        padding: 10px 16px; /* 12px 20px → 10px 16px */
        font-size: 13px; /* 14px → 13px */
        border-radius: 8px; /* 10px → 8px */
    }
    
    .daily-summary {
        grid-template-columns: 1fr;
        gap: 12px; /* 16px → 12px */
        margin-top: 16px; /* 20px → 16px */
        padding: 16px; /* 20px → 16px */
    }
    
    .summary-item {
        padding: 10px; /* 12px → 10px */
    }
    
    .summary-title {
        font-size: 14px; /* 기본값 → 14px */
    }
    
    .summary-status {
        font-size: 13px; /* 14px → 13px */
    }
    
    .guidelines-grid {
        grid-template-columns: 1fr;
        gap: 12px; /* 16px → 12px */
    }
    
    .guidelines-column {
        padding: 16px; /* 20px → 16px */
        border-radius: 12px; /* 16px → 12px */
    }
    
    .guidelines-column h3 {
        font-size: 16px; /* 18px → 16px */
        margin-bottom: 12px; /* 16px → 12px */
    }
    
    .guideline-item {
        padding: 10px; /* 12px → 10px */
        margin-bottom: 8px; /* 12px → 8px */
        border-radius: 6px; /* 8px → 6px */
    }
    
    .guideline-text {
        font-size: 13px; /* 14px → 13px */
    }
    
    .guidelines-content.expanded {
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .schedule-header {
        flex-direction: column;
        gap: 8px; /* 12px → 8px */
        align-items: stretch;
    }
    
    .schedule-actions {
        justify-content: center;
        gap: 6px; /* 8px → 6px */
    }
    
    .btn-refresh-schedule,
    .btn-full-schedule {
        padding: 6px 12px; /* 8px 16px → 6px 12px */
        font-size: 13px; /* 14px → 13px */
        border-radius: 6px; /* 8px → 6px */
    }
    
    .schedule-today {
        padding: 16px; /* 20px → 16px */
        border-radius: 10px; /* 12px → 10px */
    }
    
    .today-date {
        font-size: 16px; /* 18px → 16px */
        margin-bottom: 12px; /* 16px → 12px */
    }
    
    .schedule-item {
        padding: 12px; /* 16px → 12px */
        gap: 12px; /* 16px → 12px */
        margin-bottom: 8px; /* 12px → 8px */
        border-radius: 10px; /* 12px → 10px */
    }
    
    .schedule-time {
        font-size: 13px; /* 14px → 13px */
        padding: 6px 10px; /* 8px 12px → 6px 10px */
        min-width: 50px; /* 60px → 50px */
        border-radius: 6px; /* 8px → 6px */
    }
    
    .schedule-title {
        font-size: 15px; /* 16px → 15px */
    }
    
    .schedule-location {
        font-size: 13px; /* 14px → 13px */
    }
    
    .schedule-badge {
        padding: 4px 8px; /* 6px 12px → 4px 8px */
        font-size: 11px; /* 12px → 11px */
        border-radius: 16px; /* 20px → 16px */
    }
    
    .modal-content {
        width: 95%;
        height: 90%;
    }
    
    .modal-filters {
        flex-direction: column;
        gap: 8px; /* 12px → 8px */
        padding: 12px 16px; /* 16px 24px → 12px 16px */
    }
    
    .modal-filters select {
        padding: 6px 10px; /* 8px 12px → 6px 10px */
        font-size: 14px;
        border-radius: 4px; /* 6px → 4px */
    }
    
    .timetable-container {
        padding: 16px; /* 24px → 16px */
    }
    
    .week-section {
        margin-bottom: 20px; /* 32px → 20px */
    }
    
    .week-title {
        margin-bottom: 12px; /* 20px → 12px */
        padding: 8px; /* 12px → 8px */
        border-radius: 6px; /* 8px → 6px */
    }
    
    .week-title h3 {
        font-size: 14px; /* 16px → 14px */
    }
    
    .day-schedule {
        padding: 12px; /* 16px → 12px */
        margin-bottom: 12px; /* 16px → 12px */
        border-radius: 6px; /* 8px → 6px */
    }
    
    .day-header {
        font-size: 14px; /* 16px → 14px */
        margin-bottom: 8px; /* 12px → 8px */
        padding-bottom: 6px; /* 8px → 6px */
    }
    
    .timeline-item {
        padding: 6px; /* 8px → 6px */
        gap: 8px; /* 12px → 8px */
        font-size: 13px; /* 14px → 13px */
        border-radius: 4px; /* 6px → 4px */
    }
    
    .timeline-item .time {
        min-width: 50px; /* 60px → 50px */
        font-size: 13px;
    }
    
    .timeline-item .title {
        font-size: 13px;
    }
    
    .timeline-item .location {
        font-size: 11px; /* 12px → 11px */
    }
    
    .schedule-legend {
        flex-direction: column;
        gap: 4px; /* 8px → 4px */
    }
    
    .legend-item {
        font-size: 11px; /* 12px → 11px */
    }
    
    .data-info {
        font-size: 10px; /* 11px → 10px */
    }
    
    .program-grid {
        grid-template-columns: 1fr;
        gap: 12px; /* 16px → 12px */
    }
    
    .program-card {
        padding: 16px; /* 24px → 16px */
        border-radius: 12px; /* 16px → 12px */
    }
    
    .program-card h3 {
        font-size: 16px; /* 18px → 16px */
    }
    
    .program-card p {
        font-size: 13px; /* 14px → 13px */
    }
    
    .program-card-header {
        gap: 12px; /* 16px → 12px */
        margin-bottom: 12px; /* 16px → 12px */
    }
    
    .program-icon {
        font-size: 24px; /* 28px → 24px */
    }
    
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px; /* 16px → 12px */
    }
    
    .quick-action {
        padding: 16px; /* 20px → 16px */
        border-radius: 10px; /* 12px → 10px */
    }
    
    .quick-action-icon {
        font-size: 28px; /* 32px → 28px */
        margin-bottom: 8px; /* 12px → 8px */
    }
    
    .quick-action-title {
        font-size: 14px;
        margin-bottom: 6px; /* 8px → 6px */
    }
    
    .quick-action-desc {
        font-size: 13px; /* 14px → 13px */
    }
    
    .principle-item {
        padding: 12px; /* 16px → 12px */
        gap: 12px; /* 16px → 12px */
        margin-bottom: 8px; /* 12px → 8px */
        border-radius: 10px; /* 12px → 10px */
    }
    
    .principle-number {
        width: 32px; /* 40px → 32px */
        height: 32px; /* 40px → 32px */
        font-size: 16px; /* 18px → 16px */
    }
    
    .principle-text {
        font-size: 14px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 12px; /* 16px → 12px */
    }
    
    .contact-item {
        padding: 12px; /* 16px → 12px */
        gap: 12px; /* 16px → 12px */
        border-radius: 10px; /* 12px → 10px */
    }
    
    .contact-icon {
        font-size: 28px; /* 32px → 28px */
    }
    
    .contact-info h4 {
        font-size: 14px;
    }
    
    .sidebar {
        width: 100%;
        right: -100%;
    }
    
    .sidebar-header {
        padding: 16px; /* 24px 20px → 16px */
    }
    
    .sidebar-title {
        font-size: 18px; /* 20px → 18px */
    }
    
    .sidebar-subtitle {
        font-size: 13px; /* 14px → 13px */
    }
    
    .sidebar-content {
        padding: 16px; /* 20px → 16px */
    }
    
    .sidebar-section {
        margin-bottom: 24px; /* 32px → 24px */
    }
    
    .sidebar-section-title {
        font-size: 15px; /* 16px → 15px */
        margin-bottom: 12px; /* 16px → 12px */
    }
    
    .sidebar-menu-item {
        padding: 10px 12px; /* 12px 16px → 10px 12px */
        gap: 12px; /* 16px → 12px */
        border-radius: 10px; /* 12px → 10px */
    }
    
    .menu-icon {
        font-size: 18px; /* 20px → 18px */
    }
    
    .menu-title {
        font-size: 14px;
    }
    
    .menu-desc {
        font-size: 11px; /* 12px → 11px */
    }
    
    .nav-label {
        font-size: 10px; /* 11px → 10px */
    }
    
    .nav-icon {
        font-size: 22px; /* 24px → 22px */
    }
    
    .nav-item {
        padding: 6px 8px; /* 8px 12px → 6px 8px */
        min-width: 50px; /* 60px → 50px */
    }
    
    .program-buttons {
        flex-direction: column;
        gap: 8px; /* 12px → 8px */
    }
    
    .btn-guide,
    .btn-checklist {
        width: 100%;
        padding: 10px 16px; /* 12px 20px → 10px 16px */
        font-size: 14px;
        border-radius: 6px; /* 8px → 6px */
    }
    
    .mentor-programs-container {
        flex-direction: column;
        gap: 12px; /* 16px → 12px */
    }
    
    .mentor-program-card {
        padding: 16px; /* 24px → 16px */
        border-radius: 12px; /* 16px → 12px */
    }
    
    .program-title {
        font-size: 20px; /* 24px → 20px */
        margin-bottom: 8px; /* 12px → 8px */
    }
    
    .program-time-location {
        font-size: 14px; /* 16px → 14px */
        margin-bottom: 16px; /* 20px → 16px */
    }
    
    .notification-permission-banner {
        padding: 12px 16px; /* 16px 20px → 12px 16px */
        margin-bottom: 12px; /* 16px → 12px */
        gap: 12px; /* 16px → 12px */
        border-radius: 12px; /* 16px → 12px */
    }
    
    .permission-icon {
        font-size: 28px; /* 32px → 28px */
    }
    
    .permission-title {
        font-size: 15px; /* 16px → 15px */
    }
    
    .permission-text {
        font-size: 13px; /* 14px → 13px */
    }
    
    .permission-actions {
        flex-direction: column;
        gap: 6px; /* 8px → 6px */
    }
    
    .permission-btn {
        padding: 6px 12px; /* 8px 16px → 6px 12px */
        font-size: 13px; /* 14px → 13px */
        border-radius: 6px; /* 8px → 6px */
    }
    
    .my-page-modal {
        padding: 12px; /* 20px → 12px */
    }
    
    .my-page-modal .modal-content {
        padding: 16px; /* 24px → 16px */
        border-radius: 16px; /* 20px → 16px */
    }
    
    .modal-title {
        font-size: 18px; /* 20px → 18px */
    }
    
    .modal-subtitle {
        font-size: 13px; /* 14px → 13px */
        margin-bottom: 16px; /* 24px → 16px */
    }
    
    .my-info-grid {
        gap: 12px; /* 16px → 12px */
        margin-bottom: 16px; /* 24px → 16px */
    }
    
    .info-item {
        padding: 12px; /* 16px → 12px */
        gap: 10px; /* 12px → 10px */
        border-radius: 10px; /* 12px → 10px */
    }
    
    .info-icon {
        font-size: 20px; /* 24px → 20px */
    }
    
    .info-label {
        font-size: 11px; /* 12px → 11px */
    }
    
    .info-value {
        font-size: 14px;
    }
    
    .modal-actions {
        gap: 8px; /* 12px → 8px */
    }
    
    .modal-btn {
        padding: 12px; /* 14px → 12px */
        border-radius: 10px; /* 12px → 10px */
        font-size: 14px;
    }
    
    .notifications {
        top: 12px; /* 20px → 12px */
        right: 12px; /* 20px → 12px */
        max-width: 280px; /* 350px → 280px */
    }
    
    .notification {
        padding: 12px; /* 16px → 12px */
        margin-bottom: 8px; /* 12px → 8px */
        border-radius: 10px; /* 12px → 10px */
    }
    
    .notification-title {
        font-size: 14px;
    }
    
    .notification-text {
        font-size: 13px; /* 14px → 13px */
    }
    
    /* 면담 통계 최적화 */
    .interview-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px; /* 16px → 8px */
        margin: 12px 0; /* 16px 0 → 12px 0 */
    }
    
    .stat-item {
        padding: 12px 8px; /* 16px 12px → 12px 8px */
        border-radius: 10px; /* 12px → 10px */
    }
    
    .stat-number {
        font-size: 18px; /* 20px → 18px */
    }
    
    .stat-label {
        font-size: 11px; /* 12px → 11px */
    }
}

@media (min-width: 768px) {
    .mentor-programs-container {
        flex-direction: row;
        gap: 20px;
    }
    
    .mentor-program-card {
        flex: 1;
    }
}

/* 더 작은 모바일 화면 최적화 */
@media (max-width: 480px) {
    body {
        padding: 8px; /* 12px → 8px */
    }
    
    .header {
        padding: 16px 12px; /* 20px 16px → 16px 12px */
        margin-bottom: 12px; /* 16px → 12px */
        border-radius: 12px; /* 16px → 12px */
    }
    
    .header h1 {
        font-size: 18px; /* 22px → 18px */
    }
    
    .subtitle {
        font-size: 13px; /* 15px → 13px */
    }
    
    .section {
        padding: 12px; /* 16px → 12px */
        margin-bottom: 12px; /* 16px → 12px */
        border-radius: 12px; /* 16px → 12px */
    }
    
    .section h2 {
        font-size: 16px; /* 18px → 16px */
        margin-bottom: 10px; /* 12px → 10px */
    }
    
    .section-description {
        font-size: 13px; /* 14px → 13px */
        margin-bottom: 12px; /* 16px → 12px */
    }
    
    .tasks-grid {
        grid-template-columns: 1fr; /* 480px 이하에서는 세로 배치 */
        gap: 8px;
    }
    
    .task-card {
        padding: 12px; /* 16px → 12px */
        border-radius: 10px; /* 12px → 10px */
    }
    
    /* 출석체크 카드 최소 크기 최적화 */
    .attendance-morning,
    .attendance-afternoon {
        padding: 10px; /* 12px → 10px */
    }
    
    .attendance-morning .task-title,
    .attendance-afternoon .task-title {
        font-size: 13px; /* 14px → 13px */
    }
    
    .attendance-morning .task-details,
    .attendance-afternoon .task-details {
        font-size: 11px; /* 12px → 11px */
        margin-bottom: 6px; /* 8px → 6px */
        line-height: 1.3;
    }
    
    .attendance-morning .task-progress,
    .attendance-afternoon .task-progress {
        margin: 4px 0; /* 8px 0 → 4px 0 */
        height: 3px; /* 4px → 3px */
    }
    
    .attendance-morning .task-button,
    .attendance-afternoon .task-button {
        padding: 5px 8px; /* 6px 10px → 5px 8px */
        font-size: 11px; /* 12px → 11px */
        width: 100%;
        text-align: center;
        border-radius: 4px;
    }
    
    .attendance-morning .task-status,
    .attendance-afternoon .task-status {
        padding: 3px 8px; /* 기본값보다 작게 */
        font-size: 10px;
    }
    
    .task-title {
        font-size: 15px; /* 16px → 15px */
    }
    
    .task-details {
        font-size: 12px; /* 13px → 12px */
        margin-bottom: 12px; /* 16px → 12px */
    }
    
    .task-button,
    .btn-primary,
    .btn-secondary {
        padding: 8px 12px; /* 10px 16px → 8px 12px */
        font-size: 12px; /* 13px → 12px */
        border-radius: 6px; /* 8px → 6px */
    }
    
    .daily-summary {
        padding: 12px; /* 16px → 12px */
        margin-top: 12px; /* 16px → 12px */
        gap: 8px; /* 12px → 8px */
        border-radius: 12px; /* 16px → 12px */
    }
    
    .summary-item {
        padding: 8px; /* 10px → 8px */
        border-radius: 6px; /* 8px → 6px */
    }
    
    .summary-icon {
        font-size: 20px; /* 24px → 20px */
    }
    
    .summary-title {
        font-size: 13px; /* 14px → 13px */
    }
    
    .summary-status {
        font-size: 12px; /* 13px → 12px */
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
        gap: 8px; /* 12px → 8px */
    }
    
    .quick-action {
        padding: 12px; /* 16px → 12px */
        border-radius: 8px; /* 10px → 8px */
    }
    
    .quick-action-icon {
        font-size: 24px; /* 28px → 24px */
        margin-bottom: 6px; /* 8px → 6px */
    }
    
    .quick-action-title {
        font-size: 13px; /* 14px → 13px */
        margin-bottom: 4px; /* 6px → 4px */
    }
    
    .quick-action-desc {
        font-size: 12px; /* 13px → 12px */
    }
    
    .principle-item {
        padding: 10px; /* 12px → 10px */
        gap: 10px; /* 12px → 10px */
        margin-bottom: 6px; /* 8px → 6px */
        border-radius: 8px; /* 10px → 8px */
    }
    
    .principle-number {
        width: 28px; /* 32px → 28px */
        height: 28px; /* 32px → 28px */
        font-size: 14px; /* 16px → 14px */
    }
    
    .principle-text {
        font-size: 13px; /* 14px → 13px */
    }
    
    .program-card {
        padding: 12px; /* 16px → 12px */
        border-radius: 10px; /* 12px → 10px */
    }
    
    .program-card h3 {
        font-size: 15px; /* 16px → 15px */
    }
    
    .program-card p {
        font-size: 12px; /* 13px → 12px */
    }
    
    .program-card-header {
        gap: 10px; /* 12px → 10px */
        margin-bottom: 10px; /* 12px → 10px */
    }
    
    .program-icon {
        font-size: 20px; /* 24px → 20px */
    }
    
    .mentor-program-card {
        padding: 12px; /* 16px → 12px */
        border-radius: 10px; /* 12px → 10px */
    }
    
    .program-title {
        font-size: 18px; /* 20px → 18px */
        margin-bottom: 6px; /* 8px → 6px */
    }
    
    .program-time-location {
        font-size: 13px; /* 14px → 13px */
        margin-bottom: 12px; /* 16px → 12px */
    }
    
    .btn-guide,
    .btn-checklist {
        padding: 8px 12px; /* 10px 16px → 8px 12px */
        font-size: 13px; /* 14px → 13px */
        border-radius: 6px;
    }
    
    .schedule-today {
        padding: 12px; /* 16px → 12px */
        border-radius: 8px; /* 10px → 8px */
    }
    
    .today-date {
        font-size: 15px; /* 16px → 15px */
        margin-bottom: 10px; /* 12px → 10px */
    }
    
    .schedule-item {
        padding: 10px; /* 12px → 10px */
        gap: 10px; /* 12px → 10px */
        margin-bottom: 6px; /* 8px → 6px */
        border-radius: 8px; /* 10px → 8px */
    }
    
    .schedule-time {
        font-size: 12px; /* 13px → 12px */
        padding: 4px 8px; /* 6px 10px → 4px 8px */
        min-width: 45px; /* 50px → 45px */
        border-radius: 4px; /* 6px → 4px */
    }
    
    .schedule-title {
        font-size: 14px; /* 15px → 14px */
    }
    
    .schedule-location {
        font-size: 12px; /* 13px → 12px */
    }
    
    .schedule-badge {
        padding: 3px 6px; /* 4px 8px → 3px 6px */
        font-size: 10px; /* 11px → 10px */
        border-radius: 12px; /* 16px → 12px */
    }
    
    .btn-refresh-schedule,
    .btn-full-schedule {
        padding: 5px 10px; /* 6px 12px → 5px 10px */
        font-size: 12px; /* 13px → 12px */
        border-radius: 4px; /* 6px → 4px */
    }
    
    .notification-permission-banner {
        padding: 10px 12px; /* 12px 16px → 10px 12px */
        margin-bottom: 10px; /* 12px → 10px */
        gap: 10px; /* 12px → 10px */
        border-radius: 10px; /* 12px → 10px */
    }
    
    .permission-icon {
        font-size: 24px; /* 28px → 24px */
    }
    
    .permission-title {
        font-size: 14px; /* 15px → 14px */
    }
    
    .permission-text {
        font-size: 12px; /* 13px → 12px */
    }
    
    .permission-btn {
        padding: 5px 10px; /* 6px 12px → 5px 10px */
        font-size: 12px; /* 13px → 12px */
        border-radius: 4px; /* 6px → 4px */
    }
    
    .nav-item {
        padding: 4px 6px; /* 6px 8px → 4px 6px */
        min-width: 45px; /* 50px → 45px */
    }
    
    .nav-icon {
        font-size: 20px; /* 22px → 20px */
        margin-bottom: 2px; /* 4px → 2px */
    }
    
    .nav-label {
        font-size: 9px; /* 10px → 9px */
    }
    
    .nav-badge {
        top: 2px; /* 4px → 2px */
        right: 6px; /* 8px → 6px */
        font-size: 9px; /* 10px → 9px */
        padding: 1px 4px; /* 2px 6px → 1px 4px */
        min-width: 14px; /* 16px → 14px */
    }
    
    .interview-stats {
        grid-template-columns: repeat(4, 1fr); /* 1X4 그리드 유지 */
        gap: 6px; /* 8px → 6px */
        margin: 10px 0; /* 12px 0 → 10px 0 */
    }
    
    .stat-item {
        padding: 8px 4px; /* 10px 6px → 8px 4px */
        border-radius: 8px; /* 10px → 8px */
    }
    
    .stat-number {
        font-size: 14px; /* 16px → 14px */
        margin-bottom: 2px; /* 2px 유지 */
    }
    
    .stat-label {
        font-size: 9px; /* 10px → 9px */
        line-height: 1.2;
    }
}

/* ===================================================================
   스크롤 스타일 - 모바일 최적화
   =================================================================== */
::-webkit-scrollbar {
    width: 6px; /* 8px → 6px */
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px; /* 4px → 3px */
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--sk-red), var(--sk-red-light));
    border-radius: 3px; /* 4px → 3px */
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--sk-red-dark), var(--sk-red));
}

/* ===================================================================
   추가 모바일 터치 최적화
   =================================================================== */
@media (max-width: 768px) {
    /* 터치 타겟 크기 최소 44px 보장 */
    .task-button,
    .btn-primary,
    .btn-secondary,
    .quick-action,
    .nav-item,
    .sidebar-menu-item {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 호버 효과를 터치에서는 제거 */
    @media (hover: none) and (pointer: coarse) {
        .task-card:hover,
        .program-card:hover,
        .quick-action:hover,
        .principle-item:hover,
        .schedule-item:hover {
            transform: none;
            box-shadow: initial;
        }
        
        .task-button:hover,
        .btn-primary:hover,
        .btn-secondary:hover {
            transform: none;
            box-shadow: initial;
        }
    }
    
    /* 포커스 스타일 강화 */
    .task-button:focus,
    .btn-primary:focus,
    .btn-secondary:focus,
    .quick-action:focus,
    .nav-item:focus {
        outline: 2px solid var(--sk-red);
        outline-offset: 2px;
    }
}
