/* ========== 心理测试 · 问卷公共骨架（MBTI / 动物塑共用） ========== */

.test-container {
    margin-top: 0;
}

.test-intro {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 30px;
    font-size: 1rem;
}

.question-container {
    display: none;
}

.question-container.active {
    display: block;
}

.question {
    font-size: 1.2rem;
    color: var(--gradient-theme-title);
    margin-bottom: 25px;
    font-weight: 500;
    line-height: 1.6;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option {
    padding: 18px 24px;
    border: 2px solid #ecf0f1;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    font-size: 1rem;
    color: var(--color-body);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #ecf0f1;
    border-radius: 0;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-text {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.btn-container {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.result-container {
    display: none;
    text-align: center;
}

.result-container.show {
    display: block;
}

.result-title {
    font-size: 1.5rem;
    color: var(--gradient-theme-title);
    margin-bottom: 15px;
}

.result-description {
    color: #7f8c8d;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 0;
}

.restart-btn {
    margin-top: 30px;
    padding: 12px 28px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.restart-btn:hover {
    background: #229954;
}

@media (max-width: 767.98px) {
    h1 {
        font-size: 1.5rem;
    }

    .question {
        font-size: 1.1rem;
    }
}
