/* css/base.css */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #e0f2f7; /* 밝은 하늘색 배경 (기존 gray-100보다 부드럽게) */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 20px; /* 전체 패딩 */
    color: #333; /* 기본 텍스트 색상 */
    line-height: 1.6;
    margin: 0;
}

h1, h2, h3, h4 {
    color: #2c3e50; /* 진한 파란색 계열 */
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.0rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: .85rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.2rem;
    border-bottom: 2px solid #a7d9f7; /* 기본 팀 타이틀 밑줄 색상 */
    display: inline-block; /* h4가 콘텐츠만큼만 너비를 가지도록 */
    width: 100%; /* 부모 너비에 맞춤 */
}

label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #4a4a4a;
    margin-bottom: 0.4rem;
}

input[type="number"], input[type="text"], select {
    font-size: 0.85rem;
    padding: 0.6rem 0.8rem;
    border: 1px solid #b0bec5;
    border-radius: 8px;
    outline: none;
    transition: all 0.2s ease-in-out;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

input[type="number"], input[type="text"], select {
    display: block;
}

input[type="number"], input[type="text"] {
    display: block;
    width: 80px;
}

select {
    display: block;
    width: 50px;
}





input[type="number"]:focus,
input[type="text"]:focus,
select:focus {
    border-color: #64b5f6; /* 포커스 시 밝은 파란색 */
    box-shadow: 0 0 0 3px rgba(100, 181, 246, 0.3); /* 은은한 아웃라인 */
}

input[type="radio"],
input[type="checkbox"] {
    height: 1.1rem;
    width: 1.1rem;
    accent-color: #2196f3; /* 체크박스/라디오 버튼 색상 */
    border: 1px solid #9e9e9e;
    border-radius: 4px; /* 체크박스 기본값 */
    margin-right: 0.5rem;
}

input[type="radio"] {
    border-radius: 50%; /* 라디오 버튼은 원형 */
}

input[type="radio"]:focus,
input[type="checkbox"]:focus {
    outline: 2px solid #2196f3;
    outline-offset: 1px;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

ol {
    list-style: decimal;
    list-style-position: inside;
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    color: #555;
    margin-top: 0;
}
ol li {
    padding: 0.4rem 0;
    margin-bottom: 0.2rem; /* 목록 항목 간 간격 */
    border-bottom: 1px dashed #e0e0e0;
}
ol li:last-child {
    border-bottom: none;
}


p {
    font-size: 0.85rem;
    color: #777;
    font-style: italic;
    padding: 0.5rem;
}

.input-help-text {
    font-size: 0.75rem;
    color: #777;
    margin-top: 0.25rem;
    margin-bottom: 0;
    padding: 0; /* 기본 p 태그의 패딩 제거 */
    font-style: normal; /* 기본 p 태그의 italic 제거 */
}

/* Common flexbox utilities */
.flex-container {
    display: flex;
    gap: 1rem;
}

/* Hidden Utility */
.hidden {
    display: none !important;
}