/* 기본 설정 */
body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: white;
    line-height: 1.6;
    margin: 0;
}

/* 메인 컨테이너 */
#main-content {
    min-height: calc(100vh - 100px);
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* 페이지 제목 스타일 */
.page-title-box{
    padding: 16px;
    height: 130px;
    display: flex;
    align-items: center;
    background: #F9FAFC;
    margin: auto;
    max-width : 1024px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(44, 90, 160, 0.1);
    max-width: 1024px;
    margin:auto;
    text-align: left ;
}

/* gap */
.box-layout{
    display:flex;
    flex-direction: column;
    gap: 24px;
    width : 100%;
}

/* 카드 스타일 */
.custom-card {
    border : 1px solid #e9ecef;
    border-radius: 16px;
    background: #ffffff;
    transition: all 0.3s ease;
    overflow: hidden;
    width: 100%;
}

/* .custom-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
} */

.custom-card-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #3d6bb3 100%);
    color: white;
    padding: 1.5rem;
    border: none;
}

.custom-card-body {
    padding: 2rem;
}

/* 검사 안내 카드 */
.info-card {
    border : 1px solid #e9ecef;
    /* background: linear-gradient(135deg, #f8fbff 0%, #e3f2fd 100%); */
}

.info-card .card-title {
    color: #2c5aa0;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.info-card .info-text {
    color: #5a6c7d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.info-link {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.info-link:hover {
    color: #1e3a6f;
    text-decoration: underline;
}

/* 검사 정보 확인 섹션 */
.check-section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.check-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #2c5aa0 0%, #3d6bb3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    box-shadow: 0 2px 10px rgba(44, 90, 160, 0.3);
}

.check-icon i {
    font-size: 1.1rem;
    color: white;
}

.check-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c5aa0;
    margin: 0;
}

.check-description {
    color: #6c757d;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.highlight-text {
    color: #2c5aa0;
    font-weight: 600;
}

/* 폼 스타일 */
.form-section {
    margin-bottom: 2rem;
}

.form-label-required {
    font-weight: 600;
    color: #2c5aa0;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.required-mark {
    color: #dc3545;
    margin-right: 0.3rem;
    font-weight: 700;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #2c5aa0;
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.15);
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

/* 라디오 버튼 스타일 */
.radio-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    cursor: pointer;
}

.custom-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0;
}

.custom-radio input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    accent-color: #2c5aa0;
    cursor: pointer;
}

.custom-radio label {
    font-size: 0.95rem;
    color: #495057;
    cursor: pointer;
    margin: 0;
}

/* 약관 동의 섹션 */
.agreement-section {
    background: #f8f9fb;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.agreement-text {
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.5;
}

.agreement-options {
    display: flex;
    gap: 2rem;
}

/* 버튼 스타일 */
.btn-start {
    background: linear-gradient(135deg, #2c5aa0 0%, #3d6bb3 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.btn-start:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.4);
    background: linear-gradient(135deg, #1e3a6f 0%, #2c5aa0 100%);
}

.btn-start:active {
    transform: translateY(0);
}

/* 하단 안내 카드 */
.bottom-info-card {
    background: linear-gradient(135deg, #e8f4f8 0%, #f0f8ff 100%);
    border: 1px solid #d1ecf1;
    border-radius: 12px;
    max-width: 1024px;
    margin : auto;
}

.bottom-info-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;

}

.bottom-info-left {
    display: flex;
    align-items: center;
}

.bottom-info-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2c5aa0 0%, #3d6bb3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.bottom-info-icon i {
    color: white;
    font-size: 1rem;
}

.bottom-info-title {
    font-weight: 600;
    color: #2c5aa0;
    margin: 0;
}

.bottom-info-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bottom-info-text {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

.btn-outline-start {
    border: 2px solid #2c5aa0;
    color: #2c5aa0;
    background: transparent;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline-start:hover {
    background: #2c5aa0;
    color: white;
    transform: translateY(-1px);
}

.bottom-layout{
    display: flex;
    justify-content: end;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .custom-card-body {
        padding: 1.5rem;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .bottom-info-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .bottom-info-right {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .form-section {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 1.75rem;
    }
    
    .custom-card-body {
        padding: 1rem;
    }
    
    .btn-start {
        width: 100%;
        padding: 1rem;
    }
    
    .check-section-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .check-icon {
        margin-right: 0;
    }
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-card {
    max-width: 1024px;
    animation: fadeInUp 0.6s ease-out;
    margin: auto;
}

.custom-card:nth-child(2) {
    animation-delay: 0.1s;
}

.custom-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* 접근성 향상 */
.custom-radio input[type="radio"]:focus {
    outline: 2px solid #2c5aa0;
    outline-offset: 2px;
}

.btn-start:focus,
.btn-outline-start:focus {
    outline: 2px solid #2c5aa0;
    outline-offset: 2px;
}

/* 스크롤바 스타일 (웹킷 브라우저) */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #2c5aa0;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1e3a6f;
}