/* 심리테스트 페이지 전용 스타일 */
.psychological-tests-page {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* 히어로 섹션 - 더 컴팩트하게 */
.hero-section {
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 500px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 6px 16px;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(45deg, #ffd700, #ffeb3b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    line-height: 1.4;
}

/* 서비스 섹션 - insurance_platform.php 스타일 */
.services-section {
    padding: 40px 0 60px;
    position: relative;
    z-index: 2;
}

.services-grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 서비스 카테고리 카드 */
.service-category-card {
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* 카테고리 헤더 */
.category-header {
    padding: 30px;
    text-align: center;
    position: relative;
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.category-description {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.category-count {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    min-width: 24px;
    text-align: center;
}

/* 서비스 리스트 */
.service-list {
    padding: 0;
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item:hover {
    background: rgba(103, 126, 234, 0.05);
}

.service-item.featured {
    background: linear-gradient(135deg, rgba(103, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-left: 4px solid #667eea;
}

.service-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.service-info p {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 0;
}

.service-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-time {
    font-size: 0.8rem;
    color: #4a5568;
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 8px;
    border-radius: 10px;
}

.featured-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
}

/* 테스트 화면 공통 스타일 */
.test-screen {
    display: none;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

@media (max-width: 768px) {
    .test-screen {
        padding: 20px 0px;
    }
    .test-navigation {
        margin: 20px !important;
    }
    .progress-bar-container {
        margin: 15px !important;
    }

    .description-section {
        padding: 1px !important;
        padding-top: 5px;
        margin-left: 20px;
    }
    .description-section p, .description-section div {
        margin-left: 2px;
    }
}


.test-navigation {
    max-width: 800px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.test-type-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 6px 12px;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
}

/* 진행률 바 */
.progress-bar-container {
    max-width: 800px;
    margin: 0 auto 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
}

.progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffeb3b);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-text {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

/* 질문 컨테이너 */
.question-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.question-container h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 30px;
    line-height: 1.4;
}

/* 답변 컨테이너 */
.answers-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

/* 기본 답변 버튼 */
.answer-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(103, 126, 234, 0.2);
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: #2d3748;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

.answer-btn:hover {
    background: rgba(103, 126, 234, 0.1);
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(103, 126, 234, 0.2);
}

.answer-btn:active {
    transform: translateY(0);
}

/* 간단형 답변 버튼 (2선택지) */
.answer-btn.simple-choice {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border: 2px solid rgba(103, 126, 234, 0.3);
    border-radius: 15px;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    justify-content: center;
    text-align: center;
    min-height: 60px;
}

.answer-btn.simple-choice:first-child {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
    border-color: rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

.answer-btn.simple-choice:first-child:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.1));
    border-color: #ef4444;
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.2);
}

.answer-btn.simple-choice:last-child {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(21, 128, 61, 0.05));
    border-color: rgba(34, 197, 94, 0.3);
    color: #16a34a;
}

.answer-btn.simple-choice:last-child:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(21, 128, 61, 0.1));
    border-color: #22c55e;
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.2);
}

/* 정밀형 답변 버튼 (5단계 척도) */
.answer-btn.detailed-choice {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    min-height: 50px;
    justify-content: center;
    text-align: center;
}

.answer-btn.detailed-choice.strongly-disagree {
    border-color: rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

.answer-btn.detailed-choice.strongly-disagree:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.2);
}

.answer-btn.detailed-choice.disagree {
    border-color: rgba(251, 146, 60, 0.3);
    color: #ea580c;
}

.answer-btn.detailed-choice.disagree:hover {
    background: rgba(251, 146, 60, 0.1);
    border-color: #fb923c;
    box-shadow: 0 3px 10px rgba(251, 146, 60, 0.2);
}

.answer-btn.detailed-choice.neutral {
    border-color: rgba(107, 114, 128, 0.3);
    color: #6b7280;
}

.answer-btn.detailed-choice.neutral:hover {
    background: rgba(107, 114, 128, 0.1);
    border-color: #9ca3af;
    box-shadow: 0 3px 10px rgba(107, 114, 128, 0.2);
}

.answer-btn.detailed-choice.agree {
    border-color: rgba(59, 130, 246, 0.3);
    color: #2563eb;
}

.answer-btn.detailed-choice.agree:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.2);
}

.answer-btn.detailed-choice.strongly-agree {
    border-color: rgba(34, 197, 94, 0.3);
    color: #16a34a;
}

.answer-btn.detailed-choice.strongly-agree:hover {
    background: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
    box-shadow: 0 3px 10px rgba(34, 197, 94, 0.2);
}

/* 결과 화면 스타일 */
.result-header {
    text-align: center;
    margin-bottom: 40px;
}

.result-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.result-section {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
}

.result-type {
    text-align: center;
    margin-bottom: 30px;
}

.result-type h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
}

.type-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 2rem;
    font-weight: 800;
    padding: 15px 25px;
    border-radius: 15px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.type-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0;
}

.result-chart-container {
    height: 400px;
    margin: 30px 0;
    position: relative;
}

.result-description {
    margin-top: 30px;
}

.description-section {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(103, 126, 234, 0.05);
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.description-section:last-child {
    margin-bottom: 0;
}

.description-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
}

.description-section p, .description-section div {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 0;
}

.description-section ul {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 0;
    padding-left: 20px;
}

.description-section li {
    margin-bottom: 5px;
}

/* 액션 버튼들 */
.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.action-buttons .btn {
    min-width: 160px;
    padding: 12px 20px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* 로딩 오버레이 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(103, 126, 234, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-content p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* 토스트 메시지 */
#toastContainer {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0 30px;
    }
    
    .services-grid-simple {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .question-container {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .question-container h2 {
        font-size: 1.2rem;
    }
    
    .answers-container {
        gap: 12px;
    }
    
    .answer-btn {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .answer-btn.simple-choice {
        padding: 15px 20px;
        font-size: 1rem;
        min-height: 55px;
    }
    
    .answer-btn.detailed-choice {
        padding: 10px 15px;
        font-size: 0.9rem;
        min-height: 45px;
    }
    
    .result-section {
        margin: 0 15px;
        padding: 30px 20px;
    }
    
    .result-chart-container {
        height: 300px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-buttons .btn {
        min-width: 200px;
    }
}

/* Big Five 결과 표시 추가 스타일 */
.comprehensive-analysis {
    background: rgba(59, 130, 246, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.comprehensive-analysis h5 {
    color: #2563eb;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
    padding-bottom: 8px;
}

.analysis-section {
    margin-bottom: 15px;
    padding: 10px 0;
}

.analysis-section:last-child {
    margin-bottom: 0;
}

.detailed-traits-analysis .trait-detail-section {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
}

.detailed-traits-analysis .trait-detail-section:last-child {
    margin-bottom: 0;
}

.detailed-traits-analysis h6 {
    color: #4a5568;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.trait-characteristics {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.trait-characteristics li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    color: #6b7280;
    line-height: 1.5;
}

.trait-characteristics li:before {
    content: '•';
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.career-guidance {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), rgba(21, 128, 61, 0.03));
    border-radius: 12px;
    padding: 20px;
}

.career-guidance h5 {
    color: #16a34a;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(34, 197, 94, 0.2);
    padding-bottom: 8px;
}

.career-section {
    margin-bottom: 15px;
}

.career-section:last-child {
    margin-bottom: 0;
}

.career-list, .work-style-list {
    list-style: none;
    padding-left: 0;
    margin: 8px 0 0 0;
}

.career-list li, .work-style-list li {
    padding: 6px 0;
    padding-left: 25px;
    position: relative;
    color: #374151;
    line-height: 1.4;
}

.career-list li:before {
    content: '🎯';
    position: absolute;
    left: 0;
    top: 6px;
}

.work-style-list li:before {
    content: '💼';
    position: absolute;
    left: 0;
    top: 6px;
}

/* 30개 세부 항목 분석을 위한 새로운 스타일 */
.main-traits-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
}

.main-traits-summary h5 {
    color: white;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.trait-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    margin: 8px 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.trait-summary-item .trait-name {
    font-weight: 500;
    flex: 1;
}

.trait-summary-item .trait-score {
    font-weight: bold;
    font-size: 1.1rem;
    margin: 0 10px;
}

.trait-summary-item .trait-level {
    font-size: 0.9rem;
    padding: 4px 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
}

/* 세부 항목 분석 스타일 */
.facets-detailed-analysis {
    margin: 20px 0;
}

.facets-detailed-analysis h5 {
    color: #4a5568;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.domain-facets-container {
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.domain-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.domain-header h6 {
    margin: 0;
    color: #2d3748;
    font-size: 1.1rem;
    font-weight: 600;
}

.domain-total-score {
    font-size: 1.2rem;
    font-weight: bold;
    color: #4a5568;
}

.facets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    padding: 20px;
}

.facet-item {
    background: white;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.facet-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.facet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.facet-name {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95rem;
}

.facet-score {
    font-weight: bold;
    color: #4a5568;
    font-size: 1rem;
}

.facet-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.facet-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s ease;
}

.facet-description {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.4;
}

/* 점수 수준별 색상 */
.facet-item.very-high {
    border-left: 4px solid #10b981;
}

.facet-item.high {
    border-left: 4px solid #3b82f6;
}

.facet-item.medium {
    border-left: 4px solid #f59e0b;
}

.facet-item.low {
    border-left: 4px solid #ef4444;
}

.facet-item.very-low {
    border-left: 4px solid #9ca3af;
}

/* 개선된 종합 분석 */
.enhanced-overall-analysis {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(37, 99, 235, 0.02));
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.enhanced-overall-analysis h5 {
    color: #1e40af;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
    padding-bottom: 8px;
}

.highlight-section {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid #10b981;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.development-section {
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid #f59e0b;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.personality-profile-section {
    background: rgba(139, 92, 246, 0.1);
    border-left: 4px solid #8b5cf6;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

/* 고급 진로 분석 */
.advanced-career-guidance {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), rgba(21, 128, 61, 0.02));
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.advanced-career-guidance h5 {
    color: #15803d;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(34, 197, 94, 0.2);
    padding-bottom: 8px;
}

.career-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.career-tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.career-tag:hover {
    transform: scale(1.05);
}

.career-tag.ideal {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.work-env-list, .development-list {
    list-style: none;
    padding-left: 0;
    margin: 10px 0;
}

.work-env-list li, .development-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #374151;
    line-height: 1.4;
}

.work-env-list li:before {
    content: '🏢';
    position: absolute;
    left: 0;
    top: 8px;
}

.development-list li:before {
    content: '📈';
    position: absolute;
    left: 0;
    top: 8px;
}

/* 강점 분석 */
.strengths-opportunities-analysis {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
}

.strengths-section {
    margin-bottom: 15px;
}

.strength-item {
    color: #059669;
    font-weight: 600;
}

.opportunity-item {
    color: #d97706;
    font-weight: 600;
}

/* 모바일 반응형 개선 */
@media (max-width: 768px) {
    .facets-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 15px;
    }
    
    .domain-header {
        padding: 12px 15px;
    }
    
    .main-traits-summary {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .trait-summary-item {
        padding: 8px 12px;
        flex-direction: row;
        align-items: center;
    }
    
    .career-items {
        justify-content: center;
    }
    
    .career-tag {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
} 

/* ===============================
   EQ (감성지능) 테스트 전용 스타일
   =============================== */

/* EQ 프로필 요약 */
.eq-profile-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 25px;
    text-align: center;
}

.eq-profile-summary h5 {
    margin-bottom: 25px;
    font-size: 1.4rem;
    font-weight: 600;
}

/* EQ 점수 원형 표시 */
.total-eq-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.eq-score-circle {
    width: 120px;
    height: 120px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.eq-score-number {
    font-size: 2.2rem;
    font-weight: 700;
}

.eq-score-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.eq-score-description {
    text-align: left;
}

.eq-level {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.eq-reliability {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* EQ 영역별 막대 그래프 */
.eq-domains-overview {
    display: grid;
    gap: 15px;
}

.eq-domain-bar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.domain-label {
    width: 80px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: right;
}

.score-bar-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.score-bar {
    flex: 1;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.8s ease;
}

.score-text {
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 40px;
}

/* EQ 종합 분석 */
.eq-overall-analysis {
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.eq-overall-analysis h5 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.eq-strength-section, .eq-development-section {
    line-height: 1.6;
}

.eq-type-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

/* EQ 세부 영역 분석 */
.eq-detailed-analysis {
    margin-bottom: 25px;
}

.eq-detailed-analysis h5 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.eq-domain-detail {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.eq-domain-detail .domain-header {
    padding: 20px 25px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.domain-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.domain-title h6 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
}

.domain-score {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 12px;
    border-radius: 20px;
}

.domain-content {
    padding: 25px;
}

.domain-description {
    color: #4a5568;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* 세부 능력 목록 */
.facets-analysis {
    margin-bottom: 20px;
}

.facet-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.facet-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 8px;
    background: #f7fafc;
    border-radius: 8px;
    border-left: 3px solid #e2e8f0;
}

.facet-name {
    font-weight: 500;
    color: #2d3748;
}

.facet-score {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 4px 10px;
    border-radius: 12px;
}

.domain-guidance {
    background: #f0f9ff;
    padding: 18px;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
    color: #1e40af;
    line-height: 1.6;
}

/* EQ 진로 및 관계 분석 */
.eq-career-social-analysis {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.eq-career-social-analysis h5 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.leadership-analysis, .relationship-analysis {
    background: #f8fafc;
    padding: 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* EQ 진로 태그 */
.career-tag.eq-career {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 5px;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

/* EQ 발전 전략 */
.eq-development-strategies {
    background: #fef7e0;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
}

.development-strategies {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

.development-strategies li {
    margin-bottom: 8px;
    color: #92400e;
    line-height: 1.5;
}

/* EQ 강점 분석 */
.eq-strengths-analysis {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.eq-strengths-section {
    background: #f0fdf4;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #10b981;
    margin-bottom: 15px;
}

.eq-opportunities-section {
    background: #fef2f2;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #ef4444;
}

.eq-strength-item, .eq-opportunity-item {
    font-weight: 600;
    color: #1f2937;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .total-eq-score {
        flex-direction: column;
        gap: 20px;
    }
    
    .eq-score-circle {
        width: 100px;
        height: 100px;
    }
    
    .eq-score-number {
        font-size: 1.8rem;
    }
    
    .domain-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .facet-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .eq-domain-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .domain-label {
        width: auto;
        text-align: left;
    }
}

/* ✅ 진로 적성 검사 스타일 */
.career-section {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border-left: 5px solid #007bff;
}

.career-section h4 {
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.career-section h4 i {
    font-size: 1.2em;
    color: #007bff;
}

/* RIASEC 분석 스타일 */
.riasec-analysis .riasec-code {
    font-size: 1.8em;
    font-weight: bold;
    color: #007bff;
    background: linear-gradient(135deg, #007bff, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.top-riasec-types {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.riasec-type-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #007bff;
}

.riasec-type-item.first {
    border-left-color: #28a745;
    background: linear-gradient(135deg, #f8fff9, #e8f5e8);
}

.riasec-type-item.second {
    border-left-color: #ffc107;
    background: linear-gradient(135deg, #fffef8, #fff8e1);
}

.riasec-type-item.third {
    border-left-color: #17a2b8;
    background: linear-gradient(135deg, #f8fdff, #e1f5fe);
}

.type-rank {
    font-weight: bold;
    font-size: 0.9em;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.type-info h6 {
    margin: 10px 0 5px 0;
    font-size: 1.2em;
}

.type-description {
    color: #6c757d;
    font-size: 0.95em;
    margin: 5px 0 15px 0;
}

.type-score {
    font-size: 1.1em;
    font-weight: bold;
    color: #495057;
}

.trait-tag, .career-tag {
    display: inline-block;
    background: #e9ecef;
    padding: 4px 10px;
    margin: 2px;
    border-radius: 15px;
    font-size: 0.85em;
    color: #495057;
}

.career-tag {
    background: #d1ecf1;
    color: #0c5460;
}

/* 직무 적성 스타일 */
.aptitude-analysis .top-aptitudes {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

.aptitude-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.aptitude-name {
    font-weight: bold;
    margin-bottom: 8px;
    color: #2c3e50;
}

.aptitude-bar {
    background: #e9ecef;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    margin: 8px 0;
}

.aptitude-progress {
    height: 100%;
    border-radius: 5px;
    transition: width 0.8s ease;
}

.aptitude-score {
    font-weight: bold;
    color: #495057;
}

.aptitude-level {
    font-size: 0.9em;
    color: #6c757d;
    margin-top: 5px;
}

.aptitude-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.aptitude-grid-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.grid-item-name {
    font-size: 0.9em;
    color: #6c757d;
    margin-bottom: 5px;
}

.grid-item-score {
    font-size: 1.3em;
    font-weight: bold;
    margin: 5px 0;
}

.grid-item-level {
    font-size: 0.85em;
    color: #6c757d;
}

/* 가치관 분석 스타일 */
.values-analysis .top-values {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

.value-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.value-rank {
    background: #007bff;
    color: white;
    padding: 8px 12px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.9em;
    min-width: 40px;
    text-align: center;
}

.value-content h6 {
    margin: 0 0 5px 0;
    font-size: 1.1em;
}

.value-description {
    color: #6c757d;
    font-size: 0.9em;
    margin: 5px 0;
}

.value-score {
    font-weight: bold;
    color: #495057;
    font-size: 1.1em;
}

.value-importance {
    font-size: 0.85em;
    color: #6c757d;
}

.values-balance {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.balance-info p {
    margin: 10px 0;
}

.balance-description {
    color: #6c757d;
    font-size: 0.95em;
}

/* 종합 추천 스타일 */
.final-recommendations {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-left-color: #667eea;
}

.final-recommendations h4 {
    color: white;
}

.final-recommendations h4 i {
    color: #fff;
}

.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.recommendation-item {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.recommendation-item h5 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.career-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.career-tags .career-tag {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.development-item, .attention-item {
    background: rgba(255,255,255,0.1);
    padding: 12px;
    margin: 8px 0;
    border-radius: 8px;
    border-left: 3px solid rgba(255,255,255,0.5);
}

.learning-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.learning-tag {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9em;
    border: 1px solid rgba(255,255,255,0.3);
}

/* 차트 컨테이너 스타일 */
.riasec-chart-container,
.aptitude-chart-container,
.values-chart-container {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.riasec-chart-container canvas,
.aptitude-chart-container canvas,
.values-chart-container canvas {
    max-height: 400px;
}

/* 레벨별 색상 */
.excellent { border-left-color: #28a745; }
.good { border-left-color: #17a2b8; }
.fair { border-left-color: #ffc107; }
.average { border-left-color: #6c757d; }
.below-average { border-left-color: #fd7e14; }
.needs-improvement { border-left-color: #dc3545; }

.very-important { border-left-color: #28a745; }
.important { border-left-color: #17a2b8; }
.moderate { border-left-color: #ffc107; }
.less-important { border-left-color: #6c757d; }

/* 반응형 디자인 */
@media (max-width: 768px) {
    .career-section {
        margin: 20px 0;
        padding: 15px;
    }
    
    .recommendation-grid {
        grid-template-columns: 1fr;
    }
    
    .aptitude-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .value-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* ========================================
   최종 액션 버튼 스타일 (완성)
   ======================================== */

/* 액션 버튼 컨테이너 */
.action-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 30px 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* 기본 버튼 스타일 */
.action-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.action-buttons .btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.action-buttons .btn:hover:before {
    left: 100%;
}

/* 다시 테스트하기 버튼 */
.btn-reset {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid transparent;
}

.btn-reset:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-reset:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* 테스트 선택으로 버튼 */
.btn-home {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border: 2px solid transparent;
}

.btn-home:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.4);
}

.btn-home:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

/* 공유 버튼 (추후 활성화용) */
.btn-share {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: white;
    border: 2px solid transparent;
}

.btn-share:hover {
    background: linear-gradient(135deg, #dd6b20 0%, #c05621 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(237, 137, 54, 0.4);
}

/* 버튼 아이콘 */
.action-buttons .btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.action-buttons .btn:hover i {
    transform: scale(1.1);
}

/* 반응형 */
@media (max-width: 640px) {
    .action-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 25px 15px;
    }
    
    .action-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 16px 24px;
        font-size: 1.05rem;
    }
    
    .action-buttons .btn span {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .action-buttons .btn {
        padding: 14px 20px;
        font-size: 0.95rem;
        min-width: 140px;
    }
    
    .action-buttons .btn i {
        font-size: 1rem;
    }
}

/* ========================================
   뒤로가기 및 네비게이션 스타일
   ======================================== */

/* 테스트 네비게이션 컨테이너 */
.test-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.test-type-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 테스트 네비게이션 뒤로가기 버튼 */
.test-navigation .back-btn,
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.test-navigation .back-btn:hover,
.back-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(-2px);
    color: white;
    text-decoration: none;
}

.test-navigation .back-btn i,
.back-button i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.test-navigation .back-btn:hover i,
.back-button:hover i {
    transform: translateX(-2px);
}

/* 진행률 표시와 뒤로가기 조합 */
.progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 20px;
}

.progress-info {
    flex: 1;
    text-align: center;
}

/* 뒤로가기 버튼 반응형 */
@media (max-width: 640px) {
    .progress-header {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    
    .test-navigation .back-btn,
    .back-button {
        align-self: flex-start;
        padding: 8px 12px;
        font-size: 0.85rem;
    }
} 