.test-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* عنوان تست */
.test-title {
    font-size: 2.2rem;
    color: #2c3e50;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

/* Progress Bar */
.progress {
    position: relative;
    height: 30px;
    background: #e9ecef;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    background: linear-gradient(to right, #36d1dc, #5b86e5);
    transition: width 0.5s ease-in-out;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* کارت سوالات */
.question-card {
    display: none;
    background: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.question-title {
    font-size: 1.3rem;
    color: #34495e;
    margin-bottom: 1rem;
}

.question-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

/* گزینه‌ها */
.option-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-box {
    position: relative;
    width: 100%;
    padding: 15px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-box:hover {
    background: #e6f0fa;
    border-color: #5b86e5;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(91, 134, 229, 0.2);
}

.option-box.selected {
    background: linear-gradient(to right, #36d1dc, #5b86e5);
    border-color: #5b86e5;
    color: #fff;
    box-shadow: 0 5px 15px rgba(91, 134, 229, 0.3);
}

.option-radio {
    display: none;
}

.option-label {
    display: block;
    font-size: 1rem;
    color: #333;
    transition: color 0.3s ease;
}

.option-box.selected .option-label {
    color: #fff;
}

/* دکمه‌های ناوبری */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.btn-outline-primary {
    border-color: #5b86e5;
    color: #5b86e5;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #5b86e5;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 134, 229, 0.3);
}

.btn-success {
    background: linear-gradient(to right, #36d1dc, #5b86e5);
    border: none;
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 134, 229, 0.5);
}

/* نتیجه */
.result-container {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s ease-in-out;
}

.result-heading {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.result-text {
    font-size: 1.3rem;
    color: #4caf50;
    margin-bottom: 1rem;
}

.result-interpretation {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
}

.result-recommendation {
    font-size: 1rem;
    color: #666;
    font-style: italic;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.category-heading {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.category-result {
    text-align: right;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
}

.category-result h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.category-score {
    font-size: 1rem;
    color: #4caf50;
    margin-bottom: 0.5rem;
}

.category-interpretation {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.category-recommendation {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}