/* 사용자 입력 */
.user-input {
    margin-bottom: 20px;
    padding: 20px;
    background: var(--bg-container);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
}
.input-title { display: block; font-size: 1.2em; font-weight: bold; color: var(--text-main); margin-bottom: 15px; }
.input-wrapper { display: flex; align-items: center; justify-content: center; gap: 10px; }
label { font-size: 0.95em; color: #666; }
input {
    padding: 10px 15px; border: 2px solid #4A90E2; border-radius: 8px;
    width: 70px; font-size: 1.1em; font-weight: bold; color: #4A90E2;
    outline: none; transition: all 0.2s;
}
input:focus { box-shadow: 0 0 8px rgba(74, 144, 226, 0.3); background-color: #f0f7ff; }

/* 학생 정보 */
.student-info { margin-bottom: 15px; font-weight: bold; color: #4A90E2; text-align: center; font-size: 1.1em; height: 1.2em; }

/* 시간표 테이블 */
.timetable { margin-top: 10px; margin-bottom: 50px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 400px; background: var(--bg-container); table-layout: fixed; }
th, td { 
    border: 1px solid var(--border-color); padding: 8px 2px; text-align: center; 
    vertical-align: middle; word-break: keep-all; font-size: 0.9em; line-height: 1.3;
}
th { background-color: var(--table-header); color: white; height: 35px; }
td { height: 65px; }
tr:nth-child(even) { background-color: var(--table-even); }
th:first-child, td:first-child { 
    width: 45px; background-color: var(--table-even); color: var(--text-main); 
    font-weight: bold; font-size: 0.85em;
}
.sub-info { font-size: 0.85em; color: #666; display: block; }

@media screen and (max-width: 600px) {
    .user-input { padding: 15px; }
    th, td { font-size: 0.75em; padding: 5px 1px; }
    th:first-child, td:first-child { width: 40px; }
    .sub-info { font-size: 0.8em; margin-top: 2px; }
}