/* =========================================================
    Your Institute Online Examination System 
========================================================= */

.brand-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

.brand-title h1 {
    margin: 0;
}

.brand-title p {
    margin: 2px 0 0;
}


/* MOBILE */

@media (max-width: 600px) {

    .brand-logo {
        width: 45px;
        height: 45px;
    }

    .brand-title {
        gap: 9px;
    }

}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


body {

    background: #f4f6fb;

    color: #1e293b;

}



/* =========================================
   HEADER
========================================= */

.header {

    height: 75px;

    background: #ffffff;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 8%;

    border-bottom: 1px solid #e5e7eb;

}



.logo-section {

    display: flex;

    align-items: center;

    gap: 12px;

}



.logo {

    width: 45px;

    height: 45px;

    background: #2563eb;

    color: white;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: bold;

    font-size: 18px;

}



.organization h2 {

    font-size: 18px;

    color: #1d4ed8;

}



.organization span {

    font-size: 11px;

    color: #64748b;

    letter-spacing: 1px;

}



.admin-btn {
    display: inline-block;
    text-decoration: none;

    border: none;
    background: #1d4ed8;
    color: white;

    padding: 10px 18px;

    border-radius: 8px;

    cursor: pointer;

    font-weight: 600;
}

.admin-btn:hover {
    background: #1e40af;
}



/* =========================================
   MAIN LAYOUT
========================================= */

.main-container {

    min-height: calc(100vh - 120px);

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;

    max-width: 1200px;

    margin: auto;

    padding: 60px 25px;

    align-items: center;

}



/* =========================================
   LEFT WELCOME SECTION
========================================= */

.welcome-section {

    padding: 20px;

}



.tag {

    display: inline-block;

    background: #dbeafe;

    color: #1d4ed8;

    padding: 8px 15px;

    border-radius: 20px;

    font-size: 12px;

    font-weight: bold;

    margin-bottom: 18px;

}



.welcome-text h1 {

    font-size: 42px;

    line-height: 1.2;

    margin-bottom: 18px;

    color: #0f172a;

}



.welcome-text p {

    color: #64748b;

    font-size: 16px;

    line-height: 1.7;

    max-width: 500px;

}



/* =========================================
   REGISTRATION CARD
========================================= */

.registration-card {

    background: white;

    padding: 35px;

    border-radius: 18px;

    box-shadow:
        0 15px 40px
        rgba(0, 0, 0, 0.08);

}



.registration-card h2 {

    font-size: 26px;

    margin-bottom: 8px;

}



.card-subtitle {

    color: #64748b;

    font-size: 14px;

    line-height: 1.5;

    margin-bottom: 25px;

}



/* =========================================
   INPUTS
========================================= */

.input-group {

    display: flex;

    flex-direction: column;

    margin-bottom: 18px;

}



.input-group label {

    margin-bottom: 7px;

    font-weight: 600;

    font-size: 14px;

}



.required {

    color: #dc2626;

}



.input-group input {

    width: 100%;

    padding: 13px 14px;

    border: 1px solid #d1d5db;

    border-radius: 8px;

    outline: none;

    font-size: 14px;

    transition: 0.2s;

}



.input-group input:focus {

    border-color: #2563eb;

    box-shadow:
        0 0 0 3px
        rgba(37, 99, 235, 0.10);

}



.input-group input.input-error {

    border-color: #dc2626;

    background: #fffafa;

}



.input-group input.input-error:focus {

    box-shadow:
        0 0 0 3px
        rgba(220, 38, 38, 0.10);

}



/* =========================================
   ERROR MESSAGES
========================================= */

.error-message {

    display: block;

    color: #dc2626;

    font-size: 12px;

    margin-top: 6px;

    line-height: 1.4;

}



/* =========================================
   EXAM DETAILS
========================================= */

.exam-details {

    display: grid;

    grid-template-columns: 1fr;

    gap: 10px;

    margin: 22px 0;

}



.detail-box {

    background: #f8fafc;

    border: 1px solid #e5e7eb;

    padding: 13px;

    border-radius: 10px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

}



.detail-box span {

    font-size: 13px;

    color: #64748b;

}



.detail-box strong {

    font-size: 13px;

    color: #1e40af;

    text-align: right;

}



/* =========================================
   INSTRUCTIONS
========================================= */

.instruction-box {

    background: #eff6ff;

    border-left: 4px solid #2563eb;

    padding: 17px;

    border-radius: 8px;

    margin-bottom: 18px;

}



.instruction-box h3 {

    font-size: 14px;

    margin-bottom: 10px;

    color: #1e3a8a;

}



.instruction-box ul {

    padding-left: 18px;

}



.instruction-box li {

    font-size: 13px;

    color: #475569;

    line-height: 1.5;

    margin: 7px 0;

}



/* =========================================
   CONFIRMATION
========================================= */

.agree {

    display: flex;

    gap: 9px;

    align-items: flex-start;

    font-size: 13px;

    line-height: 1.5;

    margin-bottom: 5px;

    color: #475569;

    cursor: pointer;

}



.agree input {

    width: 16px;

    height: 16px;

    margin-top: 2px;

    cursor: pointer;

}



/* =========================================
   START BUTTON
========================================= */

.start-btn {

    width: 100%;

    padding: 14px;

    margin-top: 18px;

    background: #2563eb;

    color: white;

    border: none;

    border-radius: 9px;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.2s;

}



.start-btn:hover {

    background: #1d4ed8;

    transform: translateY(-1px);

}



.start-btn:active {

    transform: translateY(0);

}



/* =========================================
   FOOTER
========================================= */

footer {

    text-align: center;

    padding: 18px 20px;

    color: #64748b;

    font-size: 13px;

}



/* =========================================
   TABLET
========================================= */

@media (max-width: 850px) {

    .main-container {

        grid-template-columns: 1fr;

        padding-top: 35px;

        gap: 25px;

    }


    .welcome-section {

        text-align: center;

    }


    .welcome-text p {

        margin: auto;

    }


    .welcome-text h1 {

        font-size: 34px;

    }

}



/* =========================================
   MOBILE
========================================= */

@media (max-width: 500px) {

    .header {

        padding: 0 18px;

    }


    .organization h2 {

        font-size: 15px;

    }


    .organization span {

        display: none;

    }


    .admin-btn {

        padding: 8px 11px;

        font-size: 11px;

    }


    .main-container {

        padding:
            25px 15px
            40px;

    }


    .welcome-section {

        padding: 10px;

    }


    .welcome-text h1 {

        font-size: 28px;

    }


    .welcome-text p {

        font-size: 14px;

    }


    .registration-card {

        padding: 23px;

        border-radius: 14px;

    }


    .registration-card h2 {

        font-size: 22px;

    }


    .detail-box {

        align-items: flex-start;

    }

}
/* =========================================================
   SAL KWTAL HEADER LOGO
========================================================= */

.brand-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 55px;
    height: 55px;

    object-fit: cover;

    border-radius: 50%;

    flex-shrink: 0;
}

.brand-title h1 {
    margin: 0;
}

.brand-title p {
    margin: 3px 0 0;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .brand-title {
        gap: 9px;
    }

    .brand-logo {
        width: 44px;
        height: 44px;
    }

}

/* =========================================================
   HEADER LOGO
========================================================= */

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}


.brand-logo {
    width: 55px;
    height: 55px;

    object-fit: cover;

    border-radius: 50%;

    flex-shrink: 0;
}


.organization {
    display: flex;
    flex-direction: column;
}


.organization h2 {
    margin: 0;
}


.organization span {
    margin-top: 2px;
}


@media (max-width: 600px) {

    .brand-logo {
        width: 44px;
        height: 44px;
    }

    .logo-section {
        gap: 9px;
    }

}

/* =========================================================
   HEADER - FINAL LOGO FIX
========================================================= */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 82px;

    padding: 12px 7%;

    background: #ffffff;

    box-sizing: border-box;

    position: relative;

    z-index: 100;
}


/* =========================================================
   LOGO + ORGANIZATION
========================================================= */

.header .logo-section {
    display: flex;
    align-items: center;

    gap: 12px;

    width: auto;
    height: auto;

    padding: 0;
    margin: 0;

    background: transparent;
}


/* =========================================================
   ACTUAL LOGO IMAGE
========================================================= */

.header .logo-section .brand-logo {
    display: block;

    width: 58px !important;
    height: 58px !important;

    min-width: 58px;
    max-width: 58px;

    min-height: 58px;
    max-height: 58px;

    object-fit: contain;

    object-position: center;

    border-radius: 50%;

    margin: 0;
    padding: 0;

    flex: 0 0 58px;

    background: #ffffff;
}


/* =========================================================
   ORGANIZATION TEXT
========================================================= */

.header .organization {
    display: flex;
    flex-direction: column;
    justify-content: center;

    width: auto;

    margin: 0;
    padding: 0;

    line-height: 1.2;
}


.header .organization h2 {
    margin: 0;
    padding: 0;

    font-size: 21px;
    font-weight: 700;

    line-height: 1.15;

    color: #1d4ed8;
}


.header .organization span {
    display: block;

    margin-top: 4px;

    font-size: 11px;
    font-weight: 500;

    letter-spacing: 1px;

    color: #64748b;

    white-space: nowrap;
}


/* =========================================================
   ADMIN BUTTON
========================================================= */

.header .admin-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: auto;

    padding: 11px 20px;

    margin: 0;

    border-radius: 8px;

    text-decoration: none;

    white-space: nowrap;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 768px) {

    .header {
        padding: 10px 20px;
        min-height: 72px;
    }


    .header .logo-section .brand-logo {
        width: 50px !important;
        height: 50px !important;

        min-width: 50px;
        max-width: 50px;

        min-height: 50px;
        max-height: 50px;

        flex-basis: 50px;
    }


    .header .organization h2 {
        font-size: 18px;
    }


    .header .organization span {
        font-size: 9px;

        letter-spacing: 0.7px;
    }


    .header .admin-btn {
        padding: 9px 14px;

        font-size: 13px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    .header {
        padding: 9px 12px;

        gap: 10px;
    }


    .header .logo-section {
        gap: 8px;

        min-width: 0;
    }


    .header .logo-section .brand-logo {
        width: 42px !important;
        height: 42px !important;

        min-width: 42px;
        max-width: 42px;

        min-height: 42px;
        max-height: 42px;

        flex-basis: 42px;
    }


    .header .organization h2 {
        font-size: 15px;
    }


    .header .organization span {
        font-size: 7px;

        letter-spacing: 0.3px;

        white-space: normal;
    }


    .header .admin-btn {
        padding: 8px 10px;

        font-size: 11px;

        flex-shrink: 0;
    }

}