﻿/* ================================
   RPS Olympiad Instruction Popup
   ================================ */

#Modal_Instruction {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.65);
    padding: 30px 15px;
}

    /* Main Popup */
    #Modal_Instruction .LoginBox {
        width: 100%;
        max-width: 850px;
        margin: 0 auto;
        background: #ffffff;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.30);
        animation: instructionPopup 0.3s ease;
    }

/* Popup Animation */
@keyframes instructionPopup {
    from {
        opacity: 0;
        transform: translateY(-25px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ================================
   Header
   ================================ */

#Modal_Instruction .heading {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 25px;
    background: linear-gradient(135deg, #172b4d, #244b7a);
    color: #fff;
}

    #Modal_Instruction .heading h2 {
        margin: 0;
        color: #fff;
        font-size: 24px;
        font-weight: 700;
    }

#Modal_Instruction .Model_closebtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

    #Modal_Instruction .Model_closebtn:hover {
        background: #fff;
        color: #0d6efd;
        transform: rotate(90deg);
    }

/* ================================
   Content
   ================================ */

#Modal_Instruction .Login_Desc {
    background: #fff;
}

    #Modal_Instruction .Login_Desc > div:first-child {
        max-height: 430px !important;
        padding: 22px 28px !important;
    }

/* Intro Text */
#Modal_Instruction .errorcode {
    margin: 0 0 18px;
    padding: 13px 16px;
    background: #f0f6ff;
    border-left: 4px solid #0d6efd;
    border-radius: 6px;
    color: #1d3557;
    font-size: 15px;
    line-height: 1.6;
}

    #Modal_Instruction .errorcode u {
        text-decoration: none;
        font-weight: 600;
    }

/* ================================
   Instruction List
   ================================ */

#Modal_Instruction ul {
    margin: 0;
    padding-left: 25px;
}

    #Modal_Instruction ul li {
        margin-bottom: 13px;
        padding-left: 6px;
        color: #444;
        font-size: 14.5px;
        line-height: 1.7;
    }

        #Modal_Instruction ul li::marker {
            color: #0d6efd;
            font-weight: 700;
        }

        /* Links */
        #Modal_Instruction ul li a {
            color: #0d6efd;
            font-weight: 600;
            text-decoration: none;
        }

            #Modal_Instruction ul li a:hover {
                text-decoration: underline;
            }

        /* Important / Bold Text */
        #Modal_Instruction ul li strong {
            color: #222;
        }

        /* Negative marking instruction */
        #Modal_Instruction ul li strong {
            font-weight: 700;
        }

/* ================================
   Scrollbar
   ================================ */

#Modal_Instruction .Login_Desc > div:first-child {
    scrollbar-width: thin;
    scrollbar-color: #0d6efd #edf2f7;
}

    #Modal_Instruction .Login_Desc > div:first-child::-webkit-scrollbar {
        width: 7px;
    }

    #Modal_Instruction .Login_Desc > div:first-child::-webkit-scrollbar-track {
        background: #edf2f7;
        border-radius: 10px;
    }

    #Modal_Instruction .Login_Desc > div:first-child::-webkit-scrollbar-thumb {
        background: #0d6efd;
        border-radius: 10px;
    }

        #Modal_Instruction .Login_Desc > div:first-child::-webkit-scrollbar-thumb:hover {
            background: #084298;
        }

/* ================================
   Bottom Action Area
   ================================ */

#Modal_Instruction .shadow {
    width: 100%;
    padding: 16px 25px 20px;
    margin: 0;
    background: #f8f9fb;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
}

#Modal_Instruction .con_btn_for_reg {
    width: 100%;
}

    /* Checkbox */
    #Modal_Instruction .con_btn_for_reg p {
        margin: 0 0 12px;
    }

    #Modal_Instruction .con_btn_for_reg input[type="checkbox"] {
        width: 17px;
        height: 17px;
        margin-right: 7px;
        vertical-align: middle;
        accent-color: #0d6efd;
        cursor: pointer;
    }

    #Modal_Instruction .con_btn_for_reg label {
        color: #333;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
    }

/* Continue Button */
#Modal_Instruction #btncontregs {
    height: 46px;
    border: none;
    border-radius: 7px;
    background: linear-gradient(135deg, #f4a900, #e69500);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: all 0.25s ease;
}

    #Modal_Instruction #btncontregs:hover {
        background: linear-gradient(135deg, #198754, #157347);
        transform: translateY(-1px);
        box-shadow: 0 6px 15px rgba(25, 135, 84, 0.25);
    }

    #Modal_Instruction #btncontregs:active {
        transform: translateY(0);
    }

/* ================================
   Mobile Responsive
   ================================ */

@media (max-width: 767px) {


    #Modal_Instruction {
        padding: 15px 10px;
    }

    .HeaderTop .btn_grp_div > div {
        width: 100%;
        margin: 0px 4px !important;
    }

    .btn_grp_div > div {
        margin: 0 5px;
        width: auto !important;
    }

    #Modal_Instruction .LoginBox {
        max-width: 100%;
        border-radius: 10px;
    }

    #Modal_Instruction .heading {
        padding: 15px 18px;
    }

        #Modal_Instruction .heading h2 {
            font-size: 19px;
        }

    #Modal_Instruction .Model_closebtn {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }

    #Modal_Instruction .Login_Desc > div:first-child {
        max-height: 65vh !important;
        padding: 18px 17px !important;
    }

    #Modal_Instruction .errorcode {
        font-size: 14px;
        padding: 11px 13px;
    }

    #Modal_Instruction ul {
        padding-left: 21px;
    }

        #Modal_Instruction ul li {
            font-size: 13.5px;
            line-height: 1.65;
            margin-bottom: 11px;
        }

    #Modal_Instruction .shadow {
        padding: 14px 17px 16px;
    }

    #Modal_Instruction #btncontregs {
        height: 44px;
        font-size: 14px;
    }
}

.Model_closebtn {
    right: 10px;
    top: 8px;
    border: none !important
}

#Modal_Instruction #checkConditions {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #214470;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    vertical-align: middle;
    margin: 0 8px 0 0;
    position: relative;
    transition: all 0.2s ease;
}

    #Modal_Instruction #checkConditions:hover {
        background: #f0f6ff;
        box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
    }

    #Modal_Instruction #checkConditions:checked {
        background: #214470;
        border-color: #214470;
    }

        #Modal_Instruction #checkConditions:checked::after {
            content: "✓";
            position: absolute;
            color: #fff;
            font-size: 14px;
            font-weight: 700;
            left: 3px;
            top: -1px;
        }

#Modal_Instruction label[for="checkConditions"] {
    color: #263238;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    vertical-align: middle;
    transition: color 0.2s ease;
    margin-top: 2px;
}

    #Modal_Instruction label[for="checkConditions"]:hover {
        color: #0d6efd;
    }


@media (min-width: 768px) {

    .MainHeader {
        position: relative;
        z-index: 15;
        width: 100%;
        background: #fff;
        border-bottom: 1px solid #edf0f4;
        box-shadow: 0 4px 20px rgba(23, 43, 77, 0.06);
    }


        .MainHeader .container-fluid {
            display: flex;
            align-items: center;
            width: 100%;
            padding: 0 30px;
            box-sizing: border-box;
        }

        .MainHeader .col-sm-3,
        .MainHeader .col-sm-7,
        .MainHeader .col-sm-2,
        .MainHeader .col-md-3,
        .MainHeader .col-md-7,
        .MainHeader .col-md-2 {
            float: none;
            box-sizing: border-box;
        }


        /* Left Logo - 25% */

        .MainHeader .col-sm-3,
        .MainHeader .col-md-3 {
            width: 25%;
        }


        /* Navigation - 58% */

        .MainHeader .col-sm-7,
        .MainHeader .col-md-7 {
            width: 58%;
        }


        /* Right Logo - 17% */

        .MainHeader .col-sm-2,
        .MainHeader .col-md-2 {
            width: 17%;
        }


        /* =====================================================
       LEFT LOGO
       ===================================================== */

        .MainHeader .Logo {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            width: 100%;
            /*
         * Overrides:
         * style="margin-top: 33px;"
         * from your HTML.
         */
            margin-top: 0 !important;
        }


            .MainHeader .Logo a {
                display: flex;
                align-items: center;
            }


            .MainHeader .Logo img {
                display: block;
                width: auto;
                max-width: 100%;
                max-height: 80px;
                object-fit: contain;
                transition: transform 0.3s ease;
            }


                .MainHeader .Logo img:hover {
                    transform: scale(1.03);
                }

        .MainHeader .menubar {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
        }


        /* Navigation Container */

        .MainHeader #nav-1 {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 3px;
            width: max-content;
            max-width: 100%;
            padding: 6px;
            margin: 0;
            background: #f8fafc;
            border: 1px solid #e9edf2;
            border-radius: 14px;
            box-shadow: 0 5px 18px rgba(23, 43, 77, 0.05);
            box-sizing: border-box;
        }


            /* Navigation Links */

            .MainHeader #nav-1 .link-1 {
                position: relative;
                display: flex;
                align-items: center;
                justify-content: center;
                min-height: 42px;
                padding: 0 12px;
                color: #475467;
                font-size: 12px;
                font-weight: 700;
                letter-spacing: 0.25px;
                text-transform: uppercase;
                text-decoration: none;
                white-space: nowrap;
                border-radius: 9px;
                transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
            }

                /* .MainHeader #nav-1 .link-1::after {
                    content: "";
                    position: absolute;
                    left: 50%;
                    bottom: 5px;
                    width: 0;
                    height: 2px;
                    border-radius: 10px;
                    background: #f4a900;
                    transform: translateX(-50%);
                    transition: width 0.3s ease;
                }
*/

                .MainHeader #nav-1 .link-1:hover {
                    color: #172b4d;
                    background: #fff;
                    transform: translateY(-2px);
                    box-shadow: 0 5px 14px rgba(23, 43, 77, 0.08);
                }


                    .MainHeader #nav-1 .link-1:hover::after {
                        width: 25px;
                    }


                .MainHeader #nav-1 .link-1[href="/Default.aspx"]::after {
                    width: 25px;
                }

        .MainHeader .deaMLogo {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            width: 100%;
        }


            .MainHeader .deaMLogo img {
                display: block;
                width: auto;
                max-width: 85px;
                max-height: 70px;
                object-fit: contain;
                transition: transform 0.3s ease;
            }


                .MainHeader .deaMLogo img:hover {
                    transform: scale(1.05);
                }

        .MainHeader .Header_mobile {
            display: none;
        }


        .MainHeader .closebtn {
            display: none;
        }
}


/* =========================================================
   SMALL DESKTOP
   992px - 1200px
   ========================================================= */

@media (min-width: 992px) and (max-width: 1200px) {

    .MainHeader .container-fluid {
        padding: 0 20px;
    }


    /* Left Logo */

    .MainHeader .Logo img {
        max-width: 145px;
        max-height: 70px;
    }


    /* Navigation */

    .MainHeader #nav-1 {
        gap: 2px;
        padding: 5px;
    }


        .MainHeader #nav-1 .link-1 {
            min-height: 40px;
            padding: 0 8px;
            font-size: 10px;
            letter-spacing: 0.15px;
        }


    /* Right Logo */

    .MainHeader .deaMLogo img {
        max-width: 95px;
        max-height: 65px;
    }
}

@media only screen and (min-width:768px) and (max-width:991px) {
    .MainHeader .deaMLogo img {
        width: 55px;
        max-width: 65px;
        max-height: 70px;
    }

    .MainHeader #nav-1 .link-1 {
        padding: 0 4px;
        font-size: 9px;
    }
}



.olympiad-schedule-section {
    padding: 65px 20px;
}


/* =========================================
   SECTION HEADING
========================================= */

.schedule-section-heading {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

    .schedule-section-heading > span {
        display: inline-block;
        margin-bottom: 7px;
        color: #e96b20;
        font-size: 12px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1.4px;
    }

    .schedule-section-heading h2 {
        margin: 0 0 8px;
        color: #1c2b40;
        font-size: 32px;
        font-weight: 800;
    }

    .schedule-section-heading p {
        margin: 0;
        color: #7a8494;
        font-size: 15px;
    }


/* =========================================
   TWO COLUMN LAYOUT
========================================= */

.schedule-layout {
    max-width: 1180px;
    margin: auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 25px;
}


/* =========================================
   CARD
========================================= */

.schedule-card {
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(30, 48, 75, 0.055);
}


/* =========================================
   CARD HEADER
========================================= */

.schedule-card-header {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #edf0f4;
}

.schedule-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    font-size: 19px;
}

    .schedule-icon span {
        display: block;
    }

.fee-icon {
    background: linear-gradient(135deg, #fff3cd, #ffe69c);
    color: #9a6b00;
}

.date-icon {
    background: #edf4ff;
    color: #246bfd;
}

.schedule-card-header span {
    display: block;
    margin-bottom: 2px;
    color: #939cab;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.schedule-card-header h3 {
    margin: 0;
    color: #1c2b40;
    font-size: 21px;
    font-weight: 800;
}


/* =========================================
   FEE LIST
========================================= */

.fee-class-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fee-class-item {
    display: grid;
    grid-template-columns: 85px 1fr;
    gap: 12px;
    padding: 15px;
    border: 1px solid #edf0f4;
    border-radius: 12px;
    background: #fbfcfe;
}


/* CLASS */

.fee-class {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid #000000;
}

    .fee-class span {
        color: #e86a20;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .fee-class strong {
        margin-top: 3px;
        color: #1c2b40;
        font-size: 15px;
    }


/* MAIN FEE */

.fee-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

    .fee-info span {
        color: #3f4a5c;
        font-size: 13px;
        font-weight: 700;
    }

    .fee-info strong {
        color: #e86a20;
        font-size: 16px;
        white-space: nowrap;
    }


/* LEAGUES */

.fee-leagues {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

    .fee-leagues span {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 5px 7px;
        background: #f0f3f7;
        border-radius: 5px;
        color: #697487;
        font-size: 10px;
    }

    .fee-leagues b {
        color: #374154;
    }


/* =========================================
   EXAM PHASE
========================================= */

.exam-phase {
    display: flex;
    gap: 15px;
}

.phase-number {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

.phase-online .phase-number {
    background: #eaf2ff;
    color: #246bfd;
}

.phase-offline .phase-number {
    background: #fff0e6;
    color: #e86a20;
}

.phase-content {
    flex: 1;
    min-width: 0;
}


/* =========================================
   PHASE TOP
========================================= */

.phase-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.phase-label {
    display: block;
    margin-bottom: 3px;
    color: #246bfd;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.phase-offline .phase-label {
    color: #e86a20;
}

.phase-top h4 {
    margin: 0;
    color: #1c2b40;
    font-size: 17px;
    font-weight: 800;
}

.phase-date {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 7px;
    background: #f1f6ff;
    color: #246bfd;
    font-size: 10px;
    white-space: nowrap;
}

.phase-offline .phase-date {
    background: #fff5ee;
    color: #e86a20;
}


/* =========================================
   PHASE EVENTS
========================================= */

.phase-events {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.phase-event {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px;
    background: #f8faff;
    border-radius: 9px;
}

.event-date {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e2e9f4;
}

    .event-date strong {
        color: #246bfd;
        font-size: 14px;
        line-height: 14px;
    }

    .event-date span {
        color: #98a1b0;
        font-size: 7px;
        font-weight: 800;
    }

.event-info {
    display: flex;
    flex-direction: column;
}

    .event-info strong {
        color: #344055;
        font-size: 12px;
    }

    .event-info span {
        margin-top: 2px;
        color: #8a94a4;
        font-size: 10px;
    }


/* =========================================
   CONNECTOR
========================================= */

.phase-connector {
    height: 32px;
    margin-left: 21px;
    border-left: 2px dashed #dce2ea;
    display: flex;
    align-items: center;
}

    .phase-connector i {
        width: 17px;
        height: 17px;
        margin-left: -9px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #fff;
        color: #a3acba;
        font-size: 8px;
    }


/* =========================================
   OFFLINE EXAM LIST
========================================= */

.offline-exams {
    padding: 12px;
    background: #fffaf6;
    border-radius: 10px;
}

    .offline-exams > div {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 7px 0;
        color: #606b7b;
        font-size: 11px;
    }

        .offline-exams > div + div {
            border-top: 1px solid #f4e9df;
        }

    .offline-exams i {
        color: #e86a20;
        font-size: 12px;
    }

    .offline-exams span {
        min-width: 52px;
        color: #8b95a4;
        font-weight: 700;
    }

    .offline-exams strong {
        color: #3b4658;
    }


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .schedule-layout {
        grid-template-columns: 1fr;
        max-width: 700px;
    }
}


@media (max-width: 600px) {

    .olympiad-schedule-section {
        padding: 45px 14px;
    }

    .schedule-card {
        padding: 18px;
    }

    .schedule-section-heading h2 {
        font-size: 27px;
    }

    .fee-class-item {
        grid-template-columns: 70px 1fr;
    }

    .fee-leagues {
        grid-column: 2;
    }

    .phase-top {
        flex-direction: column;
        gap: 9px;
    }

    .phase-date {
        width: fit-content;
    }
}


@media (max-width: 430px) {

    .fee-class-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .fee-class {
        padding-bottom: 8px;
        border-right: 0;
        border-bottom: 1px solid #e5e9ef;
    }

    .fee-info {
        padding-top: 2px;
    }

    .fee-leagues {
        grid-column: auto;
    }

    .exam-phase {
        gap: 10px;
    }

    .phase-number {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        font-size: 10px;
    }

    .phase-connector {
        margin-left: 17px;
    }

    .offline-exams > div {
        align-items: flex-start;
        flex-wrap: wrap;
    }
}

.exam-date-block {
    padding: 18px;
    border-radius: 14px;
    margin-bottom: 14px;
}

.league-date-block {
    background: #f5f9ff;
    border: 1px solid #dfebff;
}

.olympiad-date-block {
    background: #fff8f3;
    border: 1px solid #ffe5d4;
}


/* =========================================
   DATE HEADER
========================================= */

.date-highlight {
    display: flex;
    align-items: center;
    gap: 14px;
}


/* DATE BOX */

.big-date {
    width: 58px;
    height: 62px;
    flex: 0 0 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 11px;
    box-shadow: 0 3px 10px rgba(30,48,75,.06);
}

    .big-date strong {
        line-height: 24px;
        font-size: 25px;
        font-weight: 800;
    }

    .big-date span {
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 1px;
    }


/* LEAGUE */

.league-date-block .big-date strong,
.league-date-block .big-date span {
    color: #246bfd;
}


/* OLYMPIAD */

.olympiad-date-block .big-date strong,
.olympiad-date-block .big-date span {
    color: #e86a20;
}


/* =========================================
   DATE CONTENT
========================================= */

.date-main-info {
    min-width: 0;
}

.date-type {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.league-date-block .date-type {
    color: #246bfd;
}

.olympiad-date-block .date-type {
    color: #e86a20;
}

.date-main-info h4 {
    margin: 0 0 3px;
    color: #1c2b40;
    font-size: 16px;
    font-weight: 800;
}

.date-main-info p {
    margin-top: 9px;
    color: #002a6c;
    font-size: 11px;
}
.phase-two-exams {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 18px;
}

.exam-item {
    flex: auto;
}

    .exam-item h4 {
        margin: 0 0 8px;
    }

    .exam-item p {
        margin: 0;
    }

.olympiad-item {
    padding-left: 40px;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.class-pills {
    margin-top: 8px;
}

    .class-pills span {
        display: inline-block;
    }


/* Mobile */
@media (max-width: 768px) {
    .phase-two-exams {
        flex-direction: column;
        gap: 18px;
    }

    .olympiad-item {
        padding-left: 0;
        padding-top: 14px;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        width: 100%;
    }
}

/* =========================================
   APPLICABLE CLASSES
========================================= */

.applicable-classes {
    margin-top: 17px;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,.06);
}

.classes-label {
    display: block;
    margin-bottom: 8px;
    color: black;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.class-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

    .class-pills span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 7px 11px;
        background: #fff;
        border: 1px solid #e1e6ed;
        border-radius: 7px;
        color: #354154;
        font-size: 11px;
        font-weight: 700;
    }


/* =========================================
   PHASE II
========================================= */

.phase-two-date {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 18px;
    padding: 16px;
    border-radius: 14px;
    background: #fff4eb;
    border: 1px solid #ffe0cb;
}

.phase-two-icon {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #fff;
    color: #e86a20;
    font-size: 18px;
}

.phase-two-content > span {
    display: block;
    margin-bottom: 2px;
    color: #e86a20;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.phase-two-content h4 {
    margin: 0 0 3px;
    color: #1c2b40;
    font-size: 17px;
    font-weight: 800;
}

.phase-two-content p {
    margin-top: 9px;
    color: #002a6c;
    font-size: 11px;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 500px) {

    .exam-date-block {
        padding: 15px;
    }

    .big-date {
        width: 52px;
        height: 56px;
        flex-basis: 59px;
    }

        .big-date strong {
            font-size: 22px;
        }

    .date-main-info h4 {
        font-size: 16px;
    }

    .class-pills span {
        padding: 6px 9px;
        font-size: 10px;
    }
}

.fee-content {
    min-width: 0;
}


/* =========================================
   RPS OLYMPIAD FEE
========================================= */

.olympiad-fee {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 11px 13px;
    background: #fff7f1;
    border: 1px solid #ffe0cc;
    border-radius: 9px;
}

.fee-name {
    display: flex;
    align-items: center;
    gap: 9px;
}

    .fee-name > i {
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 7px;
        background: #fff;
        color: #e86a20;
        font-size: 12px;
    }

    .fee-name span {
        display: block;
        color: #273449;
        font-size: 12px;
        font-weight: 800;
    }

    .fee-name small {
        display: block;
        margin-top: 2px;
        color: #9a7d69;
        font-size: 9px;
    }


/* IMPORTANT: OLYMPIAD PRICE */

.olympiad-price {
    padding: 5px 9px;
    color: #e86a20;
    background: #fff;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 900;
    white-space: nowrap;
}


/* =========================================
   LEAGUE SECTION
========================================= */

.league-fee-section {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #e3e7ed;
}

.league-heading {
    margin-bottom: 7px;
}

    .league-heading span {
        color: #8b95a4;
        font-size: 9px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .7px;
    }


/* =========================================
   LEAGUE FEES
========================================= */

.fee-leagues {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

    .fee-leagues span {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 6px 8px;
        background: #f5f7fa;
        border: 1px solid #e5e9ee;
        border-radius: 6px;
        color: #5d6879;
        font-size: 10px;
        font-weight: 600;
    }

    .fee-leagues b {
        padding-left: 4px;
        color: #e86a20;
        font-size: 11px;
        font-weight: 900;
    }


/* =========================================
   CLASS ITEM
========================================= */

.fee-class-item {
    display: grid;
    grid-template-columns: 85px 1fr;
    gap: 13px;
    padding: 14px;
    border: 1px solid #949494;
    border-radius: 12px;
    background: #fbfcfe;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .fee-class-item {
        grid-template-columns: 70px 1fr;
    }

    .olympiad-fee {
        padding: 10px;
    }

    .fee-name span {
        font-size: 11px;
    }

    .olympiad-price {
        font-size: 15px;
    }
}


@media (max-width: 430px) {

    .fee-class-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .fee-class {
        padding-bottom: 8px;
        border-right: 0;
        border-bottom: 1px solid #e5e9ef;
    }
}

#Olympiad-modal .modal-dialog {
    max-width: 500px;
    margin: 10px auto;
}
