html {
    font-size: 16px;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    color: #102f52;
    background: #ffffff;
}

a {
    text-decoration: none;
}


/* =========================================================
   HEADER
========================================================= */

.bimsr-header {
    height: 162px;
    background: #ffffff;
    border-bottom: 1px solid #e7edf4;
    position: relative;
    z-index: 10;
}

.header-inner {
    min-height: 162px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}


/* Logo + Institute */

.brand-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand-logo {
    width: 108px;
    height: 108px;
    min-width: 108px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

    .brand-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

.brand-details h1 {
    margin: 0;
    color: #123b64;
    font-size: 29px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .3px;
}

.brand-details p {
    margin: 8px 0 0;
    color: #63748a;
    font-size: 17px;
}


/* Header contact */

.header-contact {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

    .header-contact a {
        display: flex;
        align-items: center;
        gap: 12px;
        color: #123b64;
        font-size: 16px;
        font-weight: 500;
    }

    .header-contact i {
        font-size: 18px;
    }

.contact-divider {
    height: 35px;
    width: 1px;
    background: #cfd8e3;
    margin: 0 28px;
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    position: relative;
    min-height: 470px;
    background-image: url('/images/bimsr-campus.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(4, 39, 70, .98) 0%, rgba(7, 55, 91, .94) 35%, rgba(7, 55, 91, .70) 55%, rgba(7, 55, 91, .08) 100% );
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 620px;
    max-width: 100%;
    padding-top: 55px;
    padding-bottom: 50px;
    color: #ffffff;
}


/* Badge */

.admission-badge {
    display: inline-block;
    border: 1px solid #43c9ff;
    border-radius: 30px;
    padding: 9px 27px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .3px;
    margin-bottom: 23px;
}


/* Heading */

.hero-content h2 {
    margin: 0;
    font-size: 54px;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -1px;
}

    .hero-content h2 span {
        color: #45c4ff;
    }


/* Small line */

.hero-line {
    width: 75px;
    height: 3px;
    background: #45c4ff;
    margin-top: 28px;
    margin-bottom: 23px;
}


/* Description */

.hero-content p {
    margin: 0;
    max-width: 610px;
    font-size: 18px;
    line-height: 1.55;
    color: rgba(255,255,255,.94);
}


/* Admission Button */

.admission-button {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 30px;
    min-width: 330px;
    padding: 17px 28px;
    background: #ffffff;
    color: #123b64;
    border-radius: 9px;
    font-size: 21px;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(0,0,0,.18);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .admission-button i:first-child {
        font-size: 25px;
    }

    .admission-button i:last-child {
        margin-left: auto;
        font-size: 24px;
        color: #138bd0;
    }

    .admission-button:hover {
        color: #123b64;
        transform: translateY(-3px);
        box-shadow: 0 14px 30px rgba(0,0,0,.25);
    }


/* =========================================================
   INFORMATION SECTION
========================================================= */

.information-section {
    padding: 45px 0 48px;
    background: #ffffff;
}

.section-title {
    text-align: center;
    margin-bottom: 32px;
}

    .section-title span {
        color: #168dd4;
        font-size: 19px;
        font-weight: 700;
    }

.title-line {
    display: inline-block;
    width: 48px;
    height: 1px;
    background: #b9d7ea;
    vertical-align: middle;
    margin: 0 18px;
}

.section-title h2 {
    margin: 8px 0 2px;
    color: #123b64;
    font-size: 29px;
    font-weight: 700;
}

.section-title p {
    margin: 0;
    color: #123b64;
    font-size: 22px;
}


/* Cards */

.info-card {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 22px 26px;
    background: #ffffff;
    border: 1px solid #e3eaf1;
    border-radius: 9px;
    box-shadow: 0 4px 16px rgba(20,50,80,.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .info-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(20,50,80,.12);
    }

.info-icon {
    min-width: 72px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0879c8;
    color: #ffffff;
    font-size: 30px;
}

.info-content h3 {
    margin: 0 0 8px;
    color: #123b64;
    font-size: 20px;
    font-weight: 700;
}

.info-content p {
    margin: 0;
    color: #18375a;
    font-size: 15px;
    line-height: 1.5;
}


/* =========================================================
   FOOTER
========================================================= */

.bimsr-footer {
    background: #08375f;
    color: #ffffff;
    padding-top: 20px;
    padding-bottom: 10px;
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-institute {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-location-icon {
    font-size: 28px;
}

.footer-institute strong {
    display: block;
    font-size: 17px;
    font-weight: 600;
}

.footer-institute p {
    margin: 4px 0 0;
    color: rgba(255,255,255,.85);
    font-size: 14px;
}


.footer-contact {
    display: flex;
    align-items: center;
}

    .footer-contact a {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #ffffff;
        font-size: 15px;
    }

    .footer-contact i {
        font-size: 18px;
    }

.footer-divider {
    height: 32px;
    width: 1px;
    background: rgba(255,255,255,.55);
    margin: 0 25px;
}


.footer-bottom {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,.15);
    text-align: center;
    color: rgba(255,255,255,.9);
    font-size: 13px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1400px) {

    .brand-details h1 {
        font-size: 25px;
    }

    .brand-details p {
        font-size: 15px;
    }

    .header-contact a {
        font-size: 14px;
    }

    .contact-divider {
        margin: 0 18px;
    }

    .hero-content h2 {
        font-size: 48px;
    }
}


@media (max-width: 1100px) {

    .bimsr-header {
        height: auto;
    }

    .header-inner {
        min-height: auto;
        padding-top: 18px;
        padding-bottom: 18px;
        flex-direction: column;
        align-items: flex-start;
    }

    .header-contact {
        width: 100%;
    }

    .hero-section {
        min-height: 500px;
    }

    .footer-main {
        flex-direction: column;
        align-items: flex-start;
    }
}


@media (max-width: 767px) {

    .brand-area {
        gap: 13px;
    }

    .brand-logo {
        width: 75px;
        height: 75px;
        min-width: 75px;
    }

    .brand-details h1 {
        font-size: 18px;
    }

    .brand-details p {
        font-size: 13px;
        margin-top: 4px;
    }

    .header-contact {
        flex-wrap: wrap;
        gap: 12px;
    }

    .contact-divider {
        display: none;
    }

    .hero-content {
        padding-top: 45px;
    }

        .hero-content h2 {
            font-size: 40px;
        }

        .hero-content p {
            font-size: 16px;
        }

    .admission-button {
        min-width: 0;
        width: 100%;
        max-width: 330px;
    }

    .title-line {
        display: none;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .section-title p {
        font-size: 19px;
    }

    .info-card {
        padding: 20px;
    }

    .footer-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-divider {
        display: none;
    }
}


@media (max-width: 480px) {

    .hero-content h2 {
        font-size: 34px;
    }

    .admission-badge {
        font-size: 13px;
        padding: 8px 18px;
    }

    .info-icon {
        width: 60px;
        min-width: 60px;
        height: 60px;
        font-size: 24px;
    }
}


/* =========================================================
   LOGIN PAGE
========================================================= */

.login-page {
    min-height: calc(100vh - 0px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    background: linear-gradient( 135deg, #062e50 0%, #075985 55%, #0c8bc4 100% );
    overflow: hidden;
}


    .login-page::before {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        background: rgba(255,255,255,.05);
        top: -220px;
        right: -150px;
    }


    .login-page::after {
        content: "";
        position: absolute;
        width: 400px;
        height: 400px;
        border-radius: 50%;
        background: rgba(255,255,255,.04);
        bottom: -200px;
        left: -150px;
    }


.login-container {
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 2;
    text-align: center;
}


/* Logo */

.login-logo {
    width: 105px;
    height: 105px;
    margin: 0 auto -48px;
    position: relative;
    z-index: 3;
    border-radius: 50%;
    background: #ffffff;
    padding: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,.25);
}

    .login-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 50%;
    }


/* Card */

.login-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 70px 42px 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}


/* Header */

.login-header {
    margin-bottom: 30px;
}

    .login-header h1 {
        margin: 0;
        color: #123b64;
        font-size: 28px;
        font-weight: 700;
    }

    .login-header p {
        margin: 7px 0 0;
        color: #6b7b8f;
        font-size: 15px;
    }


/* Error */

.login-error {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 13px;
    margin-bottom: 22px;
    border-radius: 7px;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #be123c;
    text-align: left;
    font-size: 13px;
}

    .login-error i {
        font-size: 16px;
    }


/* Form */

.form-group {
    text-align: left;
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: #344054;
        font-size: 14px;
        font-weight: 600;
    }


.input-wrapper {
    position: relative;
}

    .input-wrapper > i:first-child {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #6b8aa5;
        font-size: 17px;
        z-index: 2;
    }


    .input-wrapper .form-control {
        height: 50px;
        padding-left: 45px;
        padding-right: 45px;
        border: 1px solid #d0d5dd;
        border-radius: 7px;
        color: #123b64;
        font-size: 14px;
        box-shadow: none;
        transition: border-color .2s ease, box-shadow .2s ease;
    }

        .input-wrapper .form-control:focus {
            border-color: #168dd4;
            box-shadow: 0 0 0 3px rgba(22,141,212,.12);
        }


/* Password */

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #667085;
    padding: 5px;
    cursor: pointer;
}

    .password-toggle:hover {
        color: #0879c8;
    }


/* Validation */

.validation-message {
    display: block;
    margin-top: 5px;
    color: #dc2626;
    font-size: 12px;
}


/* Login button */

.login-button {
    width: 100%;
    height: 52px;
    margin-top: 7px;
    border: 0;
    border-radius: 7px;
    background: #0879c8;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

    .login-button i {
        transition: transform .2s ease;
    }

    .login-button:hover {
        background: #0669ad;
        transform: translateY(-1px);
        box-shadow: 0 7px 18px rgba(8,121,200,.25);
    }

        .login-button:hover i {
            transform: translateX(4px);
        }


/* Secure footer */

.login-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eaecf0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #667085;
    font-size: 12px;
}

    .login-footer i {
        color: #0879c8;
    }


/* Back */

.back-home {
    margin-top: 22px;
}

    .back-home a {
        color: rgba(255,255,255,.9);
        font-size: 13px;
        transition: color .2s ease;
    }

        .back-home a:hover {
            color: #ffffff;
        }

    .back-home i {
        margin-right: 6px;
    }


/* Institute */

.institute-name {
    margin-top: 20px;
    color: rgba(255,255,255,.9);
    font-size: 12px;
}

    .institute-name span {
        display: block;
        margin-top: 4px;
        color: rgba(255,255,255,.65);
    }


/* Mobile */

@media (max-width: 576px) {

    .login-page {
        padding: 35px 15px;
    }

    .login-card {
        padding: 65px 25px 25px;
    }

    .login-logo {
        width: 90px;
        height: 90px;
        margin-bottom: -42px;
    }

    .login-header h1 {
        font-size: 24px;
    }
}

/* =========================================================
   DASHBOARD
========================================================= */

.dashboard-page {
    min-height: 100vh;
    background: #f5f8fc;
    display: flex;
    flex-direction: column;
}


/* Header */

.dashboard-header {
    background: #ffffff;
    border-bottom: 1px solid #e4eaf1;
    box-shadow: 0 2px 8px rgba(16, 42, 67, .04);
}

.dashboard-header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

    .dashboard-brand img {
        width: 58px;
        height: 58px;
        object-fit: contain;
    }

    .dashboard-brand h1 {
        margin: 0;
        color: #123b64;
        font-size: 19px;
        font-weight: 700;
    }

    .dashboard-brand span {
        display: block;
        margin-top: 4px;
        color: #718096;
        font-size: 12px;
    }


/* User */

.dashboard-user {
    display: flex;
    align-items: center;
    gap: 11px;
}

.user-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5f3fc;
    color: #0879c8;
    font-size: 18px;
}

.user-info {
    display: flex;
    flex-direction: column;
}

    .user-info strong {
        color: #123b64;
        font-size: 13px;
    }

    .user-info span {
        color: #8492a6;
        font-size: 11px;
    }

.logout-button {
    width: 40px;
    height: 40px;
    margin-left: 10px;
    border: 1px solid #e1e7ee;
    border-radius: 7px;
    background: #ffffff;
    color: #667085;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
}

    .logout-button:hover {
        background: #fff1f2;
        border-color: #fecdd3;
        color: #dc2626;
    }


/* Main */

.dashboard-main {
    flex: 1;
    padding: 42px 0 55px;
}


/* Welcome */

.dashboard-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.welcome-label {
    color: #168dd4;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.dashboard-welcome h2 {
    margin: 5px 0 3px;
    color: #123b64;
    font-size: 30px;
    font-weight: 700;
}

.dashboard-welcome p {
    margin: 0;
    color: #718096;
    font-size: 14px;
}

.session-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 7px;
    background: #e8f5fc;
    color: #0879c8;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}


/* Cards */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}


.dashboard-card {
    position: relative;
    min-height: 170px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e3eaf1;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    overflow: hidden;
}

    .dashboard-card:hover {
        transform: translateY(-4px);
        border-color: #c8ddea;
        box-shadow: 0 12px 30px rgba(16,42,67,.10);
    }


.dashboard-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5f3fc;
    color: #0879c8;
    font-size: 23px;
    margin-bottom: 20px;
}


.dashboard-card-content h3 {
    margin: 0 0 7px;
    color: #123b64;
    font-size: 17px;
    font-weight: 700;
}

.dashboard-card-content p {
    max-width: 330px;
    margin: 0;
    color: #718096;
    font-size: 13px;
    line-height: 1.55;
}


.card-arrow {
    position: absolute;
    right: 25px;
    bottom: 25px;
    color: #168dd4;
    font-size: 18px;
    transition: transform .2s ease;
}

.dashboard-card:hover .card-arrow {
    transform: translateX(4px);
}


/* Information */

.dashboard-information {
    margin-top: 28px;
    padding: 18px 22px;
    background: #ffffff;
    border: 1px solid #e3eaf1;
    border-left: 4px solid #168dd4;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.information-icon {
    color: #168dd4;
    font-size: 20px;
}

.dashboard-information strong {
    display: block;
    color: #123b64;
    font-size: 14px;
}

.dashboard-information p {
    margin: 4px 0 0;
    color: #718096;
    font-size: 12px;
}


/* Footer */

.dashboard-footer {
    background: #08375f;
    color: rgba(255,255,255,.8);
    padding: 16px 0;
}

.dashboard-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 12px;
}


/* Responsive */

@media (max-width: 1000px) {

    .dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 767px) {

    .dashboard-header-inner {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .dashboard-brand h1 {
        font-size: 15px;
    }

    .dashboard-brand img {
        width: 48px;
        height: 48px;
    }

    .user-info {
        display: none;
    }

    .dashboard-welcome {
        align-items: flex-start;
        flex-direction: column;
    }

        .dashboard-welcome h2 {
            font-size: 25px;
        }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================================
   ADMISSION FORM
========================================================= */

.admission-form-page {
    min-height: 100vh;
    background: #f5f8fc;
}


/* Header */

.admission-form-header {
    background: #ffffff;
    border-bottom: 1px solid #e3eaf1;
    box-shadow: 0 2px 8px rgba(16, 42, 67, .04);
}

.form-header-content {
    min-height: 125px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.admission-logo {
    width: 85px;
    height: 85px;
    object-fit: contain;
}

.form-header-content h1 {
    margin: 0;
    color: #123b64;
    font-size: 25px;
    font-weight: 700;
}

.form-header-content p {
    margin: 5px 0;
    color: #687b91;
    font-size: 14px;
}

.form-header-content span {
    color: #0879c8;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .6px;
}


/* Form Section */

.form-section {
    background: #ffffff;
    border: 1px solid #e1e8ef;
    border-radius: 10px;
    padding: 28px;
    margin-bottom: 22px;
    box-shadow: 0 3px 12px rgba(16, 42, 67, .04);
}


/* Section Heading */

.section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
    margin-bottom: 25px;
    border-bottom: 1px solid #edf1f5;
}

    .section-heading > span {
        width: 38px;
        height: 38px;
        min-width: 38px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #e5f3fc;
        color: #0879c8;
        font-size: 13px;
        font-weight: 700;
    }

    .section-heading h2 {
        margin: 0;
        color: #123b64;
        font-size: 20px;
        font-weight: 700;
    }

    .section-heading p {
        margin: 3px 0 0;
        color: #8492a6;
        font-size: 12px;
    }


/* Labels */

.form-label {
    color: #344054;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 7px;
}

.form-control,
.form-select {
    min-height: 45px;
    border-color: #d6dee7;
    border-radius: 6px;
    color: #123b64;
    font-size: 14px;
    box-shadow: none;
}

    .form-control:focus,
    .form-select:focus {
        border-color: #168dd4;
        box-shadow: 0 0 0 3px rgba(22, 141, 212, .10);
    }


/* Marks */

.marks-table-wrapper {
    border: 1px solid #dfe7ef;
    border-radius: 8px;
    overflow: hidden;
}

.marks-table {
    margin: 0;
    vertical-align: middle;
}

    .marks-table thead th {
        padding: 14px 16px;
        background: #edf6fb;
        color: #123b64;
        border-bottom: 1px solid #d6e4ed;
        font-size: 13px;
        font-weight: 700;
        text-align: center;
    }

        .marks-table thead th:first-child {
            text-align: left;
        }

    .marks-table tbody td {
        padding: 12px 14px;
        border-color: #edf1f5;
        background: #ffffff;
    }

    .marks-table tbody tr:last-child td {
        border-bottom: 0;
    }

    .marks-table tbody tr:hover td {
        background: #fbfdff;
    }

    .marks-table .form-control {
        min-height: 40px;
        text-align: center;
        font-size: 13px;
    }


/* Subject */

.subject-name {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #123b64;
    font-size: 14px;
    font-weight: 600;
}

.subject-number {
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f6fa;
    color: #0879c8;
    font-size: 11px;
}


/* Required */

.required::after {
    content: " *";
    color: #dc2626;
}


/* Address */

.address-box {
    resize: vertical;
    min-height: 120px;
}


/* Actions */

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0 25px;
}

.save-button {
    min-width: 180px;
    min-height: 46px;
    font-weight: 600;
}

.validation-message {
    display: block;
    margin-top: 5px;
    font-size: 12px;
}

.validation-summary {
    font-size: 13px;
}

.form-control.input-validation-error,
.form-select.input-validation-error {
    border-color: #dc3545 !important;
    background-image: none !important;
}

    .form-control.input-validation-error:focus,
    .form-select.input-validation-error:focus {
        border-color: #dc3545 !important;
        box-shadow: 0 0 0 3px rgba(220, 53, 69, .10) !important;
    }

.declaration-box {
    background: #f8fbfd;
    border: 1px solid #d9e6ef;
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 20px;
}

    .declaration-box .form-check {
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }


.photo-upload-card {
    border: 1px solid #dfe7ef;
    border-radius: 10px;
    background: #fbfdff;
    padding: 15px;
    text-align: center;
}

.photo-preview {
    width: 150px;
    height: 180px;
    margin: 0 auto 12px;
    border: 1px dashed #b8c9d8;
    border-radius: 8px;
    background: #f4f8fb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .photo-preview img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

#photoPlaceholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #91a1b2;
}

    #photoPlaceholder i {
        font-size: 40px;
    }

    #photoPlaceholder span {
        font-size: 12px;
    }

.photo-upload-btn {
    width: 100%;
    font-size: 13px;
    font-weight: 600;
}

.photo-help {
    margin-top: 8px;
    color: #8a98a8;
    font-size: 11px;
    line-height: 1.5;
}

.declaration-box {
    background: #f8fbfd;
    border: 1px solid #d9e6ef;
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 20px;
}

    .declaration-box .form-check {
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

    .declaration-box .form-check-input {
        width: 18px;
        height: 18px;
        margin-top: 2px;
        flex-shrink: 0;
        cursor: pointer;
    }

        .declaration-box .form-check-input:checked {
            background-color: #0d6efd;
            border-color: #0d6efd;
        }

        .declaration-box .form-check-input:focus {
            outline: none;
            box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
        }

    .declaration-box .form-check-label {
        color: #344054;
        font-size: 13px;
        line-height: 1.6;
        cursor: pointer;
    }

#declarationError {
    display: none;
    margin-left: 28px;
    margin-top: 5px;
}

/* Mobile */

@media (max-width: 767px) {

    .form-header-content {
        padding: 18px 0;
    }

    .admission-logo {
        width: 65px;
        height: 65px;
    }

    .form-header-content h1 {
        font-size: 18px;
    }

    .form-header-content p {
        font-size: 12px;
    }

    .form-section {
        padding: 18px 15px;
    }

    .marks-table {
        min-width: 650px;
    }

    .marks-table-wrapper {
        overflow-x: auto;
    }

    .form-actions {
        gap: 10px;
    }

        .form-actions .btn {
            flex: 1;
        }
}
