/* 결과 페이지 스타일 */
.result-header {
    text-align: center;
    margin-bottom: 25px; 
    padding-bottom: 25px; 
    border-bottom: 1px solid #f0f0f0; 
}

.result-title-area .result-title-label {
    font-size: 1.4em; 
    color: #333; 
    display: block; 
    margin-bottom: 0.2em;
}
.result-title-area .result-title-value {
    font-size: 1.7em; 
    color: #F25C05;
    font-weight: bold;
}
.result-title-area .result-title-colon {
    color: #333; 
}

.score-visualization {
    margin: 30px 0;
    padding: 25px; 
    background-color: #fff; 
    border-radius: 8px;
    border: 1px solid #FFDDC2; 
    box-shadow: 0 3px 10px rgba(255,190,118,0.1); 
}
.chart-container {
    height: 280px; 
    margin: 0 auto 25px; 
}
.score-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; 
    margin-bottom: 15px;
}
.score-item {
    width: calc(50% - 10px); 
    background-color: #FFF9F2; 
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid #FFEEDB;
}
.system-name {
    font-weight: bold;
    color: #555;
}
.score-value {
    float: right;
    font-weight: bold;
    color: #F25C05;
}
.score-explanation {
    text-align: center;
    color: #777;
    font-size: 0.9em; 
    margin-top: 10px;
}

.type-visualization {
    margin: 30px 0;
    padding: 25px;
    background-color: #fff; 
    border-radius: 8px;
    border: 1px solid #FFDDC2; 
    box-shadow: 0 3px 10px rgba(255,190,118,0.1); 
}
.type-explanation {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.type-explanation strong {
    color: #F25C05;
}

.lifecode-diagram {
    text-align: center;
    margin: 30px auto; 
    max-width: 100%;
}
.lifecode-diagram img {
    max-width: 100%;
    height: auto;
    max-height: 320px; 
    border-radius: 8px;
}

.personality-profile {
    margin: 30px 0;
    padding: 30px; 
    background-color: #fff; 
    border-radius: 12px; 
    border: 1px solid #FFBE76; 
    box-shadow: 0 4px 12px rgba(242,92,5,0.1); 
}

.demographic-specific {
    margin: 30px 0;
    padding: 25px;
    background-color: #FFF9F2; 
    border-radius: 8px;
    border-left: 5px solid #F25C05;
}
.demographic-specific h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.25rem; 
}

.actions { 
    display: flex;
    gap: 15px; 
    justify-content: center; 
    margin-top: 40px;
}
.actions button {
    flex-grow: 0; 
    width: auto;
    min-width: 150px; 
    padding: 12px 30px; 
}
#share-result {
    background-color: #2ecc71;
}
#share-result:hover {
    background-color: #27ae60;
}

.systems-recap {
    margin: 40px 0;
    padding: 25px;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #FFDDC2;
    box-shadow: 0 3px 10px rgba(255,190,118,0.1);
}

.systems-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.system {
    display: flex;
    align-items: center;
    width: calc(50% - 10px);
    background-color: #f8f9fa; 
    border-radius: 10px;
    padding: 20px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #eee; 
}

.system-icon {
    width: 45px; 
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em; 
    font-weight: bold;
    color: white;
    margin-right: 20px; 
    flex-shrink: 0;
}

.dominance { background-color: #e74c3c; } 
.stimulus { background-color: #f1c40f; } 
.balance { background-color: #16a085; } 
.harmony { background-color: #2ecc71; } 

.system-info h3 {
    font-size: 1.25rem; 
    margin-bottom: 8px;
    color: #333;
}
.system-info p {
    font-size: 0.95rem;
    margin: 0;
    color: #555; 
    text-align: left;
}

/* --- ▼▼▼ 중간 배너 스타일 추가 ▼▼▼ --- */
.mid-page-banner {
    margin: 40px 0;
    text-align: center;
}
.mid-page-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
/* --- ▲▲▲ 중간 배너 스타일 추가 ▲▲▲ --- */

.book-promotion {
    text-align: center;
    background-color: #FFF5EB; 
    padding: 30px 25px; 
    border-radius: 10px;
    margin: 40px 0 30px 0; 
    border: 1px dashed #FFBE76;
}

.book-image-container {
    width: 160px;
    margin: 0 auto 15px auto;
}

.book-image-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.book-promotion p {
    margin-bottom: 12px; 
    font-size: 1.05rem; 
}
.book-link.button-link {
    margin-top: 20px; 
    padding: 12px 30px; 
}

@media (max-width: 768px) {
    .score-item { width: 100%; margin: 0 0 10px 0; }
    .actions { flex-direction: column; align-items: center;}
    .actions button { width: 100%; max-width: 300px; margin-bottom: 10px; }
    .system { width: 100%; }
}