/* =========================================================
   FINAL - CLASS 10 SCIENCE NUMERICALS
   Common Student Gallery CSS
========================================================= */


/* =========================================================
   NUMERICALS PAGE
========================================================= */

.numericals-page {
    width: 100%;
    padding-bottom: 25px;
}


/* =========================================================
   NUMERICAL HERO
========================================================= */

.numericals-page .numericals-hero {
    background:
        linear-gradient(
            135deg,
            #073b66,
            #0f766e
        ) !important;

    color: #ffffff !important;

    padding: 34px 30px !important;

    border-radius: 10px !important;

    margin-bottom: 20px !important;

    box-shadow:
        0 5px 18px rgba(0,0,0,.10) !important;
}


.numericals-page .numericals-hero h1 {
    color: #ffffff !important;

    font-size: 34px !important;

    line-height: 1.3 !important;

    margin-bottom: 8px !important;
}


.numericals-page .numericals-hero p {
    color:
        rgba(255,255,255,.92) !important;

    font-size: 15px !important;

    line-height: 1.7 !important;

    margin-bottom: 0 !important;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.numericals-page .breadcrumb {
    background: #ffffff !important;

    border: 1px solid #dfe5eb !important;

    border-radius: 6px !important;

    padding: 11px 14px !important;

    margin-bottom: 20px !important;

    color: #6b7780 !important;

    font-size: 12px !important;

    line-height: 1.7 !important;
}


.numericals-page .breadcrumb a {
    color: #073b66 !important;

    font-weight: 700 !important;

    text-decoration: none !important;
}


.numericals-page .breadcrumb a:hover {
    color: #0f766e !important;
}


.numericals-page .breadcrumb strong {
    color: #073b66 !important;
}


/* =========================================================
   INTRO
========================================================= */

.numericals-page .intro-card {
    background: #ffffff !important;

    border: 1px solid #dfe5eb !important;

    border-radius: 8px !important;

    padding: 25px !important;

    margin-bottom: 20px !important;

    box-shadow:
        0 3px 10px rgba(0,0,0,.05) !important;
}


.numericals-page .intro-card h2 {
    color: #073b66 !important;

    font-size: 24px !important;

    line-height: 1.4 !important;

    margin-bottom: 15px !important;

    border-left: 4px solid #0f766e !important;

    padding-left: 10px !important;
}


.numericals-page .intro-card > p {
    color: #444 !important;

    font-size: 16px !important;

    line-height: 1.8 !important;

    margin-bottom: 13px !important;

    text-align: left !important;
}


/* =========================================================
   PRACTICE NOTE
========================================================= */

.numericals-page .practice-note {
    background: #fff8e6 !important;

    border-left: 4px solid #d39e00 !important;

    padding: 16px 18px !important;

    border-radius: 6px !important;

    margin-top: 15px !important;

    color: #5f4b00 !important;

    font-size: 14px !important;

    line-height: 1.8 !important;
}


/* =========================================================
   FORMULA BOX
========================================================= */

.numericals-page .formula-box {
    background: #eef7f6 !important;

    border-left: 4px solid #0f766e !important;

    padding: 17px !important;

    border-radius: 6px !important;

    margin-top: 18px !important;
}


.numericals-page .formula-box h3 {
    color: #073b66 !important;

    font-size: 18px !important;

    margin: 0 0 12px !important;
}


.numericals-page .formula-grid {
    display: grid !important;

    grid-template-columns:
        repeat(2,1fr);

    gap: 10px !important;
}


.numericals-page .formula-item {
    background: #ffffff !important;

    border: 1px solid #dce6e9 !important;

    border-radius: 6px !important;

    padding: 12px !important;
}


.numericals-page .formula-item strong {
    display: block !important;

    margin-bottom: 4px !important;

    color: #073b66 !important;

    font-size: 13px !important;
}


.numericals-page .formula-item span {
    color: #4b5e67 !important;

    font-size: 14px !important;

    font-weight: 700 !important;
}


/* =========================================================
   FILTER
========================================================= */

.numericals-page .filter-card {
    background: #ffffff !important;

    border: 1px solid #dfe5eb !important;

    border-radius: 8px !important;

    padding: 17px !important;

    margin-bottom: 15px !important;

    box-shadow:
        0 3px 10px rgba(0,0,0,.05) !important;
}


.numericals-page .filter-title {
    color: #073b66 !important;

    font-size: 14px !important;

    font-weight: 800 !important;

    margin-bottom: 10px !important;
}


.numericals-page .filter-buttons {
    display: flex !important;

    flex-wrap: wrap !important;

    gap: 8px !important;
}


.numericals-page .filter-btn {
    border: 1px solid #d6e0e5 !important;

    background: #f7f9fb !important;

    color: #394c55 !important;

    border-radius: 5px !important;

    padding: 8px 13px !important;

    font-family: Arial, sans-serif !important;

    font-size: 12px !important;

    font-weight: 700 !important;

    cursor: pointer !important;
}


.numericals-page .filter-btn:hover {
    border-color: #0f766e !important;

    color: #0f766e !important;
}


.numericals-page .filter-btn.active {
    background: #073b66 !important;

    border-color: #073b66 !important;

    color: #ffffff !important;
}


/* =========================================================
   STATS
========================================================= */

.numericals-page .stats-row {
    display: grid !important;

    grid-template-columns:
        repeat(4,1fr);

    gap: 10px !important;

    margin-bottom: 18px !important;
}


.numericals-page .stat-box {
    background: #ffffff !important;

    border: 1px solid #dfe5eb !important;

    border-radius: 7px !important;

    padding: 13px !important;

    text-align: center !important;

    box-shadow:
        0 2px 7px rgba(0,0,0,.04) !important;
}


.numericals-page .stat-box strong {
    display: block !important;

    color: #073b66 !important;

    font-size: 22px !important;
}


.numericals-page .stat-box span {
    display: block !important;

    margin-top: 3px !important;

    color: #6b7780 !important;

    font-size: 9px !important;

    font-weight: 700 !important;
}


/* =========================================================
   NUMERICAL CARD
========================================================= */

.numericals-page .numerical-card {
    display: block !important;

    width: 100% !important;

    background: #ffffff !important;

    border: 1px solid #dfe5eb !important;

    border-radius: 8px !important;

    margin-bottom: 16px !important;

    overflow: hidden !important;

    box-shadow:
        0 3px 10px rgba(0,0,0,.05) !important;
}


.numericals-page .numerical-header {
    display: flex !important;

    align-items: center !important;

    justify-content: space-between !important;

    gap: 10px !important;

    background: #f7f9fb !important;

    border-bottom: 1px solid #e2e7eb !important;

    padding: 13px 16px !important;
}


.numericals-page .numerical-header > div {
    color: #073b66 !important;

    font-size: 15px !important;

    line-height: 1.5 !important;

    font-weight: 800 !important;
}


.numericals-page .numerical-body {
    padding: 20px !important;
}


/* =========================================================
   TOPIC
========================================================= */

.numericals-page .topic-tag {
    display: inline-block !important;

    background: #eef4fa !important;

    color: #073b66 !important;

    padding: 5px 8px !important;

    border-radius: 5px !important;

    font-size: 9px !important;

    font-weight: 800 !important;

    margin-bottom: 11px !important;
}


/* =========================================================
   IMPORTANT:
   QUESTION SIZE OVERRIDES COMMON .question
========================================================= */

.numericals-page .numerical-body .question {
    display: block !important;

    width: 100% !important;

    color: #073b66 !important;

    font-family: Arial, sans-serif !important;

    font-size: 20px !important;

    font-weight: 800 !important;

    line-height: 1.85 !important;

    margin:
        0 0 0 0 !important;

    padding: 0 !important;

    text-align: left !important;
}


/* =========================================================
   QUESTION BUTTONS
========================================================= */

.numericals-page .question-actions {
    display: flex !important;

    align-items: center !important;

    flex-wrap: wrap !important;

    gap: 10px !important;

    margin-top: 18px !important;
}


.numericals-page .question-actions .action-btn {
    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    width: auto !important;

    min-width: 0 !important;

    min-height: 46px !important;

    padding:
        10px 17px !important;

    border: none !important;

    border-radius: 7px !important;

    font-family: Arial, sans-serif !important;

    font-size: 13px !important;

    line-height: 1.3 !important;

    font-weight: 800 !important;

    cursor: pointer !important;

    text-decoration: none !important;

    transition:
        background .18s ease,
        transform .18s ease,
        box-shadow .18s ease !important;
}


.numericals-page .question-actions .action-btn:hover {
    transform:
        translateY(-1px) !important;
}


/* =========================================================
   HINDI BUTTON
========================================================= */

.numericals-page .question-actions .action-btn.hindi {
    background: #0f766e !important;

    color: #ffffff !important;

    border-color: #0f766e !important;

    box-shadow:
        0 3px 8px
        rgba(15,118,110,.15) !important;
}


.numericals-page .question-actions .action-btn.hindi:hover {
    background: #0b5f59 !important;

    color: #ffffff !important;
}


/* =========================================================
   SOLUTION BUTTON
========================================================= */

.numericals-page .question-actions .action-btn.solution-btn {
    background: #073b66 !important;

    color: #ffffff !important;

    border-color: #073b66 !important;

    box-shadow:
        0 3px 8px
        rgba(7,59,102,.15) !important;
}


.numericals-page .question-actions .action-btn.solution-btn:hover {
    background: #052d4f !important;

    color: #ffffff !important;
}


/* =========================================================
   HINDI EXPLANATION
========================================================= */

.numericals-page .hindi-box {
    display: none !important;

    margin-top: 13px !important;

    padding:
        14px 15px !important;

    background: #eef7f6 !important;

    border-left:
        4px solid #0f766e !important;

    border-radius: 6px !important;

    color: #465a62 !important;

    font-size: 13px !important;

    line-height: 1.85 !important;
}


.numericals-page .hindi-box.show {
    display: block !important;
}


.numericals-page .hindi-box strong {
    color: #073b66 !important;
}


/* =========================================================
   SOLUTION HIDDEN
========================================================= */

.numericals-page .solution-box {
    display: none !important;

    margin-top: 13px !important;

    padding: 16px !important;

    background: #f8fbfc !important;

    border: 1px solid #dce5ea !important;

    border-radius: 7px !important;
}


.numericals-page .solution-box.show {
    display: block !important;
}


.numericals-page .solution-title {
    color: #0f766e !important;

    font-size: 13px !important;

    font-weight: 900 !important;

    margin-bottom: 10px !important;
}


.numericals-page .solution-box p {
    margin:
        7px 0 !important;

    padding: 0 !important;

    color: #53646d !important;

    font-size: 13px !important;

    line-height: 1.8 !important;

    text-align: left !important;
}


.numericals-page .solution-box p strong {
    color: #073b66 !important;
}


/* =========================================================
   ANSWER
========================================================= */

.numericals-page .answer-box {
    margin-top: 12px !important;

    padding:
        11px 13px !important;

    background: #eaf7ef !important;

    border-left:
        4px solid #198754 !important;

    border-radius: 6px !important;

    color: #146c43 !important;

    font-size: 13px !important;

    line-height: 1.7 !important;
}


/* =========================================================
   NO RESULT
========================================================= */

.numericals-page .no-result {
    display: none;

    background: #ffffff !important;

    border: 1px solid #dfe5eb !important;

    border-radius: 8px !important;

    padding: 40px 20px !important;

    margin-top: 16px !important;

    text-align: center !important;

    color: #6b7780 !important;

    font-size: 13px !important;
}


/* =========================================================
   CHAPTER NAV
========================================================= */

.numericals-page .chapter-nav {
    display: flex !important;

    flex-wrap: wrap !important;

    justify-content: center !important;

    gap: 9px !important;

    margin:
        25px 0 10px !important;
}


.numericals-page .chapter-nav a {
    display: inline-block !important;

    padding:
        10px 14px !important;

    background: #073b66 !important;

    color: #ffffff !important;

    border-radius: 6px !important;

    text-decoration: none !important;

    font-size: 12px !important;

    font-weight: 800 !important;
}


.numericals-page .chapter-nav a:hover {
    background: #0f766e !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .numericals-page .numericals-hero {
        padding: 28px 20px !important;
    }


    .numericals-page .numericals-hero h1 {
        font-size: 27px !important;
    }


    .numericals-page .numericals-hero p {
        font-size: 13px !important;
    }


    .numericals-page .intro-card {
        padding: 20px !important;
    }


    .numericals-page .formula-grid {
        grid-template-columns: 1fr !important;
    }


    .numericals-page .stats-row {
        grid-template-columns:
            repeat(2,1fr) !important;
    }


    .numericals-page .numerical-header {
        align-items: flex-start !important;

        flex-direction: column !important;
    }


    .numericals-page .numerical-body {
        padding: 17px !important;
    }


    .numericals-page .numerical-body .question {
        font-size: 17px !important;

        line-height: 1.8 !important;
    }


    .numericals-page .question-actions {
        gap: 8px !important;
    }


    .numericals-page .question-actions .action-btn {
        min-height: 44px !important;

        padding:
            9px 13px !important;

        font-size: 12px !important;
    }


    .numericals-page .hindi-box {
        font-size: 12px !important;

        line-height: 1.8 !important;
    }


    .numericals-page .solution-box p {
        font-size: 12px !important;
    }


    .numericals-page .chapter-nav a {
        width: 100% !important;

        text-align: center !important;
    }

}