/* 전체 스타일 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* 헤더 스타일 */
header {
    text-align: center;
    padding: 30px 0 20px 0;
}

/* --- ▼▼▼ 로고 관련 스타일 ▼▼▼ --- */
.header-with-logo {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;     
}

.logo-image {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
}

header h1 {
    font-size: 2.2em;
    color: #F25C05;
    margin-bottom: 0;
    line-height: 1.3;
}
/* --- ▲▲▲ 로고 관련 스타일 ▲▲▲ --- */


.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-top: 5px;
}

/* 메인 콘텐츠 스타일 */
main {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 30px;
}

/* 버튼 기본 스타일 */
button, .button-link {
    display: block;
    width: fit-content;
    min-width: 120px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 12px 25px;
    background-color: #F25C05; /* 메인 오렌지 */
    color: white !important;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
button:not(:disabled):hover, .button-link:not(:disabled):hover {
    background-color: #D94E04; /* 어두운 오렌지 */
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
button:not(:disabled):active, .button-link:not(:disabled):active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
button:disabled {
    background-color: #ccc;
    color: #888;
    cursor: not-allowed;
    box-shadow: none;
}


/* 푸터 스타일 */
footer {
    text-align: center;
    padding: 20px 0;
    color: #777;
    font-size: 0.9rem;
}

/* 테스트 페이지 하단 배너 스타일 */
.footer-banner {
    display: block;
    margin-bottom: 20px;
    max-width: 100%;
}

.footer-banner img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* 테스트 페이지 특정 스타일 */
.progress-bar {
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}
.progress {
    height: 100%;
    background-color: #F25C05; /* 메인 오렌지 */
    width: 0%;
    transition: width 0.3s ease;
}
.progress-info {
    text-align: right;
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 20px;
}


.nav-buttons {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.nav-button {
    margin: 0;
    min-width: 150px;
    margin-left: 0;
    margin-right: 0;
}

/* 반응형 - 모바일에서는 버튼 너비 100%로 설정 */
@media (max-width: 480px) {
    .nav-button {
        width: 100%;
    }
}