﻿/* ============================================================
   public-exam-review.css - استایل‌های اختصاصی صفحه گزارش عمومی آزمون
   ============================================================ */

/* ========== استایل هیرو (مشابه سایر صفحات) ========== */
.hero-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    color: white;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    color: white;
}

/* ========== استایل نفرات برتر (سکوی عمومی) ========== */
.podium-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    direction: rtl;
}

.winner-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    position: relative;
    border: 2px solid transparent;
}

    .winner-card.gold {
        border-color: #FFD700;
        transform: translateY(-15px);
        box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2);
        z-index: 2;
    }

    .winner-card.silver {
        border-color: #BDBDBD;
        margin-top: 15px;
    }

    .winner-card.bronze {
        border-color: #FF8A65;
        margin-top: 30px;
    }

.medal-icon {
    font-size: 50px;
    margin-bottom: 10px;
}

.winner-card.gold .medal-icon {
    color: #FFD700;
}

.winner-card.silver .medal-icon {
    color: #BDBDBD;
}

.winner-card.bronze .medal-icon {
    color: #FF8A65;
}

.winner-name {
    font-size: 20px;
    font-weight: 900;
    color: #333;
    margin-bottom: 5px;
}

.winner-mobile {
    font-size: 15px;
    color: #777;
    letter-spacing: 2px;
    direction: ltr; /* حل قطعی مشکل چپ به راست */
    display: inline-block;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    font-weight: bold;
}

.winner-score {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin-top: 15px;
    font-size: 14px;
}

/* ========== استایل LTR برای سوالات ========== */
.q-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.q-text {
    font-size: 17px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    direction: ltr;
    text-align: left;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    line-height: 1.5;
}

.q-opt {
    direction: ltr;
    text-align: left;
    padding: 12px 15px;
    border-radius: 8px;
    background: #f9f9f9;
    margin-bottom: 8px;
    border: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    font-size: 15px;
    transition: 0.2s;
}

    .q-opt.correct {
        background: #e8f5e9;
        border-color: #4caf50;
        font-weight: bold;
        color: #2e7d32;
    }

.opt-icon {
    direction: rtl;
    font-size: 16px;
    font-weight: normal;
}

.explanation-box {
    direction: rtl;
    text-align: right;
    background: #fff3e0;
    border-right: 4px solid #ff9800;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    color: #e65100;
    font-size: 14px;
    line-height: 1.7;
}

    .explanation-box i {
        font-size: 16px;
        margin-left: 5px;
    }

.section-title {
    text-align: center;
    color: var(--primary, #9c27b0);
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 30px;
    position: relative;
}

    .section-title::after {
        content: '';
        display: block;
        width: 60px;
        height: 4px;
        background: var(--primary, #9c27b0);
        margin: 10px auto 0;
        border-radius: 2px;
    }

.btn-back-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    border: 2px solid #ccc;
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

    .btn-back-outline:hover {
        background: #f0f0f0;
        color: #333;
        border-color: #999;
    }
