/* 기본 스타일 */
body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #f8f9fa;
    color: #343a40;
    line-height: 1.7;
    margin: 0;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    width: 100%;
    padding: 40px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.main-title {
    font-size: 2.8em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5em;
}

.main-subtitle {
    font-size: 1.1em;
    color: #7f8c8d;
    margin-bottom: 2em;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.start-btn, button {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.2em;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background-color: #3498db;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.start-btn:hover, button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
    transform: none;
}

/* Quiz Page Styles */
.quiz-page {
    text-align: left;
    max-width: 700px;
}

#quiz-progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 5px;
    margin-bottom: 2em;
}

#quiz-progress {
    height: 100%;
    background-color: #2ecc71;
    border-radius: 5px;
    transition: width 0.3s ease-in-out;
}

#question-text {
    font-size: 1.5em;
    font-weight: 500;
    color: #34495e;
    margin-bottom: 1.5em;
}

.answer-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.answer-option {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1em;
    padding: 18px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background-color: white;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s, border-color 0.2s;
}

.answer-option:hover {
    background-color: #f1f3f5;
    border-color: #adb5bd;
}

.answer-option.selected {
    background-color: #e9ecef;
    border-color: #3498db;
    font-weight: 500;
}

.quiz-buttons {
    text-align: right;
    margin-top: 2em;
}

/* Result Page Styles */
.result-page {
    text-align: left;
}

.result-title {
    font-size: 1.5em;
    font-weight: 300;
    color: #7f8c8d;
    margin-bottom: 0.2em;
}

.result-code {
    font-size: 3em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.1em;
}

.result-name {
    font-size: 1.8em;
    font-weight: 500;
    color: #34495e;
    margin-bottom: 1.5em;
}

.result-section h3 {
    font-size: 1.2em;
    border-left: 4px solid #3498db;
    padding-left: 10px;
    margin-top: 2em;
}

.result-section h4 {
    font-size: 1em;
    font-weight: 500;
    color: #555;
    margin-top: 1em;
}

.result-details p, .result-details li {
    font-size: 0.95em;
    color: #555;
}

.result-message {
    font-style: italic;
    margin-top: 2em;
    padding-top: 1em;
    border-top: 1px solid #dee2e6;
}

.career-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.career-list li {
    margin-bottom: 5px;
}

#restart-button {
    margin-top: 3em;
    width: 100%;
}