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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #102a56;
}
/* =========================================
   TALENT SCHOLARSHIP TEST - HEADER
========================================= */

.site-header {
    width: 100%;
    background: #ffffff;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
/* =====================================
   HEADER
===================================== */

.site-header {
    width: 100%;
    background: #ffffff;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-container {
    width: 100%;
    max-width: 1200px;
    height: 82px;
    margin: 0 auto;
    padding: 0 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    width: 70px;
    height: 70px;
    display: block;
    object-fit: contain;
}

/* =====================================
   DESKTOP NAVIGATION
===================================== */

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    text-decoration: none;
    color: #092653;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s ease;
}

.main-nav a:hover {
    color: #d9a321;
}

/* =====================================
   MOBILE MENU BUTTON
===================================== */

.menu-toggle {
    display: none;

    border: none;
    background: transparent;

    color: #092653;

    font-size: 28px;
    cursor: pointer;

    padding: 5px;
}

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

@media (max-width: 768px) {

    .header-container {
        height: 80px;
        padding: 0 18px;
    }

    .logo img {
        width: 62px;
        height: 62px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;

        position: absolute;
        top: 80px;
        left: 0;

        width: 100%;

        background: #ffffff;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.10);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        display: block;

        padding: 15px 22px;

        border-bottom: 1px solid #eeeeee;

        font-size: 16px;
    }
}

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

@media (max-width: 480px) {

    .header-container {
        height: 76px;
        padding: 0 14px;
    }

    .logo img {
        width: 58px;
        height: 58px;
    }

    .menu-toggle {
        font-size: 26px;
    }

    .main-nav {
        top: 76px;
    }
}

/* =========================
   BRAND / LOGO
========================= */

.brand {
    display: flex;
    align-items: center;

    gap: 12px;

    text-decoration: none;
}

.brand img {
    width: 58px;
    height: 58px;

    object-fit: contain;
}

.brand-name {
    color: #092653;

    font-size: 19px;
    font-weight: 800;

    letter-spacing: 0.3px;

    white-space: nowrap;
}


/* =========================
   NAVIGATION
========================= */

.main-nav {
    display: flex;
    align-items: center;

    gap: 4px;
}

.main-nav a {
    position: relative;

    text-decoration: none;

    color: #243b62;

    font-size: 14px;
    font-weight: 600;

    padding: 11px 12px;

    transition: 0.3s ease;
}


/* Navigation Hover Line */

.main-nav a:not(.apply-btn)::after {

    content: "";

    position: absolute;

    left: 12px;
    right: 12px;

    bottom: 3px;

    height: 2px;

    background: #d7a126;

    transform: scaleX(0);

    transition: 0.3s ease;
}

.main-nav a:not(.apply-btn):hover::after {
    transform: scaleX(1);
}

.main-nav a:not(.apply-btn):hover {
    color: #d19a1d;
}


/* =========================
   APPLY BUTTON
========================= */

.apply-btn {

    background: #d9a329;

    color: #ffffff !important;

    padding: 12px 20px !important;

    margin-left: 8px;

    border-radius: 6px;

    box-shadow:
        0 5px 12px rgba(217, 163, 41, 0.25);

    transition: 0.3s ease;
}

.apply-btn:hover {

    background: #bd8918;

    transform: translateY(-2px);

    box-shadow:
        0 7px 15px rgba(217, 163, 41, 0.35);
}


/* =========================
   MOBILE MENU BUTTON
========================= */

.menu-btn {

    display: none;

    width: 42px;
    height: 42px;

    border: none;

    background: #092653;

    color: #ffffff;

    border-radius: 6px;

    font-size: 23px;

    cursor: pointer;
}


/* =========================
   TEMPORARY HERO
========================= */

/* =========================
   FULL HOME PAGE BACKGROUND
========================= */

.hero {
    width: 100%;
    min-height: calc(100vh - 82px);

    background-image: url("./test-background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

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

    position: relative;
    text-align: center;
}


/* تصویر کو تھوڑا Dark کرنا تاکہ Text صاف نظر آئے */

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0, 20, 50, 0.55);
}


/* Home کا Text تصویر کے اوپر */

.hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1000px;

    padding: 40px 20px;

    color: #ffffff;
}


/* Welcome Text */

.hero-subtitle {
    font-size: 18px;

    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: #e0ad3b;

    margin-bottom: 15px;
}


/* Main Heading */

.hero h1 {
    font-size: 58px;

    font-weight: 800;

    line-height: 1.15;

    color: #ffffff;

    margin-bottom: 22px;

    text-shadow:
        0 4px 15px rgba(0, 0, 0, 0.35);
}


/* Description */

.hero-description {
    max-width: 700px;

    margin: 0 auto 35px;

    font-size: 19px;

    line-height: 1.7;

    color: #f2f2f2;
}


/* Buttons */

.hero-buttons {
    display: flex;

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

    gap: 15px;

    flex-wrap: wrap;
}


.hero-btn {
    display: inline-block;

    text-decoration: none;

    padding: 14px 28px;

    border-radius: 6px;

    font-size: 15px;

    font-weight: 700;

    transition: 0.3s ease;
}


/* Apply Button */

.primary-btn {
    background: #d9a329;

    color: #ffffff;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.2);
}


.primary-btn:hover {
    background: #bd8918;

    transform: translateY(-3px);
}


/* Learn More Button */

.secondary-btn {
    background: rgba(255, 255, 255, 0.12);

    color: #ffffff;

    border: 1px solid #ffffff;
}


.secondary-btn:hover {
    background: #ffffff;

    color: #092653;

    transform: translateY(-3px);
}


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

@media (max-width: 850px) {

    .hero {
        min-height: 580px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-description {
        font-size: 17px;
    }
}


@media (max-width: 480px) {

    .hero {
        min-height: 550px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-btn {
        width: 100%;
        max-width: 280px;
    }
}


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

@media (max-width: 1050px) {

    .main-nav {
        gap: 0;
    }

    .main-nav a {

        font-size: 13px;

        padding: 10px 8px;
    }

    .apply-btn {
        padding: 11px 14px !important;
    }

    .brand-name {
        font-size: 16px;
    }
}


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

@media (max-width: 850px) {

    .site-header {
        height: 72px;
    }

    .brand img {

        width: 50px;
        height: 50px;
    }

    .brand-name {
        font-size: 16px;
    }

    .menu-btn {
        display: block;
    }


    /* Mobile Navigation */

    .main-nav {

        position: absolute;

        top: 72px;
        left: 0;

        width: 100%;

        background: #ffffff;

        display: none;

        flex-direction: column;

        align-items: stretch;

        padding: 12px 20px 20px;

        box-shadow:
            0 10px 20px rgba(0, 0, 0, 0.08);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {

        width: 100%;

        text-align: left;

        padding: 14px 10px;

        border-bottom: 1px solid #eeeeee;
    }


    /* Apply Button Mobile */

    .apply-btn {

        text-align: center !important;

        margin: 12px 0 0;

        border-bottom: none !important;
    }


    /* Hero */

    .hero h1 {
        font-size: 38px;
    }
}


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

@media (max-width: 480px) {

    .header-container {
        padding: 0 15px;
    }

    .brand-name {
        font-size: 14px;
    }

    .brand img {

        width: 45px;
        height: 45px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }
}/* =========================
   ABOUT SECTION
========================= */

.about-section {
    width: 100%;

    padding: 100px 20px;

    background: #ffffff;
}


.about-container {
    max-width: 1150px;

    margin: auto;

    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 70px;

    align-items: center;
}


/* =========================
   ABOUT CONTENT
========================= */

.about-content {
    max-width: 650px;
}


.section-label {
    display: inline-block;

    color: #d3a027;

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 15px;
}


.about-content h2 {
    color: #092653;

    font-size: 42px;

    line-height: 1.2;

    margin-bottom: 25px;
}


.about-content h2 span {
    color: #d3a027;
}


.about-content p {
    color: #64748b;

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 18px;
}


/* =========================
   ABOUT BUTTON
========================= */

.about-btn {
    display: inline-block;

    margin-top: 12px;

    padding: 13px 25px;

    background: #092653;

    color: #ffffff;

    text-decoration: none;

    border-radius: 6px;

    font-size: 15px;

    font-weight: 700;

    transition: 0.3s ease;
}


.about-btn:hover {
    background: #d3a027;

    transform: translateY(-2px);
}


/* =========================
   ABOUT CARD
========================= */

.about-card {
    padding: 45px 35px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            #f7faff,
            #fffaf0
        );

    border-radius: 15px;

    border: 1px solid #edf0f5;

    box-shadow:
        0 15px 40px rgba(9, 38, 83, 0.08);
}


.about-icon {
    width: 75px;
    height: 75px;

    margin: 0 auto 22px;

    display: flex;

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

    background: #092653;

    border-radius: 50%;

    font-size: 32px;
}


.about-card h3 {
    color: #092653;

    font-size: 24px;

    margin-bottom: 15px;
}


.about-card p {
    color: #64748b;

    font-size: 15px;

    line-height: 1.7;

    margin-bottom: 25px;
}


.about-line {
    width: 50px;
    height: 3px;

    background: #d3a027;

    margin: 0 auto 18px;
}


.about-card strong {
    color: #092653;

    font-size: 14px;

    letter-spacing: 0.5px;
}


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

@media (max-width: 850px) {

    .about-section {
        padding: 75px 20px;
    }

    .about-container {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .about-content {
        max-width: 100%;

        text-align: center;
    }

    .about-content h2 {
        font-size: 36px;
    }
}


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

@media (max-width: 480px) {

    .about-section {
        padding: 60px 18px;
    }

    .about-content h2 {
        font-size: 30px;
    }

    .about-content p {
        font-size: 15px;
    }

    .about-card {
        padding: 35px 22px;
    }
}/* =========================
   SCHOLARSHIP TEST SECTION
========================= */

.test-section {
    width: 100%;

    padding: 100px 20px;

    background: #f7f9fc;
}


.test-container {
    max-width: 1150px;

    margin: auto;
}


/* =========================
   SECTION HEADING
========================= */

.section-heading {
    max-width: 750px;

    margin: 0 auto 55px;

    text-align: center;
}


.section-heading .section-label {
    display: inline-block;

    color: #d3a027;

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 15px;
}


.section-heading h2 {
    color: #092653;

    font-size: 42px;

    line-height: 1.2;

    margin-bottom: 20px;
}


.section-heading h2 span {
    color: #d3a027;
}


.section-heading p {
    color: #64748b;

    font-size: 16px;

    line-height: 1.8;
}


/* =========================
   TEST CARDS
========================= */

.test-cards {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 22px;
}


.test-card {

    background: #ffffff;

    padding: 35px 25px;

    text-align: center;

    border-radius: 12px;

    border: 1px solid #e8edf4;

    box-shadow:
        0 8px 25px rgba(9, 38, 83, 0.05);

    transition: 0.3s ease;
}


.test-card:hover {

    transform: translateY(-8px);

    box-shadow:
        0 18px 35px rgba(9, 38, 83, 0.10);

    border-color: #d3a027;
}


/* Card Icon */

.test-card-icon {

    width: 65px;
    height: 65px;

    margin: 0 auto 20px;

    display: flex;

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

    background: #092653;

    border-radius: 50%;

    font-size: 27px;
}


.test-card h3 {

    color: #092653;

    font-size: 20px;

    margin-bottom: 13px;
}


.test-card p {

    color: #64748b;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================
   CTA
========================= */

.test-cta {

    margin-top: 55px;

    padding: 45px 25px;

    text-align: center;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #092653,
            #123b72
        );

    color: #ffffff;
}


.test-cta h3 {

    font-size: 28px;

    margin-bottom: 12px;
}


.test-cta p {

    color: #dce5f2;

    font-size: 16px;

    margin-bottom: 25px;
}


.test-btn {

    display: inline-block;

    padding: 13px 28px;

    background: #d3a027;

    color: #ffffff;

    text-decoration: none;

    border-radius: 6px;

    font-size: 15px;

    font-weight: 700;

    transition: 0.3s ease;
}


.test-btn:hover {

    background: #bd8918;

    transform: translateY(-2px);
}


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

@media (max-width: 1000px) {

    .test-cards {

        grid-template-columns:
            repeat(2, 1fr);
    }
}


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

@media (max-width: 600px) {

    .test-section {

        padding: 70px 18px;
    }

    .section-heading h2 {

        font-size: 32px;
    }

    .test-cards {

        grid-template-columns: 1fr;
    }

    .test-cta {

        padding: 35px 20px;
    }

    .test-cta h3 {

        font-size: 23px;
    }
}/* =========================
   WHY CHOOSE US
========================= */

.why-section {
    width: 100%;

    padding: 100px 20px;

    background: #ffffff;
}


.why-container {
    max-width: 1150px;

    margin: auto;
}


/* Heading */

.why-heading {
    max-width: 750px;

    margin: 0 auto 60px;

    text-align: center;
}


.why-heading .section-label {
    display: inline-block;

    color: #d3a027;

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 15px;
}


.why-heading h2 {
    color: #092653;

    font-size: 42px;

    line-height: 1.2;

    margin-bottom: 20px;
}


.why-heading h2 span {
    color: #d3a027;
}


.why-heading p {
    color: #64748b;

    font-size: 16px;

    line-height: 1.8;
}


/* Grid */

.why-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;
}


/* Item */

.why-item {

    display: flex;

    gap: 22px;

    padding: 30px;

    background: #f8fafc;

    border: 1px solid #e8edf4;

    border-radius: 12px;

    transition: 0.3s ease;
}


.why-item:hover {

    transform: translateY(-5px);

    border-color: #d3a027;

    box-shadow:
        0 15px 30px rgba(9, 38, 83, 0.07);
}


/* Number */

.why-number {

    min-width: 52px;
    height: 52px;

    display: flex;

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

    background: #092653;

    color: #d3a027;

    border-radius: 8px;

    font-size: 14px;

    font-weight: 800;
}


/* Text */

.why-item h3 {

    color: #092653;

    font-size: 20px;

    margin-bottom: 10px;
}


.why-item p {

    color: #64748b;

    font-size: 14px;

    line-height: 1.7;
}


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

@media (max-width: 700px) {

    .why-section {

        padding: 70px 18px;
    }

    .why-heading h2 {

        font-size: 32px;
    }

    .why-grid {

        grid-template-columns: 1fr;
    }

    .why-item {

        padding: 25px 20px;
    }
}/* =========================
   TEST INFORMATION
========================= */

.info-section {
    width: 100%;

    padding: 100px 20px;

    background: #f7f9fc;
}


.info-container {
    max-width: 1150px;

    margin: auto;
}


/* Heading */

.info-heading {
    max-width: 750px;

    margin: 0 auto 55px;

    text-align: center;
}


.info-heading .section-label {
    display: inline-block;

    color: #d3a027;

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 15px;
}


.info-heading h2 {
    color: #092653;

    font-size: 42px;

    line-height: 1.2;

    margin-bottom: 20px;
}


.info-heading h2 span {
    color: #d3a027;
}


.info-heading p {
    color: #64748b;

    font-size: 16px;

    line-height: 1.8;
}


/* Information Grid */

.info-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}


/* Information Box */

.info-box {

    display: flex;

    align-items: center;

    gap: 17px;

    padding: 25px 20px;

    background: #ffffff;

    border: 1px solid #e7ecf3;

    border-radius: 10px;

    box-shadow:
        0 7px 20px rgba(9, 38, 83, 0.04);

    transition: 0.3s ease;
}


.info-box:hover {

    transform: translateY(-5px);

    border-color: #d3a027;

    box-shadow:
        0 14px 30px rgba(9, 38, 83, 0.08);
}


/* Icon */

.info-icon {

    min-width: 52px;
    height: 52px;

    display: flex;

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

    background: #092653;

    border-radius: 8px;

    font-size: 23px;
}


/* Text */

.info-title {

    display: block;

    color: #8491a5;

    font-size: 12px;

    font-weight: 600;

    margin-bottom: 5px;

    text-transform: uppercase;

    letter-spacing: 0.5px;
}


.info-box h3 {

    color: #092653;

    font-size: 16px;

    line-height: 1.3;
}


/* Information Note */

.info-note {

    margin-top: 35px;

    padding: 20px 25px;

    display: flex;

    gap: 8px;

    align-items: flex-start;

    background: #fffaf0;

    border-left: 4px solid #d3a027;

    border-radius: 6px;

    color: #64748b;

    font-size: 14px;

    line-height: 1.7;
}


.info-note strong {

    color: #092653;

    white-space: nowrap;
}


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

@media (max-width: 1000px) {

    .info-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }
}


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

@media (max-width: 600px) {

    .info-section {

        padding: 70px 18px;
    }

    .info-heading h2 {

        font-size: 32px;
    }

    .info-grid {

        grid-template-columns: 1fr;
    }

    .info-note {

        flex-direction: column;

        gap: 3px;
    }
} /* =========================
    PROFESSIONAL FOOTER
 ========================= */

.site-footer {
    width: 100%;

    background: #071d3b;

    color: #ffffff;

    padding-top: 70px;
}


/* Footer Container */

.footer-container {

    max-width: 1150px;

    margin: auto;

    padding: 0 20px 55px;

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1.2fr;

    gap: 50px;
}


/* =========================
   BRAND
========================= */

.footer-brand img {

    width: 70px;

    height: 70px;

    object-fit: contain;

    margin-bottom: 15px;
}


.footer-brand h3 {

    font-size: 21px;

    color: #ffffff;

    margin-bottom: 12px;
}


.footer-brand p {

    max-width: 300px;

    color: #b9c6d8;

    font-size: 14px;

    line-height: 1.7;
}


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

.footer-column h4 {

    color: #d8a62b;

    font-size: 16px;

    margin-bottom: 20px;
}


.footer-column a {

    display: block;

    width: fit-content;

    color: #c7d2e2;

    text-decoration: none;

    font-size: 14px;

    margin-bottom: 12px;

    transition: 0.3s ease;
}


.footer-column a:hover {

    color: #d8a62b;

    transform: translateX(3px);
}


.footer-column p {

    color: #c7d2e2;

    font-size: 14px;

    line-height: 1.7;

    margin-bottom: 8px;
}


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

.footer-bottom {

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    max-width: 1150px;

    margin: auto;

    padding: 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


.footer-bottom p {

    color: #9eafc5;

    font-size: 13px;
}


.footer-bottom a {

    color: #d8a62b;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;
}


.footer-bottom a:hover {

    color: #ffffff;
}


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

@media (max-width: 900px) {

    .footer-container {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 40px;
    }
}


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

@media (max-width: 600px) {

    .site-footer {

        padding-top: 55px;
    }

    .footer-container {

        grid-template-columns: 1fr;

        gap: 35px;

        padding-bottom: 40px;
    }

    .footer-brand {

        text-align: center;
    }

    .footer-brand p {

        margin: auto;
    }

    .footer-column {

        text-align: center;
    }

    .footer-column a {

        margin-left: auto;

        margin-right: auto;
    }

    .footer-bottom {

        flex-direction: column;

        text-align: center;

        padding: 18px 15px;
    }
}/* =========================================
   APPLY NOW PAGE — FINAL PROFESSIONAL DESIGN
========================================= */

.application-page {
    width: 100%;
    min-height: 100vh;
    padding: 55px 20px 75px;
    background: #f4f7fb;
    box-sizing: border-box;
}

.application-heading {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 32px;
    text-align: center;
}

.application-heading span {
    display: inline-block;
    margin-bottom: 9px;
    color: #c99720;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.application-heading h1 {
    margin: 0 0 12px;
    color: #092653;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 800;
}

.application-heading p {
    max-width: 700px;
    margin: 0 auto;
    color: #687386;
    font-size: 15px;
    line-height: 1.7;
}

.application-card {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 42px;
    background: #ffffff;
    border: 1px solid #e5eaf1;
    border-radius: 20px;
    box-shadow: 0 16px 45px rgba(9, 38, 83, 0.08);
    box-sizing: border-box;
}

.form-section {
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e8edf3;
}

.form-section:last-of-type {
    border-bottom: 0;
}

.form-section h2 {
    margin: 0 0 21px;
    color: #092653;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 750;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.full-width {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.form-group label {
    margin-bottom: 8px;
    color: #1d2b3f;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 650;
}

.form-group label span {
    margin-left: 3px;
    color: #d93025;
}

.form-group label small {
    color: #7b8492;
    font-size: 12px;
    font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #d7dee8;
    border-radius: 10px;
    background: #ffffff;
    color: #202b3c;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    outline: none;
    box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-group textarea {
    min-height: 105px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a1a9b5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #092653;
    box-shadow: 0 0 0 3px rgba(9, 38, 83, .09);
}

.form-group select:disabled {
    background: #f1f4f7;
    color: #8b94a2;
    cursor: not-allowed;
}

.form-group input[type="file"] {
    min-height: 48px;
    padding: 10px;
    background: #f8fafc;
    cursor: pointer;
}

.form-group small {
    margin-top: 7px;
    color: #7c8796;
    font-size: 12px;
    line-height: 1.5;
}

#studentPhoto {
    display: block;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
}

#studentPhoto + small {
    display: block;
    text-align: center;
}

.payment-section {
    display: block;
    width: 100%;
    max-width: 780px;
    margin: 8px auto 30px;
    align-self: center;
    padding: 30px;
    background: #f8fafc;
    border: 1px solid #e0e6ee;
    border-radius: 16px;
    box-sizing: border-box;
}

.payment-heading {
    margin-bottom: 24px;
    text-align: center;
}

.payment-heading span {
    color: #c99720;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.payment-heading h2 {
    margin: 7px 0;
    color: #092653;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 800;
}

.payment-heading p {
    margin: 0 auto;
    color: #697586;
    font-size: 14px;
    line-height: 1.6;
}

.payment-details {
    margin: 20px 0;
    padding: 18px;
    border: 1px solid #e1e6ed;
    border-radius: 12px;
    background: #ffffff;
}

.submit-area {
    display: flex;
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    align-self: center;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

.agreement {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 0 auto 22px;
    color: #4d5969;
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}

.agreement input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #092653;
    cursor: pointer;
}

.application-submit {
    display: block;
    width: 100%;
    max-width: 340px;
    min-height: 52px;
    margin: 0 auto;
    padding: 13px 24px;
    border: 0;
    border-radius: 10px;
    background: #092653;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 750;
    letter-spacing: .2px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(9, 38, 83, .18);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.application-submit:hover {
    background: #0d326b;
    transform: translateY(-1px);
    box-shadow: 0 11px 25px rgba(9, 38, 83, .22);
}

.application-submit:active {
    transform: translateY(0);
}

.application-submit:focus-visible {
    outline: 3px solid rgba(201, 151, 32, .35);
    outline-offset: 3px;
}

.application-message {
    width: 100%;
    margin-top: 20px;
    text-align: center;
}

/* ---------- TABLET ---------- */

@media (max-width: 800px) {
    .application-page {
        padding: 42px 16px 60px;
    }

    .application-card {
        padding: 32px 26px;
        border-radius: 17px;
    }

    .application-heading h1 {
        font-size: 34px;
    }

    .form-grid {
        gap: 18px;
    }

    .payment-section {
        padding: 24px 20px;
    }
}

/* ---------- MOBILE ---------- */

@media (max-width: 600px) {
    .application-page {
        padding: 32px 12px 48px;
    }

    .application-heading {
        margin-bottom: 24px;
    }

    .application-heading h1 {
        font-size: 29px;
    }

    .application-heading p {
        font-size: 14px;
    }

    .application-card {
        padding: 25px 18px;
        border-radius: 15px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .form-section {
        margin-bottom: 27px;
        padding-bottom: 24px;
    }

    .form-section h2 {
        font-size: 19px;
        margin-bottom: 18px;
    }

    .payment-section {
        padding: 21px 16px;
    }

    .payment-heading h2 {
        font-size: 27px;
    }

    .application-submit {
        max-width: 100%;
    }
}

/* ---------- SMALL PHONES ---------- */

@media (max-width: 420px) {
    .application-page {
        padding-left: 8px;
        padding-right: 8px;
    }

    .application-card {
        padding: 21px 14px;
    }

    .application-heading h1 {
        font-size: 26px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 46px;
        padding: 11px 12px;
        font-size: 14px;
    }

    .payment-section {
        padding: 18px 13px;
    }

    .payment-heading h2 {
        font-size: 25px;
    }

    .agreement {
        align-items: flex-start;
        text-align: left;
    }
}

/* =========================================
   ADMIN LOGIN
========================================= */

.admin-login-page {
    min-height: 100vh;

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

    padding: 30px 15px;

    background: #f5f7fb;
}

.admin-login-card {
    width: 100%;
    max-width: 430px;

    padding: 40px 35px;

    background: #ffffff;

    border-radius: 16px;

    text-align: center;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.admin-login-logo img {
    width: 75px;
    height: 75px;

    object-fit: contain;

    margin-bottom: 15px;
}

.admin-label {
    display: block;

    color: #c99720;

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

    letter-spacing: 1.4px;
}

.admin-login-card h1 {
    margin: 8px 0;

    color: #092653;

    font-size: 28px;
}

.admin-login-text {
    margin-bottom: 25px;

    color: #727d8d;

    font-size: 14px;
}

.admin-form-group {
    text-align: left;

    margin-bottom: 18px;
}

.admin-form-group label {
    display: block;

    margin-bottom: 7px;

    color: #263449;

    font-size: 14px;
    font-weight: 600;
}

.admin-form-group input {
    width: 100%;

    box-sizing: border-box;

    padding: 13px 14px;

    border: 1px solid #d8dde6;

    border-radius: 8px;

    outline: none;

    font-family: inherit;
}

.admin-form-group input:focus {
    border-color: #092653;

    box-shadow: 0 0 0 3px rgba(9, 38, 83, 0.08);
}

.admin-login-button {
    width: 100%;

    margin-top: 8px;

    padding: 13px;

    border: none;

    border-radius: 8px;

    background: #092653;

    color: #ffffff;

    font-family: inherit;

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

    cursor: pointer;

    transition: 0.3s ease;
}

.admin-login-button:hover {
    background: #c99720;
}

.admin-error {
    margin-bottom: 18px;

    padding: 10px;

    border-radius: 7px;

    background: #fff0f0;

    color: #b42318;

    font-size: 13px;
}/* =========================================
   ADMIN DASHBOARD
========================================= */

.admin-dashboard {
    min-height: 100vh;

    padding: 35px;

    background: #f5f7fb;
}


/* HEADER */

.dashboard-header {
    max-width: 1400px;

    margin: 0 auto 30px;

    display: flex;

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

    gap: 20px;
}

.dashboard-label {
    color: #c99720;

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

    letter-spacing: 1.5px;
}

.dashboard-header h1 {
    margin: 6px 0 0;

    color: #092653;

    font-size: 30px;
}


/* LOGOUT */

.logout-button {
    padding: 11px 20px;

    border-radius: 8px;

    background: #092653;

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition: 0.3s ease;
}

.logout-button:hover {
    background: #c99720;
}


/* STATS */

.dashboard-stats {
    max-width: 1400px;

    margin: 0 auto 25px;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}

.stat-card {
    padding: 22px;

    background: #ffffff;

    border-radius: 12px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.stat-card span {
    display: block;

    color: #737e8e;

    font-size: 13px;
}

.stat-card strong {
    display: block;

    margin-top: 6px;

    color: #092653;

    font-size: 30px;
}


/* APPLICATION PANEL */

.applications-panel {
    max-width: 1400px;

    margin: 0 auto;

    background: #ffffff;

    border-radius: 14px;

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);

    overflow: hidden;
}

.panel-heading {
    padding: 22px 25px;

    border-bottom: 1px solid #e7ebf0;
}

.panel-heading h2 {
    margin: 0;

    color: #092653;

    font-size: 20px;
}


/* TABLE */

.table-wrapper {
    width: 100%;

    overflow-x: auto;
}

.applications-table {
    width: 100%;

    border-collapse: collapse;

    min-width: 950px;
}

.applications-table th {
    padding: 14px;

    background: #f8fafc;

    color: #566273;

    text-align: left;

    font-size: 12px;

    white-space: nowrap;
}

.applications-table td {
    padding: 15px 14px;

    border-top: 1px solid #edf0f4;

    color: #3f4c5e;

    font-size: 13px;

    vertical-align: middle;
}

.applications-table td strong {
    color: #092653;
}

.applications-table td small {
    color: #7b8492;
}


/* STATUS */

.status-badge {
    display: inline-block;

    padding: 5px 9px;

    border-radius: 20px;

    background: #fff4d6;

    color: #8a6810;

    font-size: 11px;

    font-weight: 700;
}


/* EMPTY */

.empty-applications {
    padding: 50px;

    text-align: center;

    color: #7a8492;
}


/* MOBILE */

@media (max-width: 700px) {

    .admin-dashboard {
        padding: 20px 12px;
    }

    .dashboard-header {
        align-items: flex-start;

        flex-direction: column;
    }

    .dashboard-header h1 {
        font-size: 24px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .logout-button {
        width: 100%;

        text-align: center;

        box-sizing: border-box;
    }
}/* =========================================
   APPLICATION DETAILS
========================================= */

.application-details-page {
    min-height: 100vh;
    padding: 35px;
    background: #f5f7fb;
}

.details-header {
    max-width: 1100px;
    margin: 0 auto 25px;

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

    gap: 20px;
}

.details-header span {
    color: #c99720;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.details-header h1 {
    margin: 6px 0 0;
    color: #092653;
    font-size: 30px;
}

.back-dashboard {
    padding: 11px 18px;

    border-radius: 8px;

    background: #092653;
    color: #ffffff;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;
}


/* CARD */

.details-card {
    max-width: 1100px;
    margin: 0 auto;

    background: #ffffff;

    border-radius: 15px;

    box-shadow: 0 7px 25px rgba(0,0,0,0.06);

    overflow: hidden;
}


/* TOP */

.details-top {
    padding: 25px;

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

    background: #f8fafc;

    border-bottom: 1px solid #e6eaf0;
}

.details-top small {
    display: block;
    color: #737e8d;
    font-size: 12px;
}

.details-top strong {
    display: block;
    margin-top: 5px;

    color: #092653;
    font-size: 20px;
}

.detail-status span {
    display: inline-block;

    padding: 7px 13px;

    border-radius: 20px;

    background: #fff4d6;
    color: #8a6810;

    font-size: 12px;
    font-weight: 700;
}


/* SECTIONS */

.details-section {
    padding: 28px 25px;

    border-bottom: 1px solid #edf0f4;
}

.details-section h2 {
    margin: 0 0 20px;

    color: #092653;

    font-size: 19px;
}


/* GRID */

.details-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}

.details-grid > div {
    padding: 14px;

    background: #f8fafc;

    border-radius: 8px;
}

.details-grid small {
    display: block;

    margin-bottom: 5px;

    color: #788393;

    font-size: 12px;
}

.details-grid strong {
    color: #344054;

    font-size: 14px;

    word-break: break-word;
}

.detail-full {
    grid-column: 1 / -1;
}


/* FILES */

.uploaded-files {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}

.file-card {
    padding: 18px;

    background: #f8fafc;

    border: 1px solid #e4e8ee;

    border-radius: 10px;

    text-align: center;
}

.file-card h3 {
    margin: 0 0 15px;

    color: #092653;

    font-size: 15px;
}

.file-card img {
    display: block;

    width: 100%;
    max-height: 350px;

    object-fit: contain;

    border-radius: 7px;

    background: #ffffff;
}


/* MOBILE */

@media (max-width: 700px) {

    .application-details-page {
        padding: 20px 12px;
    }

    .details-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .details-header h1 {
        font-size: 25px;
    }

    .back-dashboard {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .details-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .detail-full {
        grid-column: auto;
    }

    .uploaded-files {
        grid-template-columns: 1fr;
    }

}/* =========================================
   APPLICATION DETAILS
========================================= */

.application-details-page {
    min-height: 100vh;
    padding: 35px;
    background: #f5f7fb;
}

.details-header {
    max-width: 1100px;
    margin: 0 auto 25px;

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

    gap: 20px;
}

.details-header span {
    color: #c99720;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.details-header h1 {
    margin: 6px 0 0;
    color: #092653;
    font-size: 30px;
}

.back-dashboard {
    padding: 11px 18px;
    border-radius: 8px;
    background: #092653;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.details-card {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 7px 25px rgba(0,0,0,0.06);
    overflow: hidden;
}

.details-top {
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border-bottom: 1px solid #e6eaf0;
}

.details-top small {
    display: block;
    color: #737e8d;
    font-size: 12px;
}

.details-top strong {
    display: block;
    margin-top: 5px;
    color: #092653;
    font-size: 20px;
}

.detail-status span {
    display: inline-block;
    padding: 7px 13px;
    border-radius: 20px;
    background: #fff4d6;
    color: #8a6810;
    font-size: 12px;
    font-weight: 700;
}

.details-section {
    padding: 28px 25px;
    border-bottom: 1px solid #edf0f4;
}

.details-section h2 {
    margin: 0 0 20px;
    color: #092653;
    font-size: 19px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.details-grid > div {
    padding: 14px;
    background: #f8fafc;
    border-radius: 8px;
}

.details-grid small {
    display: block;
    margin-bottom: 5px;
    color: #788393;
    font-size: 12px;
}

.details-grid strong {
    color: #344054;
    font-size: 14px;
    word-break: break-word;
}

.detail-full {
    grid-column: 1 / -1;
}

.uploaded-files {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.file-card {
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e4e8ee;
    border-radius: 10px;
    text-align: center;
}

.file-card h3 {
    margin: 0 0 15px;
    color: #092653;
    font-size: 15px;
}

.file-card img {
    display: block;
    width: 100%;
    max-height: 350px;
    object-fit: contain;
    border-radius: 7px;
    background: #ffffff;
}

.application-number-link {
    color: #092653;
    font-weight: 700;
    text-decoration: none;
}

.application-number-link:hover {
    color: #c99720;
}

@media (max-width: 700px) {

    .application-details-page {
        padding: 20px 12px;
    }

    .details-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .details-header h1 {
        font-size: 25px;
    }

    .back-dashboard {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .details-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .detail-full {
        grid-column: auto;
    }

    .uploaded-files {
        grid-template-columns: 1fr;
    }
}/* =========================================
   STATUS UPDATE
========================================= */

.status-update-form label {
    display: block;

    margin-bottom: 8px;

    color: #344054;

    font-size: 13px;

    font-weight: 600;
}

.status-update-form select {
    width: 100%;

    box-sizing: border-box;

    padding: 12px 13px;

    border: 1px solid #d8dee8;

    border-radius: 8px;

    background: #ffffff;

    color: #344054;

    font-family: inherit;

    outline: none;
}

.status-update-form select:focus {
    border-color: #092653;

    box-shadow:
        0 0 0 3px rgba(9, 38, 83, 0.08);
}

.status-update-button {
    margin-top: 22px;

    padding: 12px 22px;

    border: none;

    border-radius: 8px;

    background: #092653;

    color: #ffffff;

    font-family: inherit;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;
}

.status-update-button:hover {
    background: #c99720;
}/* =========================================
   TRACK APPLICATION
========================================= */

.track-page {
    min-height: 100vh;

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

    padding: 30px 15px;

    background: #f5f7fb;
}

.track-card {
    width: 100%;
    max-width: 650px;

    padding: 40px;

    background: #ffffff;

    border-radius: 16px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.07);
}

.track-label {
    display: block;

    color: #c99720;

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

    letter-spacing: 1.4px;

    text-align: center;
}

.track-card h1 {
    margin: 8px 0;

    color: #092653;

    font-size: 30px;

    text-align: center;
}

.track-description {
    margin: 0 0 28px;

    color: #737e8d;

    font-size: 14px;

    text-align: center;
}

.track-form label {
    display: block;

    margin-bottom: 8px;

    color: #344054;

    font-size: 14px;
    font-weight: 600;
}

.track-form input {
    width: 100%;

    box-sizing: border-box;

    padding: 13px 14px;

    border: 1px solid #d8dee8;

    border-radius: 8px;

    outline: none;

    font-family: inherit;
}

.track-form input:focus {
    border-color: #092653;

    box-shadow:
        0 0 0 3px rgba(9, 38, 83, 0.08);
}

.track-form button {
    width: 100%;

    margin-top: 15px;

    padding: 13px;

    border: none;

    border-radius: 8px;

    background: #092653;

    color: #ffffff;

    font-family: inherit;

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

    cursor: pointer;
}

.track-form button:hover {
    background: #c99720;
}

.track-error {
    margin-top: 20px;

    padding: 12px;

    border-radius: 8px;

    background: #fff0f0;

    color: #b42318;

    font-size: 13px;

    text-align: center;
}

.track-result {
    margin-top: 28px;

    border: 1px solid #e5e9ef;

    border-radius: 12px;

    overflow: hidden;
}

.track-result-header {
    padding: 18px;

    background: #f8fafc;

    border-bottom: 1px solid #e5e9ef;
}

.track-result-header span {
    display: block;

    color: #667085;

    font-size: 12px;
}

.track-result-header strong {
    display: block;

    margin-top: 5px;

    color: #092653;

    font-size: 19px;
}

.track-info {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 1px;

    background: #e5e9ef;
}

.track-info > div {
    padding: 15px;

    background: #ffffff;
}

.track-info small {
    display: block;

    margin-bottom: 5px;

    color: #7b8492;

    font-size: 11px;
}

.track-info strong {
    color: #344054;

    font-size: 14px;
}

.status-value {
    color: #092653 !important;
}

@media (max-width: 600px) {

    .track-card {
        padding: 28px 20px;
    }

    .track-card h1 {
        font-size: 25px;
    }

    .track-info {
        grid-template-columns: 1fr;
    }

}/* =========================================
   PROFESSIONAL DOWNLOAD SLIP
========================================= */

.download-slip-page {
    min-height: 100vh;
    padding: 40px 15px;
    background: #f4f6fa;
}

.download-search-card {
    width: 100%;
    max-width: 650px;
    margin: 0 auto 30px;

    padding: 35px;

    box-sizing: border-box;

    background: #ffffff;

    border-radius: 15px;

    box-shadow: 0 8px 30px rgba(0,0,0,0.06);

    text-align: center;
}

.download-label {
    color: #c99720;

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

    letter-spacing: 1.5px;
}

.download-search-card h1 {
    margin: 8px 0;

    color: #092653;

    font-size: 29px;
}

.download-search-card p {
    margin-bottom: 25px;

    color: #737e8d;

    font-size: 14px;
}

.download-slip-form {
    text-align: left;
}

.download-slip-form label {
    display: block;

    margin-bottom: 7px;

    color: #344054;

    font-size: 13px;
    font-weight: 600;
}

.download-slip-form input {
    width: 100%;

    box-sizing: border-box;

    padding: 13px;

    border: 1px solid #d6dce5;

    border-radius: 8px;

    outline: none;

    font-family: inherit;
}

.download-slip-form input:focus {
    border-color: #092653;
}

.download-slip-form button,
.slip-actions button {
    width: 100%;

    margin-top: 15px;

    padding: 13px;

    border: none;

    border-radius: 8px;

    background: #092653;

    color: #ffffff;

    font-family: inherit;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;
}

.download-slip-form button:hover,
.slip-actions button:hover {
    background: #c99720;
}

.download-error {
    margin-top: 18px;

    padding: 12px;

    border-radius: 8px;

    background: #fff1f1;

    color: #b42318;

    font-size: 13px;
}


/* =========================================
   TEST SLIP
========================================= */

.test-slip {
    width: 100%;
    max-width: 850px;

    margin: 0 auto;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #dce2ea;

    border-radius: 10px;

    overflow: hidden;

    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
}


/* HEADER */

.slip-header {
    padding: 22px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-bottom: 3px solid #c99720;
}

.slip-brand {
    display: flex;

    align-items: center;

    gap: 15px;
}

.slip-brand img {
    width: 65px;
    height: 65px;

    object-fit: contain;
}

.slip-brand h2 {
    margin: 0;

    color: #092653;

    font-size: 21px;
}

.slip-brand p {
    margin: 5px 0 0;

    color: #737e8d;

    font-size: 12px;
}

.slip-roll {
    min-width: 145px;

    padding: 12px;

    border: 1px solid #d9dee7;

    border-radius: 8px;

    text-align: center;
}

.slip-roll span {
    display: block;

    color: #737e8d;

    font-size: 10px;

    font-weight: 700;
}

.slip-roll strong {
    display: block;

    margin-top: 5px;

    color: #092653;

    font-size: 18px;
}


/* APPLICATION NUMBER */

.slip-application-number {
    padding: 14px 22px;

    display: flex;

    justify-content: space-between;

    gap: 20px;

    background: #f8fafc;

    border-bottom: 1px solid #e5e9ef;
}

.slip-application-number span {
    color: #737e8d;

    font-size: 12px;
}

.slip-application-number strong {
    color: #092653;

    font-size: 13px;
}


/* STUDENT */

.slip-student-area {
    padding: 25px;

    display: flex;

    justify-content: space-between;

    gap: 30px;
}

.slip-information {
    flex: 1;
}

.slip-row {
    display: grid;

    grid-template-columns: 180px 1fr;

    padding: 9px 0;

    border-bottom: 1px solid #edf0f4;
}

.slip-row span {
    color: #737e8d;

    font-size: 12px;
}

.slip-row strong {
    color: #344054;

    font-size: 13px;
}

.slip-photo {
    width: 125px;
    height: 150px;

    flex-shrink: 0;

    border: 1px solid #cfd6df;

    border-radius: 6px;

    overflow: hidden;

    background: #f8fafc;
}

.slip-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.no-photo {
    height: 100%;

    display: flex;

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

    color: #8a94a3;

    font-size: 12px;
}


/* TEST DETAILS */

.slip-test-details {
    margin: 0 25px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    border: 1px solid #dfe4eb;

    border-radius: 8px;

    overflow: hidden;
}

.slip-test-details > div {
    padding: 15px;

    background: #f8fafc;
}

.slip-test-details > div + div {
    border-left: 1px solid #dfe4eb;
}

.slip-test-details span {
    display: block;

    color: #737e8d;

    font-size: 10px;

    font-weight: 700;
}

.slip-test-details strong {
    display: block;

    margin-top: 5px;

    color: #092653;

    font-size: 14px;
}


/* INSTRUCTIONS */

.slip-instructions {
    padding: 22px 25px;
}

.slip-instructions h3 {
    margin: 0 0 10px;

    color: #092653;

    font-size: 15px;
}

.slip-instructions ul {
    margin: 0;

    padding-left: 20px;

    color: #596579;

    font-size: 12px;

    line-height: 1.8;
}


/* FOOTER */

.slip-footer {
    padding: 13px 22px;

    display: flex;

    justify-content: space-between;

    background: #092653;

    color: #ffffff;

    font-size: 11px;
}


/* ACTION */

.slip-actions {
    width: 100%;
    max-width: 850px;

    margin: 20px auto 0;
}

.slip-actions button {
    margin-top: 0;
}


/* MOBILE */

@media (max-width: 650px) {

    .download-slip-page {
        padding: 25px 10px;
    }

    .download-search-card {
        padding: 25px 18px;
    }

    .slip-header {
        flex-direction: column;

        align-items: flex-start;
    }

    .slip-roll {
        width: 100%;

        box-sizing: border-box;
    }

    .slip-student-area {
        flex-direction: column;
    }

    .slip-photo {
        align-self: center;
    }

    .slip-row {
        grid-template-columns: 1fr;

        gap: 4px;
    }

    .slip-test-details {
        grid-template-columns: 1fr;
    }

    .slip-test-details > div + div {
        border-left: none;

        border-top: 1px solid #dfe4eb;
    }

    .slip-footer {
        flex-direction: column;

        gap: 5px;

        text-align: center;
    }
}


/* =========================================
   PRINT
========================================= */

@media print {

    body {
        background: #ffffff;
    }

    .download-search-card,
    .slip-actions {
        display: none !important;
    }

    .download-slip-page {
        padding: 0;

        background: #ffffff;
    }

    .test-slip {
        max-width: none;

        border: none;

        box-shadow: none;
    }
}/* =========================================
   RESULTS PAGE
========================================= */

.results-page {
    min-height: 100vh;
    padding: 60px 20px;
    background: #f4f7fb;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    box-sizing: border-box;
}

.results-card {
    width: 100%;
    max-width: 850px;
    background: #ffffff;
    border-radius: 18px;
    padding: 45px;
    box-sizing: border-box;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.results-label {
    display: block;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #1d4ed8;
    margin-bottom: 10px;
}

.results-card h1 {
    margin: 0;
    text-align: center;
    font-size: 34px;
    color: #172033;
}

.results-card > p {
    text-align: center;
    color: #667085;
    margin: 12px 0 35px;
    font-size: 15px;
}


/* SEARCH FORM */

.results-form {
    max-width: 600px;
    margin: 0 auto;
}

.results-form .form-group {
    margin-bottom: 20px;
}

.results-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #344054;
}

.results-form input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background: #ffffff;
    font-size: 15px;
    color: #101828;
    outline: none;
    box-sizing: border-box;
    transition: 0.2s ease;
}

.results-form input:focus {
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.10);
}

.results-form button {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 10px;
    background: #1d4ed8;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.results-form button:hover {
    background: #163fae;
}


/* MESSAGE */

.result-message {
    max-width: 600px;
    margin: 20px auto 0;
    text-align: center;
    font-size: 14px;
    color: #667085;
}


/* RESULT BOX */

.result-box {
    margin-top: 35px;
    padding: 30px;
    border: 1px solid #e4e7ec;
    border-radius: 15px;
    background: #fafbfc;
}

.result-status {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background: #e8f1ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.result-box h2 {
    margin: 15px 0 25px;
    font-size: 24px;
    color: #172033;
}


/* RESULT DETAILS */

.result-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.result-details > div {
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
}

.result-details span {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    color: #667085;
}

.result-details strong {
    display: block;
    font-size: 15px;
    color: #172033;
}


/* FINAL STATUS */

.result-status-box {
    margin-top: 20px;
    padding: 18px;
    border-radius: 10px;
    background: #eef7ee;
    border: 1px solid #cce8cc;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-status-box span {
    font-size: 14px;
    color: #475467;
}

.result-status-box strong {
    font-size: 15px;
    color: #187a2f;
}

/* =========================================
   DOWNLOAD TEST SLIP
========================================= */
.download-slip-page {
    min-height: 100vh;
    padding: 60px 20px 80px;
    background: #f4f7fb;
}

/* SEARCH CARD */

.download-search-card {
    width: 100%;
    max-width: 650px;
    margin: 0 auto 35px;
    padding: 40px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5eaf1;
    box-shadow: 0 12px 35px rgba(9, 38, 83, 0.08);
    text-align: center;
}

.download-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #d3a027;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.download-search-card h1 {
    margin-bottom: 12px;
    color: #092653;
    font-size: 34px;
}

.download-search-card p {
    margin-bottom: 28px;
    color: #64748b;
    line-height: 1.7;
}

/* FORM */

.download-slip-form {
    text-align: left;
}

.download-slip-form label {
    display: block;
    margin-bottom: 8px;
    color: #092653;
    font-size: 14px;
    font-weight: 700;
}

.download-slip-form input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #d9e0ea;
    border-radius: 7px;
    outline: none;
    color: #092653;
    font-size: 15px;
    background: #ffffff;
}

.download-slip-form input:focus {
    border-color: #d3a027;
    box-shadow: 0 0 0 3px rgba(211, 160, 39, 0.12);
}

.download-slip-form button {
    width: 100%;
    height: 50px;
    margin-top: 18px;
    border: none;
    border-radius: 7px;
    background: #092653;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.download-slip-form button:hover {
    background: #d3a027;
    transform: translateY(-2px);
}

/* ERROR */

.download-error {
    margin-top: 20px;
    padding: 13px 15px;
    border-radius: 7px;
    background: #fff1f1;
    border: 1px solid #ffd0d0;
    color: #b42318;
    font-size: 14px;
}

/* =========================================
   TEST SLIP
========================================= */

.test-slip {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #dfe5ed;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(9, 38, 83, 0.10);
}

/* HEADER */

.slip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 25px 30px;
    background: #092653;
    color: #ffffff;
}

.slip-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.slip-brand img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 8px;
    padding: 5px;
}

.slip-brand h2 {
    margin-bottom: 5px;
    font-size: 22px;
    color: #ffffff;
}

.slip-brand p {
    margin: 0;
    color: #dce5f2;
    font-size: 13px;
}

.slip-roll {
    min-width: 160px;
    padding: 13px 18px;
    text-align: center;
    background: #d3a027;
    border-radius: 8px;
}

.slip-roll span {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.slip-roll strong {
    display: block;
    color: #ffffff;
    font-size: 21px;
}

/* APPLICATION NUMBER */

.slip-application-number {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 30px;
    background: #f8fafc;
    border-bottom: 1px solid #e5eaf1;
}

.slip-application-number span {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.slip-application-number strong {
    color: #092653;
    font-size: 15px;
}

/* STUDENT AREA */

.slip-student-area {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 30px;
}

.slip-information {
    flex: 1;
}

.slip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 48px;
    padding: 10px 0;
    border-bottom: 1px solid #edf0f4;
}

.slip-row span {
    color: #718096;
    font-size: 13px;
}

.slip-row strong {
    color: #092653;
    font-size: 14px;
    text-align: right;
}

/* PHOTO */

.slip-photo {
    width: 150px;
    flex-shrink: 0;
}

.slip-photo img,
.no-photo {
    width: 150px;
    height: 175px;
    object-fit: cover;
    border: 2px solid #d3a027;
    border-radius: 8px;
}

.no-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7fa;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 700;
}

/* TEST DETAILS */

.slip-test-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 0 30px;
    padding: 22px;
    background: #f7f9fc;
    border: 1px solid #e5eaf1;
    border-radius: 8px;
}

.slip-test-details div {
    text-align: center;
}

.slip-test-details span {
    display: block;
    margin-bottom: 7px;
    color: #7a8799;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.slip-test-details strong {
    color: #092653;
    font-size: 16px;
}

/* INSTRUCTIONS */

.slip-instructions {
    margin: 30px;
    padding: 22px 25px;
    background: #fffaf0;
    border-left: 4px solid #d3a027;
    border-radius: 6px;
}

.slip-instructions h3 {
    margin-bottom: 12px;
    color: #092653;
    font-size: 18px;
}

.slip-instructions ul {
    padding-left: 20px;
}

.slip-instructions li {
    margin-bottom: 7px;
    color: #59677a;
    font-size: 13px;
    line-height: 1.6;
}

/* FOOTER */

.slip-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 30px;
    background: #092653;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
}

/* ACTION BUTTON */

.slip-actions {
    width: 100%;
    max-width: 900px;
    margin: 25px auto 0;
    text-align: center;
}

.slip-actions button {
    padding: 14px 30px;
    border: none;
    border-radius: 7px;
    background: #d3a027;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(9, 38, 83, 0.15);
    transition: 0.3s ease;
}

.slip-actions button:hover {
    background: #092653;
    transform: translateY(-2px);
}

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

@media (max-width: 700px) {

    .download-slip-page {
        padding: 30px 12px 50px;
    }

    .download-search-card {
        padding: 28px 20px;
    }

    .download-search-card h1 {
        font-size: 28px;
    }

    .slip-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 22px 18px;
    }

    .slip-brand {
        flex-direction: column;
    }

    .slip-brand h2 {
        font-size: 19px;
    }

    .slip-roll {
        width: 100%;
    }

    .slip-application-number {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 18px;
    }

    .slip-student-area {
        flex-direction: column-reverse;
        padding: 22px 18px;
    }

    .slip-photo {
        width: 130px;
        margin: 0 auto;
    }

    .slip-photo img,
    .no-photo {
        width: 130px;
        height: 155px;
    }

    .slip-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .slip-row strong {
        text-align: left;
    }

    .slip-test-details {
        grid-template-columns: 1fr;
        margin: 0 18px;
        padding: 18px;
    }

    .slip-instructions {
        margin: 22px 18px;
        padding: 18px;
    }

    .slip-footer {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    .slip-actions {
        padding: 0 12px;
    }

    .slip-actions button {
        width: 100%;
    }
}

/* =========================================
   PRINT
========================================= */

@media print {

    body {
        background: #ffffff !important;
    }

    .download-search-card,
    .slip-actions {
        display: none !important;
    }

    .download-slip-page {
        padding: 0 !important;
        background: #ffffff !important;
    }

    .test-slip {
        max-width: 100% !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    .slip-header {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .slip-test-details,
    .slip-instructions {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}/* =========================================
   DOWNLOAD TEST SLIP PAGE
========================================= */

.download-slip-page {
    width: 100%;
    min-height: calc(100vh - 82px);
    padding: 60px 20px 80px;
    background: #f5f7fb;
}

/* Search Card */

.download-search-card {
    width: 100%;
    max-width: 650px;
    margin: 0 auto 40px;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #e5eaf1;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(9, 38, 83, 0.08);
}

.download-label {
    display: block;
    margin-bottom: 10px;
    color: #d3a027;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.download-search-card h1 {
    margin-bottom: 12px;
    color: #092653;
    font-size: 38px;
    line-height: 1.2;
}

.download-search-card p {
    margin-bottom: 28px;
    color: #64748b;
    font-size: 16px;
    line-height: 1.7;
}

/* Form */

.download-slip-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-slip-form label {
    color: #092653;
    font-size: 14px;
    font-weight: 700;
}

.download-slip-form input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #d9e0ea;
    border-radius: 7px;
    background: #ffffff;
    color: #092653;
    font-size: 15px;
    outline: none;
}

.download-slip-form input:focus {
    border-color: #d3a027;
    box-shadow: 0 0 0 3px rgba(211, 160, 39, 0.12);
}

.download-slip-form button {
    width: 100%;
    height: 50px;
    margin-top: 8px;
    border: none;
    border-radius: 7px;
    background: #092653;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.download-slip-form button:hover {
    background: #d3a027;
    transform: translateY(-2px);
}

/* Error */

.download-error {
    margin-top: 20px;
    padding: 14px 16px;
    background: #fff1f1;
    border-left: 4px solid #dc3545;
    border-radius: 6px;
    color: #b42318;
    font-size: 14px;
}

/* =========================================
   TEST SLIP
========================================= */

.test-slip {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #dfe5ed;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(9, 38, 83, 0.10);
}

/* Header */

.slip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 25px 30px;
    background: #092653;
    color: #ffffff;
}

.slip-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.slip-brand img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 8px;
    padding: 4px;
}

.slip-brand h2 {
    margin-bottom: 5px;
    font-size: 21px;
}

.slip-brand p {
    color: #dce5f2;
    font-size: 13px;
}

.slip-roll {
    min-width: 150px;
    padding: 12px 15px;
    text-align: center;
    background: #d3a027;
    border-radius: 8px;
}

.slip-roll span {
    display: block;
    margin-bottom: 5px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.slip-roll strong {
    font-size: 19px;
}

/* Application Number */

.slip-application-number {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 30px;
    background: #f8fafc;
    border-bottom: 1px solid #e5eaf1;
}

.slip-application-number span {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.slip-application-number strong {
    color: #092653;
    font-size: 16px;
}

/* Student Area */

.slip-student-area {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 30px;
}

.slip-information {
    flex: 1;
}

.slip-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #edf0f5;
}

.slip-row span {
    color: #7b8798;
    font-size: 13px;
}

.slip-row strong {
    color: #092653;
    font-size: 14px;
    text-align: right;
}

.slip-photo {
    width: 140px;
    height: 170px;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid #d3a027;
    border-radius: 8px;
    background: #f1f4f8;
}

.slip-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-photo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a96a8;
    font-size: 14px;
    font-weight: 700;
}

/* Test Details */

.slip-test-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 0 30px;
    padding: 22px;
    background: #f8fafc;
    border: 1px solid #e5eaf1;
    border-radius: 8px;
}

.slip-test-details div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.slip-test-details span {
    color: #7b8798;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.slip-test-details strong {
    color: #092653;
    font-size: 16px;
}

/* Instructions */

.slip-instructions {
    margin: 30px;
    padding: 25px;
    background: #fffaf0;
    border-left: 4px solid #d3a027;
    border-radius: 6px;
}

.slip-instructions h3 {
    margin-bottom: 12px;
    color: #092653;
    font-size: 18px;
}

.slip-instructions ul {
    padding-left: 20px;
}

.slip-instructions li {
    margin-bottom: 8px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

/* Footer */

.slip-footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 30px;
    background: #092653;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
}

/* Print Button */

.slip-actions {
    max-width: 900px;
    margin: 25px auto 0;
    text-align: center;
}

.slip-actions button {
    padding: 14px 30px;
    border: none;
    border-radius: 7px;
    background: #d3a027;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.slip-actions button:hover {
    background: #bd8918;
}

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

@media (max-width: 700px) {

    .download-slip-page {
        padding: 35px 15px 60px;
    }

    .download-search-card {
        padding: 28px 20px;
    }

    .download-search-card h1 {
        font-size: 30px;
    }

    .slip-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .slip-brand {
        justify-content: center;
    }

    .slip-roll {
        width: 100%;
    }

    .slip-application-number {
        flex-direction: column;
        align-items: flex-start;
    }

    .slip-student-area {
        flex-direction: column-reverse;
    }

    .slip-photo {
        width: 130px;
        height: 155px;
        margin: 0 auto;
    }

    .slip-row {
        flex-direction: column;
        gap: 5px;
    }

    .slip-row strong {
        text-align: left;
    }

    .slip-test-details {
        grid-template-columns: 1fr;
        margin: 0 20px;
    }

    .slip-instructions {
        margin: 20px;
    }

    .slip-footer {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   PRINT
========================================= */

@media print {

    body {
        background: #ffffff;
    }

    .download-search-card,
    .slip-actions {
        display: none !important;
    }

    .download-slip-page {
        padding: 0;
        background: #ffffff;
    }

    .test-slip {
        max-width: 100%;
        border: 1px solid #ccc;
        box-shadow: none;
    }
}


/* =========================================
   APPLY NOW — FINAL DESKTOP STRUCTURE
   Mobile layout remains untouched.
========================================= */

@media (min-width: 801px) {

    /* Main form uses a clean two-column grid */
    .application-card > form {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        column-gap: 30px !important;
        row-gap: 0 !important;
        width: 100% !important;
        align-items: start !important;
    }

    /* All sections before Identity Document stay full width */
    .application-card > form > .form-section:nth-of-type(1),
    .application-card > form > .form-section:nth-of-type(2),
    .application-card > form > .form-section:nth-of-type(3),
    .application-card > form > .form-section:nth-of-type(4) {
        grid-column: 1 / -1 !important;
        width: 100% !important;
    }

    /* LEFT: Identity Document */
    .application-card > form > .form-section:nth-of-type(5) {
        grid-column: 1 !important;
        width: 100% !important;
        margin: 0 !important;
    }

    /* RIGHT: Student Photo */
    .application-card > form > .form-section:nth-of-type(6) {
        grid-column: 2 !important;
        width: 100% !important;
        margin: 0 !important;
    }

    /* CENTER: Application Fee */
    .application-card > form > .payment-section {
        grid-column: 1 / -1 !important;
        justify-self: center !important;
        width: 780px !important;
        max-width: calc(100% - 80px) !important;
        margin: 30px auto 26px !important;
        padding: 30px !important;
        position: static !important;
        float: none !important;
        clear: none !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    /* CENTER: Confirmation + Submit below payment */
    .application-card > form > .submit-area {
        grid-column: 1 / -1 !important;
        justify-self: center !important;
        width: 780px !important;
        max-width: calc(100% - 80px) !important;
        margin: 0 auto !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        position: static !important;
        float: none !important;
        clear: none !important;
        box-sizing: border-box !important;
    }

    .application-card > form > .submit-area .agreement {
        justify-content: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .application-card > form > .submit-area .application-submit {
        display: block !important;
        width: 340px !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* APPLY NOW — FINAL PAYMENT / SUBMIT POSITION */
@media (min-width: 801px) {
    .application-card > form > .form-section:nth-of-type(5) {
        grid-column: 1 !important;
        grid-row: 5 !important;
    }

    .application-card > form > .form-section:nth-of-type(6) {
        grid-column: 2 !important;
        grid-row: 5 !important;
    }

    .application-card > form > .payment-section {
        grid-column: 1 / -1 !important;
        grid-row: 6 !important;
        justify-self: center !important;
        width: 780px !important;
        max-width: calc(100% - 80px) !important;
        margin: 30px auto 26px !important;
        position: static !important;
        transform: none !important;
        float: none !important;
    }

    .application-card > form > .submit-area {
        grid-column: 1 / -1 !important;
        grid-row: 7 !important;
        justify-self: center !important;
        width: 780px !important;
        max-width: calc(100% - 80px) !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        position: static !important;
        float: none !important;
    }

    .application-card > form > .submit-area .application-submit {
        display: block !important;
        width: 340px !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
}

/* APPLY NOW — SUBMIT TO RIGHT OF PAYMENT */
@media (min-width: 801px) {
    .application-card > form > .payment-section {
        grid-column: 1 !important;
        grid-row: 6 !important;
        justify-self: end !important;
        margin-right: 15px !important;
    }

    .application-card > form > .submit-area {
        grid-column: 2 !important;
        grid-row: 6 !important;
        justify-self: start !important;
        align-self: end !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 0 26px 15px !important;
        padding: 0 !important;
    }

    .application-card > form > .submit-area .application-submit {
        width: 340px !important;
        max-width: 340px !important;
        margin: 0 !important;
    }
}

/* =========================================
   ADMIN DASHBOARD — SEARCH & FILTER
   Professional Responsive Design
========================================= */

.application-filters {
    width: 100%;
    max-width: 1200px;
    margin: 25px auto 30px;
    padding: 24px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e3e8ef;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(9, 38, 83, 0.06);
}

.application-filters form {
    display: grid;
    grid-template-columns: minmax(280px, 1.6fr) minmax(190px, 1fr) minmax(190px, 1fr) auto;
    gap: 18px;
    align-items: end;
}

.application-filters .filter-group {
    min-width: 0;
}

.application-filters .filter-group label {
    display: block;
    margin-bottom: 8px;
    color: #263449;
    font-size: 13px;
    font-weight: 700;
}

.application-filters .filter-group input,
.application-filters .filter-group select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    box-sizing: border-box;
    border: 1px solid #d8dee8;
    border-radius: 10px;
    background: #f9fafc;
    color: #263449;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.application-filters .filter-group input::placeholder {
    color: #98a2b3;
}

.application-filters .filter-group input:focus,
.application-filters .filter-group select:focus {
    border-color: #092653;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(9, 38, 83, 0.08);
}

.application-filters .filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    white-space: nowrap;
}

.application-filters .filter-button,
.application-filters .clear-filter-button {
    height: 48px;
    padding: 0 20px;
    box-sizing: border-box;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
}

.application-filters .filter-button {
    border: none;
    background: #092653;
    color: #ffffff;
    box-shadow: 0 5px 14px rgba(9, 38, 83, 0.18);
}

.application-filters .clear-filter-button {
    border: 1px solid #d8dee8;
    background: #ffffff;
    color: #344054;
}

.application-filters .filter-button:hover,
.application-filters .clear-filter-button:hover {
    transform: translateY(-1px);
}

.application-filters .filter-button:hover {
    box-shadow: 0 7px 18px rgba(9, 38, 83, 0.22);
}

.application-filters .clear-filter-button:hover {
    border-color: #092653;
    color: #092653;
}

@media (max-width: 1050px) {
    .application-filters form {
        grid-template-columns: 1fr 1fr;
    }

    .application-filters .search-group {
        grid-column: 1 / -1;
    }

    .application-filters .filter-actions {
        grid-column: 1 / -1;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .application-filters {
        margin: 18px auto 24px;
        padding: 18px;
        border-radius: 14px;
    }

    .application-filters form {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .application-filters .search-group,
    .application-filters .filter-actions {
        grid-column: auto;
    }

    .application-filters .filter-actions {
        width: 100%;
    }

    .application-filters .filter-button,
    .application-filters .clear-filter-button {
        flex: 1;
    }
}


/* =========================================
   ABOUT — IMPORTANT NOTICE
========================================= */

.tst-important-notice {
    margin-top: 28px;
    padding: 22px 24px;
    background: #f8fafc;
    border: 1px solid #dbe3ee;
    border-left: 4px solid #c99720;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(9, 38, 83, 0.06);
}

.tst-important-notice h3 {
    margin: 0 0 10px;
    color: #092653;
    font-size: 17px;
    font-weight: 700;
}

.tst-important-notice p {
    margin: 0;
    color: #536174;
    font-size: 13px;
    line-height: 1.7;
}

@media (max-width: 800px) {
    .tst-important-notice {
        margin-top: 22px;
        padding: 18px;
    }
}


/* =========================================
   PAYMENT METHOD — LOGO SELECTOR
========================================= */

.payment-logo-selector {
    position: relative;
    width: 100%;
}

.payment-native-select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.payment-logo-trigger {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 8px 12px;
    gap: 10px;
    border: 1px solid #d7dee8;
    border-radius: 10px;
    background: #ffffff;
    color: #202b3c;
    font: inherit;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.payment-logo-trigger:hover,
.payment-logo-trigger[aria-expanded="true"] {
    border-color: #092653;
    box-shadow: 0 0 0 3px rgba(9, 38, 83, .09);
}

.payment-logo-trigger-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.payment-logo-placeholder {
    flex: 1;
    color: #7c8796;
}

.payment-logo-arrow {
    margin-left: auto;
    font-size: 16px;
    color: #697586;
}

.payment-logo-trigger-image,
.payment-logo-option-image,
.payment-logo-fallback {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    object-fit: contain;
    border-radius: 7px;
}

.payment-logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f4f7;
    color: #092653;
    font-weight: 700;
    font-size: 13px;
}

.payment-logo-menu {
    position: absolute;
    z-index: 1000;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    display: none;
    max-height: 240px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid #d7dee8;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(20, 35, 55, .12);
    box-sizing: border-box;
}

.payment-logo-menu.open {
    display: block;
}

.payment-logo-option {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 7px 9px;
    gap: 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #202b3c;
    font: inherit;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
}

.payment-logo-option:hover {
    background: #f4f7fa;
}

.payment-logo-option span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .payment-logo-trigger {
        min-height: 46px;
    }

    .payment-logo-menu {
        max-height: 220px;
    }
}


/* =========================================
   EASYPAISA LOGO — CLEAR DISPLAY
========================================= */
.payment-logo-trigger-image[src$="easypaisa.png"],
.payment-logo-option-image[src$="easypaisa.png"] {
    width: 30px;
    height: 30px;
    padding: 4px;
    box-sizing: border-box;
    object-fit: contain;
    object-position: center;
    border-radius: 7px;
    background: #ffffff;
}

/* =========================================
   EASYPAISA OFFICIAL HORIZONTAL LOGO
   ========================================= */
.payment-logo-trigger-image[src$="easypaisa.png"],
.payment-logo-option-image[src$="easypaisa.png"] {
    width: 54px;
    height: 30px;
    padding: 2px;
    box-sizing: border-box;
    object-fit: contain;
    object-position: center;
    border-radius: 6px;
    background: #ffffff;
    flex: 0 0 54px;
}

/* =========================================
   EASYPAISA — SELECTED PAYMENT BOX ONLY
========================================= */
.payment-logo-trigger-image[src$="easypaisa.png"] {
    width: 72px;
    height: 30px;
    flex: 0 0 72px;
    padding: 0;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    background: transparent;
}

/* Easypaisa — selected payment box */
.payment-logo-trigger-image[src*="easypaisa.svg"] {
    width: 72px;
    height: 30px;
    flex: 0 0 72px;
    padding: 0;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    background: transparent;
}

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

.confirmation-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #f5f8fc;
}

.confirmation-card {
    width: 100%;
    max-width: 650px;
    background: #ffffff;
    border-radius: 18px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(16, 42, 86, 0.12);
}

.success-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e8f7ee;
    color: #16834b;
    font-size: 38px;
    font-weight: 700;
}

.confirmation-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #1b5eaa;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.confirmation-card h1 {
    margin-bottom: 14px;
    color: #102a56;
    font-size: 30px;
}

.confirmation-text {
    margin-bottom: 25px;
    color: #53657d;
    font-size: 16px;
    line-height: 1.6;
}

.status-box,
.tracking-box {
    margin: 18px 0;
    padding: 18px;
    border-radius: 12px;
    background: #f7f9fc;
    border: 1px solid #e2e8f0;
}

.status-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
    color: #53657d;
}

.status-row + .status-row {
    border-top: 1px solid #e2e8f0;
}

.status-row strong {
    color: #102a56;
}

.tracking-box span {
    display: block;
    margin-bottom: 8px;
    color: #53657d;
    font-size: 14px;
}

.tracking-box strong {
    display: block;
    color: #102a56;
    font-size: 22px;
    letter-spacing: 1px;
}

.confirmation-note {
    margin: 20px 0;
    color: #6b7788;
    font-size: 14px;
}

.confirmation-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.confirmation-btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.confirmation-btn.primary-btn {
    background: #1b5eaa;
    color: #ffffff;
}

.confirmation-btn.secondary-btn {
    background: #eef3f8;
    color: #102a56;
}

@media (max-width: 600px) {
    .confirmation-card {
        padding: 30px 20px;
    }

    .confirmation-card h1 {
        font-size: 25px;
    }

    .status-row {
        flex-direction: column;
        gap: 4px;
        text-align: left;
    }

    .confirmation-actions {
        flex-direction: column;
    }

    .confirmation-btn {
        width: 100%;
    }
}

/* Professional UI Animations */
@keyframes tstFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tstSuccessPop {
    0% {
        opacity: 0;
        transform: scale(0.85);
    }
    70% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-content {
    animation: tstFadeUp 0.8s ease-out both;
}

.hero-buttons {
    animation: tstFadeUp 0.8s ease-out 0.15s both;
}

.stat-card {
    animation: tstFadeUp 0.6s ease-out both;
}

.confirmation-card .success-icon {
    animation: tstSuccessPop 0.6s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
    .hero-content,
    .hero-buttons,
    .stat-card,
    .confirmation-card .success-icon {
        animation: none;
    }
}

/* =========================
   TST PROFESSIONAL PAGE ANIMATIONS
========================= */

@keyframes tstSectionReveal {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tstCardReveal {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* About section */
.about-content {
    animation: tstSectionReveal 0.8s ease-out both;
}

.about-card {
    animation: tstCardReveal 0.8s ease-out 0.15s both;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.about-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(9, 38, 83, 0.12);
    border-color: #d3a027;
}

/* Test cards */
.test-card {
    animation: tstCardReveal 0.65s ease-out both;
}

.test-card:nth-child(1) {
    animation-delay: 0.10s;
}

.test-card:nth-child(2) {
    animation-delay: 0.20s;
}

.test-card:nth-child(3) {
    animation-delay: 0.30s;
}

.test-card:nth-child(4) {
    animation-delay: 0.40s;
}

.test-card:hover {
    transform: translateY(-10px) scale(1.015);
    box-shadow: 0 20px 42px rgba(9, 38, 83, 0.13);
    border-color: #d3a027;
}

.test-card-icon {
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.test-card:hover .test-card-icon {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 8px 20px rgba(9, 38, 83, 0.16);
}

/* Test CTA */
.test-cta {
    animation: tstSectionReveal 0.8s ease-out 0.5s both;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .about-content,
    .about-card,
    .test-card,
    .test-cta {
        animation: none;
    }

    .about-card:hover,
    .test-card:hover,
    .test-card:hover .test-card-icon {
        transform: none;
    }
}


/* =========================
   STUDENT DASHBOARD CARD ANIMATIONS
========================= */

.student-dashboard-page .card {
    animation: tstCardReveal 0.7s ease-out both;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.student-dashboard-page .card:nth-child(1) {
    animation-delay: 0.10s;
}

.student-dashboard-page .card:nth-child(2) {
    animation-delay: 0.20s;
}

.student-dashboard-page .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(9, 38, 83, 0.11);
}

@media (prefers-reduced-motion: reduce) {
    .student-dashboard-page .card {
        animation: none;
    }

    .student-dashboard-page .card:hover {
        transform: none;
    }
}

