/* 체크박스 숨기기 */
input[type="checkbox"] {
    display: none;
}

/* 라벨을 버튼처럼 스타일링 */
label {
    display: inline-block;
    padding: 10px 20px;
    margin: 4px;
    border: 2px solid #007bff;
    border-radius: 6px;
    cursor: pointer;
    background-color: #f0f8ff;
    font-size: 14px;
    font-weight: bold;
    color: #007bff;
    text-align: center;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
    min-width: 100px;
}

/* 선택된 버튼 스타일 */
input[type="checkbox"]:checked + label {
    background-color: #007bff;
    color: white;
    border-color: #0056b3;
    transform: scale(1.03);
}

/* 호버 효과 */
label:hover {
    background-color: #cce5ff;
    color: #0056b3;
}

/* 버튼을 정렬하기 위한 컨테이너 */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* 직접 입력 텍스트 박스 크기 조정 */
.custom-input-wrapper input[type="text"] {
    width: 120px;
    height: 22px;
    padding: 8px;
    font-size: 14px;
    text-align: center;
}

/* 직접 입력 체크박스 선택 시 입력란 활성화 */
input[type="checkbox"]:checked + label + input[type="text"] {
    border: 2px solid #007bff;
    background-color: #e6f2ff;
}


#submitButton {
    display: block;
    width: 100%; /* 화면 너비에 맞게 조절 */
    max-width: 300px; /* 버튼이 너무 커지지 않도록 */
    padding: 15px 20px; /* 버튼 크기 키우기 */
    margin: 20px auto; /* 가운데 정렬 */
    font-size: 18px; /* 폰트 크기 키우기 */
    font-weight: bold;
    text-align: center;
    color: white;
    background-color: #007bff; /* 기본 색상 */
    border: none;
    border-radius: 8px; /* 둥근 모서리 */
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 버튼에 그림자 추가 */
}

/* 호버 효과 */
#submitButton:hover {
    background-color: #0056b3; /* 어두운 파란색 */
    transform: scale(1.05); /* 살짝 확대 */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* 그림자 강조 */
}

/* 버튼을 눌렀을 때 */
#submitButton:active {
    background-color: #004099;
    transform: scale(0.98); /* 살짝 줄어듦 */
}

#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex; /* 처음부터 유지 */
    align-items: center;
    justify-content: center;
    z-index: 1000;
    min-height: 100vh;
    opacity: 0; /* 처음에는 숨김 */
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}


#loadingMessage {
    font-size: 20px;
    font-weight: bold;
    color: white;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 90%;
    min-width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hidden {
    display: none;
}

input, textarea, select {
    font-size: 16px;
}

input[type="text"] {
    font-size: 30px;
}


