.section__wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
/* 섹션 스타일 */
.section { margin-bottom: 20px; padding: 20px; border-radius: 10px; background-color: #ffffff; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); }
.section h3 { 
    font-size: 1.5em; 
    margin-bottom: 15px; 
    color: #333; 
    font-weight: bold;
}

/* 입력 그룹 스타일 */
.class-input-group { 
    position: relative;
    margin-bottom: 20px; 
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    flex-direction: column;
    width: 100%;
}

/* .class-input-group label { font-size: 0.9em; font-weight: bold; color: #666; position: absolute; top: -8px; left: 12px; background: #f8f9fa; padding: 0 5px; } */
.class-input-group, .select-style, .input-field { display: inline-block; margin-right: 10px; }
.class-input-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.class-input-row label {
    display: block; font-size: 0.8em; color: #000; margin-top: 4px; margin-left: 4px;
}
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 1px; /* 체크박스와 레이블 간격 */
}
.class-input-row input[type="checkbox"] {
    margin-left: 10px;
    transform: scale(1.2);
    cursor: pointer;
}
/* 입력 필드 스타일 */
.input-field { 
    width: 100%; 
    padding: 18px 12px; 
    font-size: 1em; 
    color: #333;
    background-color: #f0f1f5; 
    border: 1px solid #d1d3d8; 
    border-radius: 8px;
    outline: none; 
    transition: border-color 0.3s;
}
.input-field_time { 
    width: 100%;
    padding: 18px 12px; 
    font-size: 1em; 
    color: #333;
    background-color: #f0f1f5; 
    border: 1px solid #d1d3d8; 
    border-radius: 8px;
    outline: none; 
    transition: border-color 0.3s;
    margin: 5px;
}
.input-field:focus, .input-field_time:focus { border-color: #5a67d8; }

.address-search-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.address-search-container label {
    font-size: 16px;
    margin-bottom: 10px;
    display: block;
}
.search-button {
    padding: 10px 20px;
    font-size: 14px;
    color: #fff;
    background-color: #5cb85c;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.result-field {
    margin-top: 10px;
    padding: 10px;
    font-size: 14px;
    background-color: #e9e9e9;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.start_end_time {
    position: relative;
    display: flex;
    width: 100%;
}

/* 서브 라벨 스타일 */
.sub-label { 
    display: block; 
    font-size: 14px;
    line-height: 18px;
    font-weight: bold;
    color: #000; 
    margin-top: 4px; 
    margin-left: 8px; 
    margin-bottom: 4px; 
}



/* 드롭다운 및 라디오 스타일 */
select { appearance: none;} 
input[type="time"] { appearance: none;}
.select-style, .radio-style {
    padding: 15px 12px; border: 1px solid #d1d3d8; border-radius: 8px; background-color: #f0f1f5; 
    color: #333; cursor: pointer; transition: border-color 0.3s; width: 100%; 
}
.select_time-style{
    padding: 15px 12px; border: 1px solid #d1d3d8; border-radius: 8px; background-color: #f0f1f5; 
    color: #333; cursor: pointer; transition: border-color 0.3s; width: 100%; margin: 5px;
}
.select-style:focus, .radio-style:focus, .select_time-style:focus { border-color: #5a67d8; }

/* 버튼 스타일 */
.button-row { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }
button { padding: 12px 24px; font-size: 1em; color: #fff; background-color: #5a67d8; border: none; border-radius: 8px; cursor: pointer; transition: background-color 0.3s; }
button:hover { background-color: #434e9e; }

/* 추가 시간 입력 버튼 */
.add-button { font-size: 0.9em; color: #ffffff; cursor: pointer; }
.time-list { margin-top: 10px; list-style: none; padding: 0; }
.time-list li { margin: 5px 0; padding: 5px; border: 1px solid #ccc; background-color: #f9f9f9; border-radius: 5px; display: flex; justify-content: space-between; align-items:center; }
.remove-button { color: red; cursor: pointer; border: none; background: none; width: 40%; }



/* 진행 상태 표시 바 */
.progress-bar {
    height: 10px;
    background: #e0e0e0 !important;
    position: relative;
    border-radius: 5px;
    margin-bottom: 20px;
}

.progress {
    height: 100%;
    width: 0;
    background: #434e9e !important;
    border-radius: 5px;
    transition: width 0.3s ease;
}

/* 슬라이드 전환 효과 */
.step {
    display: none;
}

.step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 버튼 스타일 */
button {
    padding: 10px 20px;
    background-color: #4caf50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.button-group {
    display: flex;
    justify-self: end;
    gap:10px;
    width: 100%;
}

.next-button, .prev-button, .submit-button{
    width: 100%;
}

.student-form {
    border: 1px solid #ccc; /* 경계선 */
    border-radius: 8px; /* 둥근 모서리 */
    padding: 16px; /* 내부 여백 */
    margin-bottom: 20px; /* 폼 간격 */
    background-color: #f9f9f9; /* 배경색 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 박스 그림자 */
}
.student-form h4 {
    margin-top: 0; /* 제목 위쪽 여백 제거 */
    margin-bottom: 16px; /* 제목과 내용 간격 */
    font-size: 1.2em; /* 글씨 크기 */
    color: #333; /* 글씨 색 */
    font-weight: 800;
}
.helper-text {
    font-size: 0.85em;
    color: #666;
    margin-top: 4px;
    margin-left: 8px;
    display: block;
}

.error-message {
    color: red;
    font-size: 0.9em;
    margin-top: 10px;
}
.time_select{
    position: relative;
    display: flex;
    width: 100%;
}
.time_select span {
    vertical-align: middle; /* 텍스트 수직 정렬 */
    align-self: center; /* 부모 flex 컨테이너 기준 중앙 */
    margin-left: 5px; /* 간격 조정 */
    margin-right: 5px;
    white-space: nowrap;
}





/* 음표 위아래로 튕기는 애니메이션 */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 768px) {
    .time_select {
        flex-direction: column; /* 모바일에서는 세로 정렬 */
        align-items: stretch; /* 자식들 너비를 꽉 채우기 */
    }
    .time_select span {
        align-self: flex-end; /* 부모 flex 컨테이너 기준 중앙 */
    }

    .add-button {
        width: 100%; /* 모바일에서 버튼 너비 100% */
    }
    .section h3 {
        font-size: 1.2em;
    }
    .class-input-group {
        margin-bottom: 10px;
    }
    .select-style, .radio-style {
        padding: 10px 10px;
    }
    .input-field, .select_time-style {
        padding: 10px 10px;
    }
}