/* style.css */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

body { 
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif; 
    background: #f0f2f5; 
    margin: 0; 
    padding: 15px;
    line-height: 1.6;
    letter-spacing: -0.5px;
    word-break: keep-all;
    -webkit-text-size-adjust: none; /* 브라우저 임의 텍스트 크기 조절 방지 */
}

.res-container { 
    max-width: 500px; 
    margin: 0 auto; 
    background: #fff; 
    border-radius: 20px; 
    box-shadow: 0 8px 25px rgba(0,0,0,0.08); 
    overflow: hidden; 
}

/* 상단 헤더 */
.header { 
    background: #28a745; 
    color: white; 
    padding: 25px 20px; 
    text-align: center; 
}
.header h1 { margin: 0; font-size: 28px; font-weight: 800; }
.header p { margin: 8px 0 0; font-size: 19px; font-weight: 500; opacity: 0.95; }

/* 본문 영역 */
.content { padding: 25px 20px; }

/* 섹션 타이틀 (아이콘 스타일링) */
.section-title { 
    font-size: 22px; 
    font-weight: 700; 
    margin: 30px 0 15px; 
    color: #111; 
    display: flex;
    align-items: center;
}
.section-title span { 
    display: inline-block;
    width: 8px;
    height: 24px;
    background: #28a745;
    margin-right: 12px;
    border-radius: 4px;
}

/* 선택 버튼 그룹 */
.btn-group { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 12px; 
}
.btn-group.pax { 
    grid-template-columns: repeat(4, 1fr); 
}

.btn-group input[type="radio"] { display: none; }

.btn-group label { 
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff; 
    border: 3px solid #e0e0e0; /* 테두리 더 두껍게 */
    border-radius: 15px; 
    height: 70px; 
    cursor: pointer; 
    font-size: 21px; /* 폰트 키움 */
    font-weight: 700; 
    color: #444; 
    transition: all 0.2s ease;
}

/* 체크된 상태: 고대비 색상 적용 */
.btn-group input[type="radio"]:checked + label { 
    background: #28a745; 
    color: #ffffff; 
    border-color: #218838; 
    box-shadow: 0 4px 15px rgba(40,167,69,0.3);
}

/* 하단 버튼 */
.submit-area { margin: 40px 0 10px; }
.find-btn { 
	display: block;        /* a 태그인 경우 block으로 설정 */
    width: 100%;           /* 이제 패딩을 포함해서 100%가 됩니다 */
    box-sizing: border-box; /* 패딩이 안쪽으로 계산되도록 설정 */

    background: #007bff; 
    color: white; 
    border: none; 
    padding: 25px;
    border-radius: 18px; 
    font-size: 26px; 
    font-weight: 800; 
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,123,255,0.3);
}
.find-btn:active { background: #0056b3; transform: scale(0.97); }

/* 결과 리스트용 추가 스타일 (미리 준비) */
.time-card {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    border: 3px solid #eee;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}