/* فونت وزیر */
body {
    font-family: 'Vazirmatn', sans-serif;
    direction: rtl; /* برای راست به چپ کردن کل صفحه */
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* شروع از بالا */
    min-height: 100vh;
}

.container {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 800px;
    width: 100%;
    text-align: center;
    margin-top: 30px; /* فاصله از بالا */
}

header h1 {
    color: #007bff; /* رنگ اصلی آبی */
    font-size: 2.8em;
    margin-bottom: 10px;
    font-weight: 700;
}

header h2 {
    color: #0056b3;
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 25px;
}

.intro-text {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
}

.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 700;
}

.btn.primary {
    background-color: #007bff;
    color: white;
}

.btn.primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.btn.secondary {
    background-color: #6c757d;
    color: white;
    margin-top: 20px;
}

.btn.secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(108, 117, 125, 0.3);
}

.hidden {
    display: none;
}

.question-box, .result-box {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 30px;
    margin-top: 30px;
}

.question-text {
    font-size: 1.4em;
    color: #343a40;
    margin-bottom: 30px;
    font-weight: 700;
}

.answers-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.answer-option {
    background-color: #e9f5ff;
    border: 1px solid #cce5ff;
    border-radius: 8px;
    padding: 15px 20px;
    text-align: right;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.1em;
    color: #004085;
}

.answer-option:hover {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    transform: translateX(-5px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
}

.answer-option.selected {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.result-box h3 {
    color: #28a745; /* رنگ سبز برای نتایج */
    font-size: 2.2em;
    margin-bottom: 20px;
}

.result-details p {
    font-size: 1.2em;
    margin: 10px 0;
    color: #495057;
}

.result-details strong {
    color: #0056b3;
}

.disclaimer {
    font-size: 0.95em;
    color: #888;
    margin-top: 30px;
    border-top: 1px dashed #ccc;
    padding-top: 20px;
}

/* برای موبایل و تبلت */
@media (max-width: 768px) {
    .container {
        padding: 25px;
        margin-top: 15px;
    }
    header h1 {
        font-size: 2.2em;
    }
    header h2 {
        font-size: 1.3em;
    }
    .question-text {
        font-size: 1.2em;
    }
    .btn {
        padding: 10px 20px;
        font-size: 1em;
    }
    .answer-option {
        padding: 12px 15px;
        font-size: 1em;
    }
}