/* =========================================================
   GLOBAL
========================================================= */

:root {
    --navy-dark: #082f5b;
    --navy: #0b4d8d;
    --navy-light: #1769aa;

    --gold: #d6ad38;
    --gold-light: #f1d982;

    --red: #b52228;
    --red-dark: #8e181d;

    --white: #ffffff;
    --background: #f3f5f7;

    --border: #d8dfe6;
    --border-light: #e8edf1;

    --text: #28343e;
    --muted: #65717b;

    --shadow: 0 2px 9px rgba(20, 45, 70, 0.08);
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    padding: 0;

    background: var(--background);
    color: var(--text);

    font-family: Arial, Helvetica, sans-serif;

    /* Main readable font */
    font-size: 14px;
    line-height: 1.5;

    overflow-x: hidden;
}


a {
    text-decoration: none;
}


img {
    max-width: 100%;
}


.container {
    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    padding-left: 15px;
    padding-right: 15px;
}


/* =========================================================
   HEADER
========================================================= */

.portal-header {
    background: var(--white);

    border-top: 4px solid var(--navy-dark);
    border-bottom: 1px solid var(--border);
}


.header-inner {
    min-height: 118px;

    display: flex;
    align-items: center;

    gap: 20px;

    padding: 9px 0;
}


.logo-area {
    width: 92px;

    flex: 0 0 92px;

    display: flex;
    align-items: center;
    justify-content: center;
}


.naval-logo {
    width: 80px;
    height: 80px;

    object-fit: contain;
}


.header-content {
    flex: 1;
    min-width: 0;
}


.header-kicker {
    color: var(--navy);

    font-size: 13px;
    font-weight: 700;

    line-height: 1.2;

    letter-spacing: .8px;

    margin-bottom: 3px;
}


.header-content h1 {
    color: var(--navy-dark);

    font-size: 20px;
    font-weight: 800;

    line-height: 1.15;

    margin: 0;

    letter-spacing: .1px;
}


.header-location {
    color: var(--red);

    font-size: 14px;
    font-weight: 700;

    line-height: 1.2;

    letter-spacing: .7px;

    margin-top: 5px;
}


.header-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 9px;
}


.header-links a {
    color: var(--navy);

    font-size: 14px;
    font-weight: 600;

    line-height: 1.2;

    transition: .2s ease;
}


.header-links a i {
    margin-right: 5px;

    font-size: 13px;
}


.header-links a:hover {
    color: var(--red);
}


.header-divider {
    width: 1px;
    height: 17px;

    background: var(--border);
}


/* =========================================================
   NAVIGATION
========================================================= */

.portal-nav {
    background: var(--navy-dark);

    border-bottom: 3px solid var(--gold);
}


.nav-inner {
    min-height: 42px;

    display: flex;
    align-items: center;
}


.nav-link {
    height: 42px;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 0 20px;

    color: var(--white);

    font-size: 14px;
    font-weight: 700;

    border-left: 1px solid rgba(255, 255, 255, .08);

    transition: .2s ease;
}


.nav-link i {
    font-size: 13px;
}


.nav-link:hover,
.nav-link.active {
    background: var(--navy);

    color: var(--white);
}


.nav-link.active {
    box-shadow: inset 0 -3px 0 var(--gold);
}


/* =========================================================
   NOTICE BOARD
========================================================= */

.notice-section {
    padding: 8px 0;

    background: #edf1f4;
}


.notice-board {
    min-height: 37px;

    display: flex;
    align-items: stretch;

    background: var(--white);

    border: 1px solid var(--border);

    overflow: hidden;
}


.notice-title {
    flex: 0 0 115px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    background: var(--red);

    color: var(--white);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: .5px;
}


.notice-title i {
    font-size: 14px;
}


.notice-marquee {
    flex: 1;
    min-width: 0;

    display: flex;
    align-items: center;

    color: #46535e;

    font-size: 14px;
    font-weight: 600;
}


.notice-marquee marquee {
    width: 100%;

    line-height: 35px;
}


/* =========================================================
   MAIN
========================================================= */

.main-wrapper {
    padding: 17px 0 22px;
}


.portal-alert {
    margin-bottom: 14px;

    padding: 9px 13px;

    border-radius: 4px;

    font-size: 14px;
}


.portal-alert i {
    margin-right: 6px;
}


/* =========================================================
   TWO COLUMN LAYOUT
========================================================= */

.portal-two-column {
    display: grid;

    grid-template-columns: 32% 68%;

    gap: 15px;

    align-items: start;
}


.left-column,
.right-column {
    min-width: 0;
}


.left-column {
    display: flex;
    flex-direction: column;

    gap: 15px;
}


.right-column {
    display: flex;
    flex-direction: column;

    gap: 15px;
}


/* =========================================================
   COMMON CARD
========================================================= */

.portal-card {
    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 5px;

    box-shadow: var(--shadow);

    overflow: hidden;
}


.card-heading {
    min-height: 59px;

    display: flex;
    align-items: center;

    gap: 11px;

    padding: 10px 13px;

    background: #f8fafc;

    border-bottom: 1px solid var(--border);
}


.heading-icon {
    width: 35px;
    height: 35px;

    flex: 0 0 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--navy);

    color: var(--white);

    border-radius: 4px;

    font-size: 16px;
}


.card-heading h2 {
    color: var(--navy-dark);

    font-size: 15px;
    font-weight: 800;

    line-height: 1.2;

    margin: 0;

    letter-spacing: .2px;
}


.card-heading span {
    display: block;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.2;

    margin-top: 2px;
}


/* =========================================================
   IMPORTANT LINKS
========================================================= */

.link-list {
    padding: 3px 0;
}


.portal-link {
    min-height: 53px;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 8px 13px;

    color: var(--text);

    border-bottom: 1px solid var(--border-light);

    transition: background .2s ease;
}


.portal-link:last-child {
    border-bottom: 0;
}


.portal-link:hover {
    background: #f5f8fb;
}


.link-icon {
    width: 33px;
    height: 33px;

    flex: 0 0 33px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #edf4fb;

    color: var(--navy);

    border-radius: 4px;

    font-size: 15px;
}


.link-text {
    flex: 1;

    color: var(--text);

    font-size: 14px;
    font-weight: 700;

    line-height: 1.35;
}


.link-arrow {
    color: #9aa5ae;

    font-size: 12px;
}


/* =========================================================
   HELPDESK
========================================================= */

.helpdesk-content {
    padding: 15px;
}


.helpdesk-phone {
    display: flex;
    align-items: center;

    gap: 11px;

    padding-bottom: 12px;

    border-bottom: 1px solid var(--border);
}


.helpdesk-phone > i {
    width: 39px;
    height: 39px;

    flex: 0 0 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #edf5fc;

    color: var(--navy);

    border-radius: 50%;

    font-size: 16px;
}


.helpdesk-phone small {
    display: block;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.2;

    margin-bottom: 2px;
}


.helpdesk-phone a {
    display: inline-block;

    color: var(--navy-dark);

    font-size: 17px;
    font-weight: 800;

    line-height: 1.2;

    letter-spacing: .3px;
}


.helpdesk-time {
    padding-top: 11px;
}


.helpdesk-time div {
    display: flex;
    align-items: center;

    gap: 8px;

    color: #56626d;

    font-size: 13px;

    line-height: 1.35;

    margin-bottom: 6px;
}


.helpdesk-time div:last-child {
    margin-bottom: 0;
}


.helpdesk-time i {
    width: 15px;

    color: var(--red);

    font-size: 12px;
}


/* =========================================================
   IMPORTANT DATES
========================================================= */

.dates-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 9px;

    padding: 11px;
}


.date-item {
    min-height: 105px;

    display: flex;
    align-items: flex-start;

    gap: 10px;

    padding: 12px;

    background: #f8fafc;

    border: 1px solid var(--border);

    border-radius: 4px;
}


.date-icon {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eaf2fa;

    color: var(--navy);

    border-radius: 4px;

    font-size: 15px;
}


.date-content {
    min-width: 0;
}


.date-label {
    display: block;

    color: var(--muted);

    font-size: 12px;
    font-weight: 800;

    line-height: 1.35;

    margin-bottom: 6px;
}


.date-content strong {
    display: block;

    color: var(--navy-dark);

    font-size: 15px;
    font-weight: 800;

    line-height: 1.35;
}


.date-content strong small {
    color: var(--red);

    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   REGISTRATION CTA
========================================================= */

.registration-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    padding: 15px 17px;

    background: var(--navy-dark);

    border-radius: 5px;

    box-shadow: var(--shadow);
}


.registration-content {
    display: flex;
    align-items: center;

    gap: 12px;

    min-width: 0;
}


.registration-icon {
    width: 45px;
    height: 45px;

    flex: 0 0 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, .11);

    color: var(--gold-light);

    border-radius: 4px;

    font-size: 20px;
}


.registration-text {
    min-width: 0;
}


.registration-text h2 {
    color: var(--white);

    font-size: 17px;
    font-weight: 800;

    line-height: 1.25;

    margin: 0 0 3px;
}


.registration-text p {
    color: rgba(255, 255, 255, .80);

    font-size: 13px;

    line-height: 1.4;

    margin: 0;
}


.registration-button {
    min-height: 43px;

    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 0 17px;

    background: var(--gold);

    color: var(--navy-dark);

    border-radius: 4px;

    font-size: 13px;
    font-weight: 900;

    line-height: 1;

    transition: .2s ease;
    text-transform: uppercase;
}


.registration-button:hover {
    background: var(--gold-light);

    color: var(--navy-dark);
}


.registration-button i {
    font-size: 16px;
}


/* =========================================================
   ONLINE SERVICES
========================================================= */

.services-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);
}


.service-item {
    min-height: 70px;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 10px 13px;

    color: var(--text);

    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);

    transition: background .2s ease;
}


.service-item:nth-child(2n) {
    border-right: 0;
}


.service-item:nth-last-child(-n+2) {
    border-bottom: 0;
}


.service-item:hover {
    background: #f5f9fd;
}


.service-icon {
    width: 35px;
    height: 35px;

    flex: 0 0 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #edf4fb;

    color: var(--navy);

    border-radius: 4px;

    font-size: 15px;
}


.service-item div:nth-child(2) {
    flex: 1;

    min-width: 0;
}


.service-item strong {
    display: block;

    color: var(--navy-dark);

    font-size: 14px;
    font-weight: 800;

    line-height: 1.35;
}


.service-item small {
    display: block;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.35;

    margin-top: 2px;
}


.service-item > i {
    color: #9ca6af;

    font-size: 12px;
}


/* =========================================================
   FOOTER
========================================================= */

.portal-footer {
    background: var(--navy-dark);

    border-top: 3px solid var(--gold);

    color: rgba(255, 255, 255, .82);
}


.footer-inner {
    min-height: 55px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;
}


.footer-left,
.footer-right {
    display: flex;
    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    font-size: 13px;

    line-height: 1.4;
}


.footer-left strong {
    color: var(--white);
}


.footer-right a {
    color: var(--gold-light);

    font-size: 13px;
}


.footer-right a:hover {
    color: var(--white);
}


.footer-separator {
    opacity: .4;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .header-inner {
        min-height: 105px;
    }


    .logo-area {
        width: 80px;

        flex-basis: 80px;
    }


    .naval-logo {
        width: 70px;
        height: 70px;
    }


    .header-content h1 {
        font-size: 22px;
    }


    .portal-two-column {
        grid-template-columns: 35% 65%;
    }


    .dates-grid {
        grid-template-columns: 1fr;
    }


    .date-item {
        min-height: auto;
    }


    .registration-box {
        flex-direction: column;

        align-items: stretch;
    }


    .registration-button {
        width: 100%;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    body {
        font-size: 14px;
    }


    .container {
        padding-left: 12px;
        padding-right: 12px;
    }


    .header-inner {
        min-height: auto;

        padding-top: 12px;
        padding-bottom: 12px;

        gap: 12px;
    }


    .logo-area {
        width: 68px;

        flex-basis: 68px;
    }


    .naval-logo {
        width: 62px;
        height: 62px;
    }


    .header-kicker {
        font-size: 12px;

        letter-spacing: .4px;
    }


    .header-content h1 {
        font-size: 17px;
    }


    .header-location {
        font-size: 12px;
    }


    .header-links {
        gap: 8px;

        margin-top: 7px;
    }


    .header-links a {
        font-size: 12px;
    }


    .header-divider {
        height: 14px;
    }


    .nav-inner {
        min-height: 40px;
    }


    .nav-link {
        height: 40px;

        padding: 0 15px;

        font-size: 13px;
    }


    .notice-section {
        padding: 6px 0;
    }


    .notice-board {
        min-height: 35px;
    }


    .notice-title {
        flex-basis: 95px;

        font-size: 12px;
    }


    .notice-marquee {
        font-size: 13px;
    }


    .notice-marquee marquee {
        line-height: 33px;
    }


    .main-wrapper {
        padding-top: 13px;
        padding-bottom: 18px;
    }


    .portal-two-column {
        grid-template-columns: 1fr;

        gap: 13px;
    }


    .left-column,
    .right-column {
        gap: 13px;
    }


    .card-heading {
        min-height: 57px;

        padding: 9px 11px;
    }


    .heading-icon {
        width: 33px;
        height: 33px;

        flex-basis: 33px;
    }


    .card-heading h2 {
        font-size: 14px;
    }


    .card-heading span {
        font-size: 12px;
    }


    .portal-link {
        min-height: 51px;

        padding: 8px 12px;
    }


    .link-text {
        font-size: 13px;
    }


    .helpdesk-content {
        padding: 13px;
    }


    .helpdesk-phone a {
        font-size: 16px;
    }


    .helpdesk-time div {
        font-size: 13px;
    }


    .dates-grid {
        grid-template-columns: 1fr;

        gap: 7px;

        padding: 9px;
    }


    .date-item {
        min-height: 72px;

        padding: 10px;
    }


    .date-label {
        font-size: 12px;
    }


    .date-content strong {
        font-size: 14px;
    }


    .registration-box {
        padding: 13px;
    }


    .registration-icon {
        width: 42px;
        height: 42px;

        flex-basis: 42px;
    }


    .registration-text h2 {
        font-size: 16px;
    }


    .registration-text p {
        font-size: 12px;
    }


    .registration-button {
        min-height: 42px;

        font-size: 13px;
    }


    .services-grid {
        grid-template-columns: 1fr;
    }


    .service-item {
        min-height: 65px;

        border-right: 0;

        border-bottom: 1px solid var(--border-light);
    }


    .service-item:nth-last-child(-n+2) {
        border-bottom: 1px solid var(--border-light);
    }


    .service-item:last-child {
        border-bottom: 0;
    }


    .service-item strong {
        font-size: 13px;
    }


    .service-item small {
        font-size: 12px;
    }


    .footer-inner {
        min-height: auto;

        padding: 13px 0;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        text-align: center;
    }


    .footer-left,
    .footer-right {
        justify-content: center;

        font-size: 12px;
    }


    .footer-right a {
        font-size: 12px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .container {
        padding-left: 9px;
        padding-right: 9px;
    }


    .header-inner {
        gap: 9px;
    }


    .logo-area {
        width: 58px;

        flex-basis: 58px;
    }


    .naval-logo {
        width: 54px;
        height: 54px;
    }


    .header-kicker {
        font-size: 11px;
    }


    .header-content h1 {
        font-size: 15px;
    }


    .header-location {
        font-size: 11px;
    }


    .header-links {
        display: block;

        line-height: 1.7;
    }


    .header-links a {
        display: inline-block;

        margin-right: 5px;

        font-size: 11px;
    }


    .header-divider {
        display: none;
    }


    .notice-title {
        flex-basis: 68px;
    }


    .notice-title span {
        display: none;
    }


    .notice-title i {
        font-size: 14px;
    }


    .notice-marquee {
        font-size: 12px;
    }


    .helpdesk-content {
        padding: 12px;
    }


    .helpdesk-phone a {
        font-size: 15px;
    }


    .registration-content {
        align-items: flex-start;
    }


    .registration-text h2 {
        font-size: 15px;
    }


    .registration-text p {
        font-size: 12px;
    }


    .registration-button {
        font-size: 12px;
    }

}
/* ================================
   FOOTER
================================ */

.portal-footer {
    background: #0b2d50;
    color: #ffffff;
    border-top: 4px solid #d4af37;
    margin-top: 30px;
}

.portal-footer .container {
    width: 100%;
}

.footer-inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
}

.footer-left strong {
    font-size: 15px;
    color: #ffffff;
}

.footer-left span {
    color: #d8e2ec;
    font-size: 13px;
}

.footer-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: #d8e2ec;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-link:hover {
    color: #d4af37;
}

.footer-link i {
    font-size: 15px;
}

.footer-separator {
    color: #71869b;
}

.visitor-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.visitor-stat i {
    color: #d4af37;
    font-size: 14px;
}

.visitor-stat strong {
    color: #ffffff;
}

/* ================================
   MOBILE FOOTER
================================ */

@media (max-width: 900px) {

    .footer-inner {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .footer-left {
        align-items: center;
    }

    .footer-right {
        justify-content: center;
    }
}

@media (max-width: 600px) {

    .footer-right {
        flex-direction: column;
        gap: 7px;
    }

    .footer-separator {
        display: none;
    }

    .visitor-stat {
        justify-content: center;
    }
}
/* =========================================
   Registration Form
   ========================================= */

.registration-wrapper {
    width: 100%;
    padding: 15px 0 30px;
}

.registration-main-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid #d5dce3;
    box-shadow: 0 3px 12px rgba(11,45,80,0.07);
    overflow: hidden;
}

/* Top information */

.registration-top-note {
    padding: 10px 18px;
    background: #f8fafc;
    border-bottom: 1px solid #e4e9ee;
    text-align: center;
}

.registration-top-note .important-note {
    color: #c52f2f;
    font-size: 12px;
    font-weight: 700;
}

.mandatory-note {
    color: #c52f2f;
    font-size: 11px;
    text-align: right;
    padding: 9px 18px 0;
}

.session-note {
    color: #0b2d50;
    font-size: 12px;
    padding: 6px 18px 0;
    text-align: center;
    font-weight: 700;
}

.registration-message {
    color: #c52f2f;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    padding: 8px 18px;
}

/* Form sections */

.registration-section {
    margin: 15px;
    background: #ffffff;
    border: 1px solid #dfe5ea;
    border-radius: 4px;
    overflow: hidden;
}

.registration-section-title {
    background: #0b2d50;
    color: #ffffff;
    padding: 11px 16px;
    font-size: 15px;
    font-weight: 700;
    border-bottom: 3px solid #d4af37;
    display: flex;
    align-items: center;
    gap: 8px;
}

.registration-section-title i {
    color: #d4af37;
    font-size: 16px;
}

.registration-section-body {
    width: 100%;
    padding: 0;
    overflow: hidden;
}

/* Main form table */

.registration-table {
    width: 100%;
    border-collapse: collapse;
    border: 0 !important;
}

.registration-table tr {
    border: 0 !important;
}

.registration-table td {
    padding: 11px 14px;
    border: 0 !important;
    border-bottom: 1px solid #edf0f3 !important;
    vertical-align: middle;
    font-size: 13px;
}

.registration-table tr:last-child td {
    border-bottom: 0 !important;
}

/* Label column */

.registration-table td:first-child {
    width: 32%;
    min-width: 220px;
    text-align: right;
    color: #0b2d50;
    font-weight: 700;
    line-height: 1.45;
    background: #f8fafc;
}

/* Form fields */

.registration-table input[type="text"],
.registration-table input[type="email"],
.registration-table input[type="tel"],
.registration-table input[type="number"] {
    box-sizing: border-box;
    width: 100%;
    max-width: 430px;
    height: 40px;
    padding: 8px 12px;
    border: 1px solid #b8c3ce;
    border-radius: 5px;
    background: #ffffff;
    color: #173b5d;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    transition: border-color .18s ease,
                box-shadow .18s ease;
}

.registration-table input[type="text"]:hover,
.registration-table input[type="email"]:hover,
.registration-table input[type="tel"]:hover,
.registration-table input[type="number"]:hover {
    border-color: #8295a7;
}

.registration-table input[type="text"]:focus,
.registration-table input[type="email"]:focus,
.registration-table input[type="tel"]:focus,
.registration-table input[type="number"]:focus {
    outline: none;
    border-color: #123f6b;
    box-shadow: 0 0 0 3px rgba(18,63,107,0.10);
}

/* Email fields */

.registration-table input#Email,
.registration-table input#CEmail {
    width: 300px !important;
    max-width: 100%;
}

/* Date field */

.registration-table input#Date_of_Birth {
    width: 125px !important;
    max-width: 125px;
    text-align: center;
    font-weight: 700;
}

/* Required mark */

.registration-table td:first-child font[style*="color:red"] {
    color: #c52f2f !important;
    font-weight: 800;
}

/* Radio buttons */

.registration-table input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    margin: 0 6px 0 0;
    padding: 0;
    border: 2px solid #9aa9b7;
    border-radius: 50%;
    background: #ffffff;
    vertical-align: -3px;
    cursor: pointer;
    position: relative;
}

.registration-table input[type="radio"]:hover {
    border-color: #0b2d50;
}

.registration-table input[type="radio"]:checked {
    border-color: #0b2d50;
    background: #ffffff;
}

.registration-table input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    top: 3px;
    left: 3px;
    border-radius: 50%;
    background: #0b2d50;
}

/* Notes */

.field-note {
    display: inline-block;
    margin-top: 6px;
    color: #7b1738;
    font-size: 10px;
    line-height: 1.5;
}

.field-note-large {
    display: block;
    margin-top: 7px;
    color: #7b1738;
    font-size: 10px;
    line-height: 1.55;
}

/* AJAX status */

.mobile-status,
.email-status {
    display: inline-block;
    margin-left: 7px;
    color: #0b2d50;
    font-size: 12px;
    font-weight: 700;
    vertical-align: middle;
}

/* Calendar */

#Date_of_Birth1 {
    width: 25px;
    height: 25px;
    margin-left: 4px;
    vertical-align: middle;
    cursor: pointer;
}

/* CAPTCHA */

.captcha-table {
    width: 100%;
    border-collapse: collapse;
    border: 0 !important;
}

.captcha-table tr {
    border: 0 !important;
}

.captcha-table td {
    padding: 12px 14px;
    border: 0 !important;
    border-bottom: 1px solid #edf0f3 !important;
    font-size: 13px;
    vertical-align: middle;
}

.captcha-table tr:last-child td {
    border-bottom: 0 !important;
}

.captcha-table td:first-child {
    width: 58%;
    text-align: right;
    color: #0b2d50;
    font-weight: 700;
    line-height: 1.5;
}

/* CAPTCHA input */

.captcha-input {
    width: 210px !important;
    max-width: 100%;
    height: 42px !important;
    padding: 8px 12px !important;
    border: 1px solid #aebbc7 !important;
    border-radius: 5px !important;
    background: #ffffff !important;
    color: #0b2d50 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
    box-sizing: border-box;
}

.captcha-input:focus {
    outline: none;
    border-color: #123f6b !important;
    box-shadow: 0 0 0 3px rgba(18,63,107,0.10) !important;
}

/* CAPTCHA display */

.captcha-display {
    width: 145px !important;
    height: 44px !important;
    border: 1px solid #d4af37 !important;
    border-radius: 5px !important;
    background: #f8fafc !important;
    color: #174b79 !important;
    font-family: "Courier New", monospace !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    letter-spacing: 4px !important;
    text-align: center !important;
    box-shadow: none !important;
}

/* CAPTCHA refresh */

.captcha-refresh {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    color: #0b2d50;
    font-size: 12px;
    font-weight: 600;
}

.captcha-refresh a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border: 1px solid #c8d1da;
    border-radius: 4px;
    background: #ffffff;
}

.captcha-refresh a:hover {
    border-color: #0b2d50;
    background: #f5f8fa;
}

.captcha-refresh img {
    width: 23px;
    height: 23px;
}

/* Submit button */

.registration-submit-area {
    text-align: center;
    padding: 17px 15px 27px;
}

.registration-submit {
    min-width: 235px;
    height: 45px;
    padding: 8px 25px;
    border: 0;
    border-bottom: 3px solid #8e6d12;
    border-radius: 5px;
    background: #0b2d50;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 3px 7px rgba(11,45,80,0.16);
    transition: background-color .18s ease,
                transform .15s ease,
                box-shadow .18s ease;
}

.registration-submit:hover {
    background: #174b79;
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(11,45,80,0.20);
}

.registration-submit:active {
    transform: translateY(0);
}

.registration-submit:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Registration responsive layout */

@media (max-width: 900px) {

    .registration-table td:first-child {
        width: 34%;
        min-width: 190px;
    }

    .registration-table input[type="text"],
    .registration-table input[type="email"],
    .registration-table input[type="tel"],
    .registration-table input[type="number"] {
        max-width: 100%;
    }

    .registration-table input#Email,
    .registration-table input#CEmail {
        width: 100% !important;
    }
}

@media (max-width: 700px) {

    .registration-wrapper {
        padding: 10px 0 20px;
    }

    .registration-main-card {
        border-left: 0;
        border-right: 0;
        box-shadow: none;
    }

    .registration-section {
        margin: 10px 7px;
        border-radius: 3px;
    }

    .registration-table td {
        display: block;
        width: 100% !important;
        min-width: 0 !important;
        text-align: left !important;
        border: 0 !important;
        border-bottom: 1px solid #edf0f3 !important;
    }

    .registration-table tr:last-child td {
        border-bottom: 0 !important;
    }

    .registration-table td:first-child {
        padding: 9px 11px 5px;
        background: #f8fafc;
        font-size: 12px;
    }

    .registration-table td:last-child {
        padding: 6px 11px 12px;
        background: #ffffff;
    }

    .registration-table input[type="text"],
    .registration-table input[type="email"],
    .registration-table input[type="tel"],
    .registration-table input[type="number"] {
        width: 100%;
        max-width: 100%;
    }

    .registration-table input#Email,
    .registration-table input#CEmail {
        width: 100% !important;
        max-width: 100%;
    }

    .registration-table input#Date_of_Birth {
        width: 125px !important;
        max-width: 125px;
    }

    .mobile-status,
    .email-status {
        display: block;
        margin-left: 0;
        margin-top: 5px;
    }

    .field-note,
    .field-note-large {
        font-size: 9px;
    }

    /* CAPTCHA mobile */

    .captcha-table td,
    .captcha-table td:first-child {
        display: block;
        width: 100%;
        text-align: left;
    }

    .captcha-table td:first-child {
        padding: 9px 11px 5px;
        background: #f8fafc;
    }

    .captcha-table td:last-child {
        padding: 6px 11px 12px;
    }

    .captcha-input {
        width: 100% !important;
        max-width: 300px;
    }

    .captcha-display {
        width: 145px !important;
    }

    .mandatory-note {
        text-align: center;
    }

    .registration-submit-area {
        padding: 15px 12px 22px;
    }

    .registration-submit {
        width: 100%;
        max-width: 380px;
        min-width: 0;
    }
}

@media (max-width: 420px) {

    .registration-section {
        margin: 8px 4px;
    }

    .registration-section-title {
        padding: 9px 11px;
        font-size: 14px;
    }

    .registration-table td,
    .captcha-table td {
        font-size: 12px;
    }

    .field-note,
    .field-note-large {
        font-size: 9px;
    }

    .captcha-input {
        max-width: 100%;
    }

    .captcha-display {
        width: 135px !important;
        height: 42px !important;
        font-size: 20px !important;
    }

    .registration-submit {
        width: 100%;
    }
}

/* =========================================================
   REGISTRATION FORM - RESPONSIVE FIELD LAYOUT
   ========================================================= */

#container {
    width: 94% !important;
    max-width: 1180px !important;
    margin: 14px auto 24px !important;
    padding: 0 15px 24px !important;
    background: #ffffff !important;
    border: 1px solid #d5dce3 !important;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    box-sizing: border-box;
}

#container table {
    border-collapse: collapse;
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.form_tab {
    width: 100% !important;
    box-sizing: border-box;
    margin: 14px 0 0 !important;
    padding: 11px 15px !important;

    background: #0b2d50 !important;
    border-left: 5px solid #d4af37 !important;
    border-bottom: 2px solid #d4af37 !important;
    border-radius: 4px 4px 0 0;

    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.4;
}

fieldset {
    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid #d5dce3 !important;
    border-top: 0 !important;

    background: #ffffff !important;
    border-radius: 0 0 4px 4px;

    overflow: hidden;
}


/* =========================================================
   MAIN REGISTRATION ROWS
   ========================================================= */

.registration-fields {
    width: 100% !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
}

.registration-fields tr {
    border-bottom: 1px solid #e2e8ee;
}

.registration-fields tr:last-child {
    border-bottom: 0;
}

.registration-fields td {
    padding: 12px 14px !important;
    vertical-align: middle !important;
    box-sizing: border-box;
}


/* Label column */

.registration-fields td:first-child {
    width: 35% !important;

    background: #f5f8fb !important;

    border-right: 1px solid #d5dce3 !important;

    color: #243746;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}


/* Input column */

.registration-fields td:nth-child(2) {
    width: 65% !important;

    background: #ffffff !important;

    color: #243746;
    line-height: 1.5;
}


/* =========================================================
   TEXT INPUTS
   ========================================================= */

#container input[type="text"],
#container input[type="email"],
#container input[type="password"],
#container input[type="number"] {
    box-sizing: border-box;

    width: 100%;
    max-width: 430px;

    height: 40px;

    padding: 8px 12px;

    border: 1px solid #b8c5d1 !important;
    border-radius: 5px;

    background: #ffffff !important;

    color: #243746 !important;

    font-size: 14px;

    outline: none;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

#container input[type="text"]:focus,
#container input[type="email"]:focus,
#container input[type="password"]:focus,
#container input[type="number"]:focus {
    border-color: #174b79 !important;

    box-shadow: 0 0 0 3px rgba(23, 75, 121, 0.10) !important;

    background: #ffffff !important;
}

#container input[readonly] {
    background: #f7f9fb !important;
    cursor: pointer;
}


/* Email fields */

#container #Email,
#container #CEmail {
    width: 100% !important;
    max-width: 430px !important;
}


/* Mobile fields */

#container #Mobile_No,
#container #CMobile_No {
    width: 100% !important;
    max-width: 300px !important;
}


/* =========================================================
   DATE OF BIRTH
   ========================================================= */

#container #Date_of_Birth {
    width: 120px !important;
    max-width: 120px !important;

    text-align: center;

    font-weight: 600;

    letter-spacing: 0.3px;
}


/* Calendar button */

#container #Date_of_Birth1 {
    width: 28px !important;
    height: 28px !important;

    object-fit: contain;

    padding: 5px !important;
    margin-left: 6px !important;

    border: 1px solid #c7d1db !important;
    border-radius: 4px !important;

    background: #f4f7fa;

    cursor: pointer;

    vertical-align: middle !important;

    box-sizing: border-box;
}

#container #Date_of_Birth1:hover {
    background: #eaf0f5;
    border-color: #174b79 !important;
}


/* =========================================================
   RADIO BUTTONS
   ========================================================= */

.registration-fields input[type="radio"] {
    width: auto !important;
    height: auto !important;
    max-width: none !important;

    margin-left: 2px;
    margin-right: 5px;

    accent-color: #174b79;

    vertical-align: middle;
}


/* =========================================================
   AJAX STATUS MESSAGES
   ========================================================= */

#mobile_status,
#email_status {
    display: inline-block;

    margin-left: 8px;

    font-size: 12px !important;
    font-weight: 700 !important;

    vertical-align: middle;
}


/* =========================================================
   FIELD NOTES
   ========================================================= */

#container font[style*="#990033"] {
    display: inline-block;

    margin-top: 6px;

    color: #596b7b !important;

    font-size: 11px !important;
    line-height: 1.55;
}


/* =========================================================
   CAPTCHA
   ========================================================= */

.captcha-fields {
    width: 100% !important;

    border-collapse: collapse !important;
    table-layout: fixed !important;
}

.captcha-fields td {
    padding: 11px 14px !important;

    vertical-align: middle !important;

    border: 0 !important;
    box-sizing: border-box;
}

.captcha-fields td:first-child {
    width: 42% !important;

    background: #f5f8fb !important;

    text-align: right !important;

    color: #243746;

    font-size: 13px;
    font-weight: 600;
}

.captcha-fields td:last-child {
    width: 58% !important;

    background: #ffffff !important;

    text-align: left !important;
}


/* Captcha input */

#TxtSecPin {
    width: 220px !important;
    max-width: 100% !important;

    height: 40px !important;
}


/* Captcha display */

#mainCaptcha {
    display: inline-block;

    width: 120px !important;
    height: 40px !important;

    line-height: 40px !important;

    padding: 0 !important;

    border: 1px dashed #b8c5d1 !important;
    border-radius: 4px !important;

    background: #f8fafc !important;

    color: #174b79 !important;

    font-weight: 800 !important;
    font-size: 20px !important;

    text-align: center !important;

    letter-spacing: 3px;

    vertical-align: middle !important;

    box-sizing: border-box;
}


/* Captcha refresh */

#refresh {
    width: 28px !important;
    height: 28px !important;

    padding: 5px !important;
    margin-left: 6px !important;

    border: 1px solid #c7d1db;

    border-radius: 4px;

    background: #f4f7fa;

    vertical-align: middle !important;

    cursor: pointer;

    box-sizing: border-box;
}

#refresh:hover {
    background: #eaf0f5;
    border-color: #174b79;
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.btnSubmit {
    min-width: 210px !important;
    height: 44px !important;

    padding: 9px 25px !important;

    border: 0 !important;
    border-bottom: 3px solid #d4af37 !important;

    border-radius: 5px !important;

    background: #0b2d50 !important;

    color: #ffffff !important;

    font-size: 14px !important;
    font-weight: 700 !important;

    cursor: pointer;

    box-sizing: border-box;
}

.btnSubmit:hover {
    background: #174b79 !important;
}

.btnSubmit:disabled {
    background: #71808e !important;

    border-bottom-color: #9ca7b0 !important;

    cursor: not-allowed;
}


/* =========================================================
   CALENDAR POPUP
   ========================================================= */

#calender_div_84 {
    position: absolute !important;

    z-index: 999999 !important;

    background: #ffffff !important;

    border: 1px solid #b8c5d1 !important;

    border-radius: 6px !important;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18) !important;

    overflow: hidden;

    max-width: calc(100vw - 20px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    #container {
        width: 96% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .registration-fields td {
        padding: 10px 11px !important;
    }

    .registration-fields td:first-child {
        width: 36% !important;
    }

    .registration-fields td:nth-child(2) {
        width: 64% !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    #container {
        width: 96% !important;

        margin: 10px auto 18px !important;

        padding: 0 7px 18px !important;
    }


    /* Convert registration rows into clean vertical blocks */

    .registration-fields,
    .registration-fields tbody,
    .registration-fields tr,
    .registration-fields td {
        display: block !important;

        width: 100% !important;
    }

    .registration-fields tr {
        border-bottom: 1px solid #e2e8ee;
    }

    .registration-fields td:first-child {
        width: 100% !important;

        padding: 9px 12px 6px !important;

        border-right: 0 !important;
        border-bottom: 1px solid #d5dce3 !important;

        background: #f5f8fb !important;

        text-align: left !important;

        font-size: 13px !important;
        font-weight: 700 !important;
    }

    .registration-fields td:nth-child(2) {
        width: 100% !important;

        padding: 8px 12px 13px !important;

        background: #ffffff !important;
    }


    /* Full width fields */

    #container input[type="text"],
    #container input[type="email"],
    #container input[type="password"],
    #container input[type="number"] {
        width: 100% !important;
        max-width: 100% !important;

        height: 40px !important;
    }


    /* Keep DOB compact */

    #container #Date_of_Birth {
        width: 120px !important;
        max-width: 120px !important;
    }

    #container #Date_of_Birth1 {
        width: 28px !important;
        height: 28px !important;
    }


    /* Status text */

    #mobile_status,
    #email_status {
        display: block;

        margin-left: 0;

        margin-top: 5px;
    }


    /* CAPTCHA becomes vertical */

    .captcha-fields,
    .captcha-fields tbody,
    .captcha-fields tr,
    .captcha-fields td {
        display: block !important;

        width: 100% !important;
    }

    .captcha-fields td:first-child {
        width: 100% !important;

        padding: 9px 12px 5px !important;

        text-align: left !important;

        background: #f5f8fb !important;
    }

    .captcha-fields td:last-child {
        width: 100% !important;

        padding: 8px 12px 12px !important;

        text-align: left !important;
    }

    #TxtSecPin {
        width: 100% !important;
        max-width: 320px !important;
    }


    .form_tab {
        margin-top: 12px !important;

        padding: 10px 12px !important;

        font-size: 14px !important;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    #container {
        width: 97% !important;

        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .registration-fields td:first-child {
        font-size: 12px !important;

        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .registration-fields td:nth-child(2) {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    #container input[type="text"],
    #container input[type="email"],
    #container input[type="password"],
    #container input[type="number"] {
        height: 40px !important;

        font-size: 14px !important;
    }

    .btnSubmit {
        width: 100% !important;
        min-width: 0 !important;
    }

    #mainCaptcha {
        width: 110px !important;
    }

}
/* =========================================================
   APPLICATION STEPPER
   ========================================================= */

.app-stepper {
    width: 100%;
    display: flex;
    align-items: flex-start;

    margin: 25px 0;
    padding: 0;

    list-style: none;
}


/* =========================================================
   STEP
   ========================================================= */

.app-step {
    position: relative;

    flex: 1;
    min-width: 0;

    margin: 0;
    padding: 0;

    text-align: center;
}


/* =========================================================
   CONNECTING LINE
   ========================================================= */

.app-step:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 20px;
    left: 50%;

    width: 100%;
    height: 3px;

    background-color: #d9dee3;

    z-index: 1;
}


/* =========================================================
   STEP LINK
   ========================================================= */

.app-step-link {
    position: relative;

    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;

    padding: 0 8px;

    color: inherit;
    text-decoration: none;

    background: transparent;

    box-sizing: border-box;

    cursor: pointer;
}


/* =========================================================
   STEP CIRCLE
   ========================================================= */

.app-step-circle {
    position: relative;

    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    margin-bottom: 10px;

    box-sizing: border-box;

    border: 3px solid #ffffff;
    border-radius: 50%;

    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    transition: transform 0.2s ease;
}


/* =========================================================
   STEP TITLE
   ========================================================= */

.app-step-title {
    display: block;

    max-width: 160px;

    font-size: 14px;
    font-weight: 600;

    line-height: 1.4;

    text-align: center;
}


/* =========================================================
   COMPLETED
   ========================================================= */

.app-step-completed {
    background-color: #198754;
    color: #ffffff;

    box-shadow: 0 0 0 2px #198754;
}


/* Completed title */

.app-step-link:has(.app-step-completed) .app-step-title {
    color: #198754;
}


/* Completed connector */

.app-step:has(.app-step-completed):not(:last-child)::after {
    background-color: #198754;
}


/* =========================================================
   PENDING
   ========================================================= */

.app-step-pending {
    background-color: #dc3545;
    color: #ffffff;

    box-shadow: 0 0 0 2px #dc3545;
}


/* Pending title */

.app-step-link:has(.app-step-pending) .app-step-title {
    color: #dc3545;
}


/* =========================================================
   HOVER
   ========================================================= */

.app-step-link:hover .app-step-circle {
    transform: scale(1.08);
}


/* =========================================================
   DISABLED
   ========================================================= */

.app-step-link[aria-disabled="true"] {
    cursor: not-allowed;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 768px) {

    .app-stepper {
        width: 100%;

        overflow-x: auto;

        padding: 10px 5px 15px;

        margin: 20px 0;

        box-sizing: border-box;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: thin;
    }


    .app-step {
        flex: 0 0 145px;

        min-width: 145px;
    }


    .app-step:not(:last-child)::after {
        top: 18px;

        height: 2px;
    }


    .app-step-circle {
        width: 36px;
        height: 36px;

        font-size: 13px;
    }


    .app-step-title {
        max-width: 130px;

        font-size: 12px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .app-stepper {
        margin: 15px 0;

        padding: 10px 0 15px;
    }


    .app-step {
        flex: 0 0 120px;

        min-width: 120px;
    }


    .app-step:not(:last-child)::after {
        top: 16px;

        height: 2px;
    }


    .app-step-circle {
        width: 32px;
        height: 32px;

        margin-bottom: 8px;

        font-size: 12px;
    }


    .app-step-title {
        max-width: 105px;

        font-size: 11px;

        line-height: 1.35;
    }
}
/* ==========================================================
   PROFESSIONAL REGDETAILS - PERSONAL DETAILS SECTION
   Left-aligned, responsive layout.
   PHP/business logic is preserved.
   ========================================================== */
.regdetails-section,
.regdetails-section *{box-sizing:border-box;}

.regdetails-section{
    width:100%;
    max-width:1120px;
    margin:0 auto;
    padding:0;
    color:#28343e;
    font-family:Arial,"Noto Sans Devanagari","Mangal",sans-serif;
    font-size:14px;
    line-height:1.5;
}

.regdetails-section .form_tab{
    display:flex;
    align-items:center;
    min-height:48px;
    margin:0 0 14px;
    padding:11px 16px;
    border-left:5px solid #d6ad38;
    border-radius:8px;
    background:linear-gradient(90deg,#082f5b,#0b4d8d);
    color:#fff;
    font-size:16px;
    font-weight:800;
    line-height:1.3;
    box-shadow:0 3px 10px rgba(20,45,70,.08);
}

.regdetails-section fieldset{
    min-width:0;
    margin:0;
    padding:0;
    border:0;
}

/* Normal personal-information rows */
.regdetails-section .detail-grid{
    display:grid;
    grid-template-columns:minmax(280px,36%) minmax(0,64%);
    width:100%;
    margin:0;
    padding:0;
    border:1px solid #d8dfe6;
    border-radius:9px;
    overflow:hidden;
    background:#fff;
}

.regdetails-section .detail-row{
    display:contents;
}

.regdetails-section .detail-label,
.regdetails-section .detail-value{
    min-width:0;
    margin:0;
    padding:11px 15px;
    border-bottom:1px solid #e8edf1;
}

.regdetails-section .detail-label{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    text-align:left;
    color:#082f5b;
    background:#f8fafc;
    font-weight:700;
    overflow-wrap:anywhere;
}

.regdetails-section .detail-value{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    text-align:left;
    background:#fff;
    color:#28343e;
    font-weight:600;
    overflow-wrap:anywhere;
}

.regdetails-section .detail-row:last-child .detail-label,
.regdetails-section .detail-row:last-child .detail-value{
    border-bottom:0;
}

.regdetails-section .detail-value strong{
    color:#28343e;
    font-weight:700;
}

/* Keep the bilingual question together and readable. */
.regdetails-section .question-label{
    display:block;
    width:100%;
    text-align:left;
}

.regdetails-section .question-label .question-en,
.regdetails-section .question-label .question-hi{
    display:block;
}

.regdetails-section .question-label .question-hi{
    margin-top:2px;
    color:#65717b;
    font-size:13px;
    font-weight:600;
}

/* Address area */
.regdetails-section .address-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
    margin-top:16px;
}

.regdetails-section .address-card{
    min-width:0;
    overflow:hidden;
    border:1px solid #d8dfe6;
    border-radius:10px;
    background:#fff;
    box-shadow:0 3px 12px rgba(20,45,70,.05);
}

.regdetails-section .address-title{
    padding:12px 15px;
    border-bottom:1px solid #e8edf1;
    background:#f7f9fb;
    color:#082f5b;
    font-size:15px;
    font-weight:800;
    line-height:1.35;
    text-align:left;
}

.regdetails-section .address-row{
    display:grid;
    grid-template-columns:minmax(135px,35%) minmax(0,65%);
    min-width:0;
    border-bottom:1px solid #e8edf1;
}

.regdetails-section .address-row:last-child{
    border-bottom:0;
}

.regdetails-section .address-label,
.regdetails-section .address-value{
    min-width:0;
    padding:10px 12px;
    text-align:left;
    overflow-wrap:anywhere;
}

.regdetails-section .address-label{
    color:#082f5b;
    background:#fbfcfd;
    font-size:13px;
    font-weight:700;
}

.regdetails-section .address-value{
    color:#28343e;
    font-size:14px;
    font-weight:600;
}

/* Prevent long values from expanding the card. */
.regdetails-section .address-value,
.regdetails-section .detail-value{
    overflow-wrap:anywhere;
    word-break:break-word;
}

@media (max-width:850px){
    .regdetails-section{
        max-width:100%;
    }

    .regdetails-section .detail-grid{
        grid-template-columns:minmax(230px,40%) minmax(0,60%);
    }
}

@media (max-width:700px){
    .regdetails-section .detail-grid{
        display:block;
        border-radius:8px;
    }

    .regdetails-section .detail-row{
        display:block;
    }

    .regdetails-section .detail-label,
    .regdetails-section .detail-value{
        display:block;
        width:100%;
        border-bottom:0;
    }

    .regdetails-section .detail-label{
        padding:9px 12px 3px;
        background:#f8fafc;
    }

    .regdetails-section .detail-value{
        padding:3px 12px 10px;
        border-bottom:1px solid #e8edf1;
    }

    .regdetails-section .address-grid{
        grid-template-columns:1fr;
        gap:12px;
    }

    .regdetails-section .address-row{
        display:block;
    }

    .regdetails-section .address-label{
        padding:8px 11px 2px;
        background:#fff;
    }

    .regdetails-section .address-value{
        padding:2px 11px 9px;
        border-bottom:0;
    }
}

@media (max-width:420px){
    .regdetails-section .form_tab{
        min-height:44px;
        padding:10px 12px;
        font-size:14px;
    }

    .regdetails-section{
        font-size:13px;
    }

    .regdetails-section .question-label .question-hi{
        font-size:12px;
    }
}
/* ================================
   HOME + LOGOUT BUTTONS
   ================================ */

.regdetails-session-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

.regdetails-session-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;

    min-width: 95px !important;
    height: 38px !important;
    padding: 0 16px !important;

    background: #0b4d8d !important;
    color: #ffffff !important;
    border: 1px solid #0b4d8d !important;
    border-radius: 5px !important;

    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-decoration: none !important;

    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.regdetails-session-action i {
    display: inline-block !important;
    color: #ffffff !important;
    font-size: 15px !important;
    margin-right: 7px !important;
    line-height: 1 !important;
}

.regdetails-session-action:hover {
    background: #082f5b !important;
    border-color: #082f5b !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

/* Logout */
.regdetails-session-action.logout {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;

    background: #b52228 !important;
    border-color: #b52228 !important;
    color: #ffffff !important;
}

.regdetails-session-action.logout i {
    color: #ffffff !important;
}

.regdetails-session-action.logout:hover {
    background: #8e181d !important;
    border-color: #8e181d !important;
    color: #ffffff !important;
}

/* Mobile */
@media (max-width: 767px) {
    .regdetails-session-actions {
        width: 100% !important;
        justify-content: flex-start !important;
        margin-top: 8px !important;
    }

    .regdetails-session-action {
        min-width: 90px !important;
        height: 36px !important;
        padding: 0 13px !important;
        font-size: 13px !important;
    }
}

/* SAVE AND NEXT - LANDING PAGE BUTTON STYLE */
.red_btn1 {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #b52228 !important;
    border: 0 !important;
    border-radius: 3px !important;
    overflow: hidden !important;
    text-align: center !important;
}

.red_btn1 a {
    display: block !important;
    padding: 12px 24px !important;
    margin: 0 !important;

    background: #b52228 !important;
    color: #ffffff !important;

    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: bold !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;

    text-decoration: none !important;
    border: none !important;
    border-radius: 3px !important;

    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.red_btn1 a:hover {
    background: #8e181d !important;
    color: #ffffff !important;
    text-decoration: none !important;
}
.mandatory-star {
    color: #b52228 !important;
    font-weight: bold !important;
}
.portal-nav {
    background: linear-gradient(
        135deg,
        var(--navy-dark),
        var(--navy)
    );
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    position: relative;
    z-index: 100;
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 58px;
    overflow-x: auto;
}

/* Hide scrollbar */
.nav-inner::-webkit-scrollbar {
    height: 0;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 58px;
    padding: 0 18px;

    color: #fff !important;
    text-decoration: none;

    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

/* Animated background */
.nav-link::before {
    content: "";
    position: absolute;
    inset: 7px 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    transform: scaleX(0);
    transition: transform 0.25s ease;
    z-index: -1;
}

/* Animated bottom line */
.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--gold);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

/* Icon */
.nav-link i {
    font-size: 17px;
    color: #fff;
    transition:
        transform 0.25s ease,
        color 0.25s ease;
}

/* Hover */
.nav-link:hover {
    color: var(--gold) !important;
    background: rgba(212, 175, 55, 0.12);
    transform: translateY(-1px);
}

.nav-link:hover::before {
    transform: scaleX(1);
    background: rgba(212, 175, 55, 0.08);
}

.nav-link:hover::after {
    width: 85%;
    background: var(--gold);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.nav-link:hover i {
    color: var(--gold);
    transform: scale(1.15);
}

/* Active */
.nav-link.active {
   background: var(--gold);
    color: #fff !important;
}

.nav-link.active::after {
    width: 75%;
}

.nav-link.active i {
    color: var(--gold);
}

/* PDF button */
.nav-link.nav-pdf {
    margin-left: auto;
}

.nav-pdf i {
    color: #ffb4b4;
}

.nav-pdf small {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 3px 6px;
    margin-left: 2px;

    background: #c62828;
    color: #fff;

    border-radius: 4px;
    font-size: 8px;
    font-weight: 800;
    line-height: 1;
}

.nav-pdf:hover i {
    color: #ff7777;
}

@media (max-width: 900px) {

    .nav-inner {
        justify-content: flex-start;
    }

    .nav-link {
        padding: 0 13px;
        font-size: 12px;
    }

    .nav-link i {
        font-size: 15px;
    }

    .nav-pdf {
        margin-left: 0 !important;
    }
}

@media (max-width: 600px) {

    .nav-inner {
        min-height: 52px;
    }

    .nav-link {
        min-height: 52px;
        padding: 0 11px;
        gap: 6px;
        font-size: 11px;
    }

    .nav-link i {
        font-size: 14px;
    }

    .nav-link::before {
        inset: 6px 3px;
    }
}
.notice-section {
    padding: 22px 0;
    background: #f1f5f8;
}

.notice-board {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 70px;
    overflow: hidden;
    border: 1px solid #d1dce5;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 5px 16px rgba(7, 59, 112, 0.10);
}

.notice-title {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 255px;
    padding: 0 25px;
    color: #ffffff;
    background: linear-gradient(135deg, #063765 0%, #0b477f 55%, #0d548f 100%);
    border-right: 4px solid #e0b52f;
}

.notice-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.notice-icon i {
    font-size: 18px;
    animation: noticeBell 2s ease-in-out infinite;
}

.notice-label {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.notice-content {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    padding: 0 22px;
    background: #ffffff;
}

.notice-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    margin-right: 18px;
    padding: 8px 13px;
    border: 1px solid #d5e0e9;
    border-radius: 6px;
    color: #073b70;
    background: #f2f6fa;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.7px;
    white-space: nowrap;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e0b52f;
    box-shadow: 0 0 0 4px rgba(224, 181, 47, 0.15);
    animation: liveBlink 1.5s infinite;
}

.notice-marquee {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: #34495e;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
}

.notice-marquee marquee {
    display: block;
    width: 100%;
    padding: 5px 0;
}

.notice-board:hover {
    border-color: #b8c9d8;
    box-shadow: 0 8px 22px rgba(7, 59, 112, 0.15);
    transition: all 0.25s ease;
}

@keyframes noticeBell {
    0%, 100% {
        transform: rotate(0deg);
    }
    8% {
        transform: rotate(10deg);
    }
    16% {
        transform: rotate(-10deg);
    }
    24% {
        transform: rotate(7deg);
    }
    32% {
        transform: rotate(-7deg);
    }
    40% {
        transform: rotate(0deg);
    }
}

@keyframes liveBlink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

@media (max-width: 900px) {
    .notice-title {
        min-width: 220px;
        padding: 0 18px;
    }

    .notice-label {
        font-size: 15px;
    }

    .notice-content {
        padding: 0 15px;
    }

    .notice-marquee {
        font-size: 15px;
    }
}

@media (max-width: 700px) {
    .notice-section {
        padding: 16px 0;
    }

    .notice-board {
        display: block;
        min-height: auto;
    }

    .notice-title {
        min-width: 0;
        min-height: 62px;
        padding: 0 20px;
        border-right: 0;
        border-bottom: 4px solid #e0b52f;
    }

    .notice-content {
        min-height: 58px;
        padding: 10px 14px;
    }

    .notice-marquee {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .notice-title {
        min-height: 58px;
        padding: 0 15px;
    }

    .notice-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .notice-label {
        font-size: 14px;
    }

    .notice-live {
        display: none;
    }

    .notice-content {
        min-height: 54px;
        padding: 8px 12px;
    }

    .notice-marquee {
        font-size: 13px;
    }
}

/* Page Layout */

        .findpwd-wrapper {
            padding: 18px 0 25px;
        }

        .findpwd-layout {
            display: grid;
            grid-template-columns: 280px minmax(0, 1fr);
            gap: 20px;
            align-items: start;
        }


        /* Left Column */

        .left-column {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }


        /* Portal Cards */

        .portal-card {
            background: #ffffff;
            border: 1px solid #d5dce3;
            box-shadow: 0 2px 7px rgba(0, 0, 0, 0.06);
        }


        /* Card Heading */

        .card-heading {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 15px 14px;
            background: #f5f7f9;
            border-bottom: 1px solid #dce2e8;
        }

        .heading-icon {
            width: 42px;
            height: 42px;
            flex: 0 0 42px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #0b2d50;
            color: #ffffff;
            font-size: 18px;
        }

        .card-heading h2 {
            margin: 0;
            color: #0b2d50;
            font-size: 15px;
            font-weight: 800;
            letter-spacing: 0.3px;
        }

        .card-heading span {
            display: block;
            margin-top: 2px;
            color: #71808e;
            font-size: 11px;
            font-weight: 500;
        }


        /* Online Services */

        .link-list {
            display: flex;
            flex-direction: column;
        }

        .portal-link {
            min-height: 48px;
            padding: 10px 12px;
            display: flex;
            align-items: center;
            gap: 10px;
            color: #263b4d;
            text-decoration: none;
            border-bottom: 1px solid #e7ebef;
            transition: all 0.2s ease;
        }

        .portal-link:last-child {
            border-bottom: 0;
        }

        .portal-link:hover {
            background: #f1f5f8;
            color: #0b2d50;
        }

        .portal-link.active-service {
            background: #eaf1f7;
            color: #0b2d50;
            border-left: 4px solid #d4af37;
            padding-left: 8px;
            font-weight: 700;
        }

        .link-icon {
            width: 28px;
            height: 28px;
            flex: 0 0 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #eef3f7;
            color: #0b2d50;
            font-size: 14px;
        }

        .portal-link.active-service .link-icon {
            background: #0b2d50;
            color: #ffffff;
        }

        .link-text {
            flex: 1;
            font-size: 12.5px;
            line-height: 1.35;
        }

        .link-arrow {
            color: #9aa7b2;
            font-size: 12px;
        }

        .portal-link:hover .link-arrow,
        .portal-link.active-service .link-arrow {
            color: #b38719;
        }


        /* Helpdesk */

        .helpdesk-card {
            overflow: hidden;
        }

        .helpdesk-content {
            padding: 15px;
        }

        .helpdesk-phone {
            display: flex;
            align-items: center;
            gap: 12px;
            padding-bottom: 14px;
            border-bottom: 1px solid #e1e6ea;
        }

        .helpdesk-phone > i {
            width: 38px;
            height: 38px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #0b2d50;
            color: #ffffff;
            font-size: 16px;
        }

        .helpdesk-phone small {
            display: block;
            color: #7b8792;
            font-size: 10px;
            margin-bottom: 2px;
        }

        .helpdesk-phone a {
            color: #0b2d50;
            font-size: 15px;
            font-weight: 800;
            text-decoration: none;
        }

        .helpdesk-phone a:hover {
            color: #b38719;
        }

        .helpdesk-time {
            padding-top: 12px;
        }

        .helpdesk-time div {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            margin-bottom: 8px;
            color: #526270;
            font-size: 11px;
            line-height: 1.4;
        }

        .helpdesk-time div:last-child {
            margin-bottom: 0;
        }

        .helpdesk-time i {
            color: #b38719;
            font-size: 13px;
            margin-top: 1px;
        }


        /* Recovery Card */

        .recovery-card {
            background: #ffffff;
            border: 1px solid #d5dce3;
            box-shadow: 0 2px 7px rgba(0, 0, 0, 0.06);
            overflow: hidden;
        }

        .recovery-header {
            padding: 17px 20px;
            background: #f5f7f9;
            border-bottom: 1px solid #d5dce3;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .recovery-header-icon {
            width: 44px;
            height: 44px;
            flex: 0 0 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #0b2d50;
            color: #ffffff;
            font-size: 19px;
        }

        .recovery-header h2 {
            margin: 0;
            color: #0b2d50;
            font-size: 19px;
            font-weight: 800;
        }

        .recovery-header p {
            margin: 3px 0 0;
            color: #71808e;
            font-size: 12px;
        }

        .recovery-body {
            padding: 22px;
        }


        /* Form */

        .form-row-custom {
            margin-bottom: 17px;
        }

        .form-label-custom {
            display: block;
            margin-bottom: 6px;
            color: #263b4d;
            font-size: 13px;
            font-weight: 700;
        }

        .form-label-custom .required {
            color: #c52f2f;
        }

        .recovery-input {
            width: 100%;
            height: 43px;
            padding: 8px 12px;
            border: 1px solid #cbd4dc;
            background: #ffffff;
            color: #263b4d;
            font-size: 13px;
            outline: none;
            transition: border-color 0.2s ease,
                        box-shadow 0.2s ease;
        }

        .recovery-input:focus {
            border-color: #0b2d50;
            box-shadow: 0 0 0 3px rgba(11, 45, 80, 0.08);
        }


        /* Date Field */

        .date-input-group {
            display: flex;
            align-items: stretch;
        }

        .date-input-group .recovery-input {
            flex: 1;
        }

        .calendar-button {
            width: 44px;
            border: 1px solid #cbd4dc;
            border-left: 0;
            background: #f3f5f7;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
        }

        .calendar-button img {
            width: 20px;
            height: 20px;
            object-fit: contain;
        }


        /* Captcha */

        .captcha-row {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .captcha-input {
            width: 180px;
            height: 43px;
            padding: 8px 12px;
            border: 1px solid #cbd4dc;
            color: #263b4d;
            font-size: 14px;
            font-weight: 600;
            outline: none;
        }

        .captcha-input:focus {
            border-color: #0b2d50;
            box-shadow: 0 0 0 3px rgba(11, 45, 80, 0.08);
        }

        .captcha-code {
            width: 150px;
            height: 43px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #eef2f5;
            border: 1px solid #cbd4dc;
        }

        #mainCaptcha {
            width: 100%;
            height: 100%;
            border: 0;
            background: transparent;
            text-align: center;
            color: #0b2d50;
            font-size: 20px;
            font-weight: 800;
            letter-spacing: 5px;
            outline: none;
        }

        .captcha-refresh {
            width: 43px;
            height: 43px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #cbd4dc;
            background: #f3f5f7;
        }

        .captcha-refresh img {
            width: 21px;
            height: 21px;
        }


        /* Submit */

        .recovery-submit {
            min-width: 175px;
            min-height: 44px;
            padding: 9px 20px;
            border: 0;
            background: #0b2d50;
            color: #ffffff;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            transition: background 0.2s ease;
        }

        .recovery-submit:hover {
            background: #174b79;
        }

        .recovery-submit i {
            margin-right: 6px;
        }


        /* Messages */

        .recovery-message {
            margin: 0 22px 20px;
            padding: 12px 15px;
            background: #fff4f4;
            border: 1px solid #e5bcbc;
            border-left: 4px solid #c52f2f;
            color: #9f2525;
            font-size: 13px;
            font-weight: 600;
        }

        .recovery-message i {
            margin-right: 6px;
        }

        .password-result {
            margin: 0 22px 20px;
            padding: 14px 16px;
            background: #eef8f1;
            border: 1px solid #b9d9c1;
            border-left: 4px solid #2d7d46;
            color: #246238;
            font-size: 14px;
        }

        .password-result i {
            margin-right: 6px;
        }

        .password-result strong {
            margin-left: 5px;
            color: #0b2d50;
            font-size: 15px;
        }

        .no-password-result {
            margin: 0 22px 20px;
            padding: 14px 16px;
            background: #fff7ed;
            border: 1px solid #e7c99f;
            border-left: 4px solid #c77b20;
            color: #8b5b1e;
            font-size: 13px;
            font-weight: 600;
        }

        .no-password-result i {
            margin-right: 6px;
        }


        /* Responsive */

        @media (max-width: 900px) {

            .findpwd-layout {
                grid-template-columns: 240px minmax(0, 1fr);
                gap: 15px;
            }

            .link-text {
                font-size: 12px;
            }

            .recovery-body {
                padding: 18px;
            }

        }


        @media (max-width: 700px) {

            .findpwd-layout {
                grid-template-columns: 1fr;
            }

            .left-column {
                width: 100%;
            }

            .recovery-card {
                width: 100%;
            }

        }


        @media (max-width: 650px) {

            .findpwd-wrapper {
                padding: 12px 0 20px;
            }

            .captcha-row {
                align-items: stretch;
            }

            .captcha-input {
                width: 100%;
            }

            .captcha-code {
                width: 150px;
            }

            .recovery-body {
                padding: 15px;
            }

            .recovery-message,
            .password-result,
            .no-password-result {
                margin-left: 15px;
                margin-right: 15px;
            }

        }


        @media (max-width: 420px) {

            .card-heading {
                padding: 13px 12px;
            }

            .heading-icon {
                width: 38px;
                height: 38px;
                flex-basis: 38px;
            }

            .recovery-header {
                padding: 14px;
            }

            .recovery-header h2 {
                font-size: 17px;
            }

            .captcha-row {
                flex-direction: column;
            }

            .captcha-input,
            .captcha-code,
            .captcha-refresh {
                width: 100%;
            }

            .recovery-submit {
                width: 100%;
            }

        }

         /* Page Layout */

        .findreg-wrapper {
            padding: 18px 0 25px;
        }

        .findreg-layout {
            display: grid;
            grid-template-columns: 280px minmax(0, 1fr);
            gap: 20px;
            align-items: start;
        }


        /* Left Column */

        .left-column {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }


        /* Portal Cards */

        .portal-card {
            background: #ffffff;
            border: 1px solid #d5dce3;
            box-shadow: 0 2px 7px rgba(0, 0, 0, 0.06);
        }


        /* Card Heading */

        .card-heading {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 15px 14px;
            background: #f5f7f9;
            border-bottom: 1px solid #dce2e8;
        }

        .heading-icon {
            width: 42px;
            height: 42px;
            flex: 0 0 42px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #0b2d50;
            color: #ffffff;
            font-size: 18px;
        }

        .card-heading h2 {
            margin: 0;
            color: #0b2d50;
            font-size: 15px;
            font-weight: 800;
            letter-spacing: 0.3px;
        }

        .card-heading span {
            display: block;
            margin-top: 2px;
            color: #71808e;
            font-size: 11px;
            font-weight: 500;
        }


        /* Online Services */

        .link-list {
            display: flex;
            flex-direction: column;
        }

        .portal-link {
            min-height: 48px;
            padding: 10px 12px;
            display: flex;
            align-items: center;
            gap: 10px;
            color: #263b4d;
            text-decoration: none;
            border-bottom: 1px solid #e7ebef;
            transition: all 0.2s ease;
        }

        .portal-link:last-child {
            border-bottom: 0;
        }

        .portal-link:hover {
            background: #f1f5f8;
            color: #0b2d50;
        }

        .portal-link.active-service {
            background: #eaf1f7;
            color: #0b2d50;
            border-left: 4px solid #d4af37;
            padding-left: 8px;
            font-weight: 700;
        }

        .link-icon {
            width: 28px;
            height: 28px;
            flex: 0 0 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #eef3f7;
            color: #0b2d50;
            font-size: 14px;
        }

        .portal-link.active-service .link-icon {
            background: #0b2d50;
            color: #ffffff;
        }

        .link-text {
            flex: 1;
            font-size: 12.5px;
            line-height: 1.35;
        }

        .link-arrow {
            color: #9aa7b2;
            font-size: 12px;
        }

        .portal-link:hover .link-arrow,
        .portal-link.active-service .link-arrow {
            color: #b38719;
        }


        /* Helpdesk */

        .helpdesk-card {
            overflow: hidden;
        }

        .helpdesk-content {
            padding: 15px;
        }

        .helpdesk-phone {
            display: flex;
            align-items: center;
            gap: 12px;
            padding-bottom: 14px;
            border-bottom: 1px solid #e1e6ea;
        }

        .helpdesk-phone > i {
            width: 38px;
            height: 38px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #0b2d50;
            color: #ffffff;
            font-size: 16px;
        }

        .helpdesk-phone small {
            display: block;
            color: #7b8792;
            font-size: 10px;
            margin-bottom: 2px;
        }

        .helpdesk-phone a {
            color: #0b2d50;
            font-size: 15px;
            font-weight: 800;
            text-decoration: none;
        }

        .helpdesk-phone a:hover {
            color: #b38719;
        }

        .helpdesk-time {
            padding-top: 12px;
        }

        .helpdesk-time div {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            margin-bottom: 8px;
            color: #526270;
            font-size: 11px;
            line-height: 1.4;
        }

        .helpdesk-time div:last-child {
            margin-bottom: 0;
        }

        .helpdesk-time i {
            color: #b38719;
            font-size: 13px;
            margin-top: 1px;
        }


        /* Recovery Card */

        .recovery-card {
            background: #ffffff;
            border: 1px solid #d5dce3;
            box-shadow: 0 2px 7px rgba(0, 0, 0, 0.06);
            overflow: hidden;
        }


        /* Card Header */

        .recovery-header {
            padding: 17px 20px;
            background: #f5f7f9;
            border-bottom: 1px solid #d5dce3;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .recovery-header-icon {
            width: 44px;
            height: 44px;
            flex: 0 0 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #0b2d50;
            color: #ffffff;
            font-size: 19px;
        }

        .recovery-header h2 {
            margin: 0;
            color: #0b2d50;
            font-size: 19px;
            font-weight: 800;
        }

        .recovery-header p {
            margin: 3px 0 0;
            color: #71808e;
            font-size: 12px;
        }


        /* Form Body */

        .recovery-body {
            padding: 22px;
        }

        .form-row-custom {
            margin-bottom: 17px;
        }

        .form-label-custom {
            display: block;
            margin-bottom: 6px;
            color: #263b4d;
            font-size: 13px;
            font-weight: 700;
        }

        .form-label-custom .required {
            color: #c52f2f;
        }


        /* Input */

        .recovery-input {
            width: 100%;
            height: 43px;
            padding: 8px 12px;
            border: 1px solid #cbd4dc;
            background: #ffffff;
            color: #263b4d;
            font-size: 13px;
            outline: none;
            transition: border-color 0.2s ease,
                        box-shadow 0.2s ease;
        }

        .recovery-input:focus {
            border-color: #0b2d50;
            box-shadow: 0 0 0 3px rgba(11, 45, 80, 0.08);
        }


        /* Date */

        .date-input-group {
            display: flex;
            align-items: stretch;
        }

        .date-input-group .recovery-input {
            flex: 1;
        }

        .calendar-button {
            width: 44px;
            border: 1px solid #cbd4dc;
            border-left: 0;
            background: #f3f5f7;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
        }

        .calendar-button img {
            width: 20px;
            height: 20px;
            object-fit: contain;
        }

        .date-help {
            display: block;
            margin-top: 5px;
            color: #174b79;
            font-size: 11px;
        }


        /* Captcha */

        .captcha-row {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .captcha-input {
            width: 180px;
            height: 43px;
            padding: 8px 12px;
            border: 1px solid #cbd4dc;
            color: #263b4d;
            font-size: 14px;
            font-weight: 600;
            outline: none;
        }

        .captcha-input:focus {
            border-color: #0b2d50;
            box-shadow: 0 0 0 3px rgba(11, 45, 80, 0.08);
        }

        .captcha-code {
            width: 150px;
            height: 43px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #eef2f5;
            border: 1px solid #cbd4dc;
        }

        #mainCaptcha {
            width: 100%;
            height: 100%;
            border: 0;
            background: transparent;
            text-align: center;
            color: #0b2d50;
            font-size: 20px;
            font-weight: 800;
            letter-spacing: 5px;
            outline: none;
        }

        .captcha-refresh {
            width: 43px;
            height: 43px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #cbd4dc;
            background: #f3f5f7;
            text-decoration: none;
        }

        .captcha-refresh img {
            width: 21px;
            height: 21px;
        }


        /* Submit */

        .recovery-submit {
            min-width: 175px;
            min-height: 44px;
            padding: 9px 20px;
            border: 0;
            background: #0b2d50;
            color: #ffffff;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            transition: background 0.2s ease;
        }

        .recovery-submit:hover {
            background: #174b79;
        }

        .recovery-submit i {
            margin-right: 6px;
        }


        /* Result Messages */

        .registration-result {
            margin: 0 22px 20px;
            padding: 14px 16px;
            background: #eef8f1;
            border: 1px solid #b9d9c1;
            border-left: 4px solid #2d7d46;
            color: #246238;
            font-size: 14px;
            text-align: center;
        }

        .registration-result i {
            margin-right: 6px;
        }

        .registration-result strong {
            color: #0b2d50;
            font-size: 16px;
        }

        .no-registration-result {
            margin: 0 22px 20px;
            padding: 14px 16px;
            background: #fff7ed;
            border: 1px solid #e7c99f;
            border-left: 4px solid #c77b20;
            color: #8b5b1e;
            font-size: 14px;
            text-align: center;
        }

        .no-registration-result i {
            margin-right: 6px;
        }

        .recovery-message {
            margin: 0 22px 20px;
            padding: 12px 15px;
            background: #fff4f4;
            border: 1px solid #e5bcbc;
            border-left: 4px solid #c52f2f;
            color: #9f2525;
            font-size: 13px;
            font-weight: 600;
            text-align: center;
        }

        .recovery-message i {
            margin-right: 6px;
        }


        /* Responsive */

        @media (max-width: 900px) {

            .findreg-layout {
                grid-template-columns: 240px minmax(0, 1fr);
                gap: 15px;
            }

            .link-text {
                font-size: 12px;
            }

            .recovery-body {
                padding: 18px;
            }

        }


        @media (max-width: 700px) {

            .findreg-layout {
                grid-template-columns: 1fr;
            }

            .left-column {
                width: 100%;
            }

            .recovery-card {
                width: 100%;
            }

        }


        @media (max-width: 650px) {

            .findreg-wrapper {
                padding: 12px 0 20px;
            }

            .captcha-row {
                align-items: stretch;
            }

            .captcha-input {
                width: 100%;
            }

            .recovery-body {
                padding: 15px;
            }

            .registration-result,
            .no-registration-result,
            .recovery-message {
                margin-left: 15px;
                margin-right: 15px;
            }

        }


        @media (max-width: 420px) {

            .card-heading {
                padding: 13px 12px;
            }

            .heading-icon {
                width: 38px;
                height: 38px;
                flex-basis: 38px;
            }

            .recovery-header {
                padding: 14px;
            }

            .recovery-header h2 {
                font-size: 17px;
            }

            .captcha-row {
                flex-direction: column;
            }

            .captcha-input,
            .captcha-code,
            .captcha-refresh {
                width: 100%;
            }

            .recovery-submit {
                width: 100%;
            }

        }

        .portal-footer {
    text-align: center;
}

.footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    text-align: center;
}

.footer-left strong {
    display: block;
}

.footer-left span {
    display: block;
}
.registration-confirm-action {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 22px 0 12px;
}

.btnSubmit {
    min-width: 185px;
    height: 44px;
    padding: 0 24px;
    border: 1px solid #0b548f;
    border-radius: 6px;
    cursor: pointer;

    color: #ffffff;
    background: linear-gradient(135deg, #063765, #0b477f);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.2px;

    box-shadow: 0 3px 8px rgba(7, 59, 112, 0.20);

    transition: all 0.25s ease;
}

/* GOLDEN MOUSE-OVER */
.btnSubmit:hover {
    color: #073b70;
    border-color: #c99f1d;

    background: linear-gradient(
        135deg,
        #d5a928 0%,
        #e0b52f 45%,
        #f5d76e 100%
    );

    box-shadow:
        0 5px 14px rgba(224, 181, 47, 0.40);

    transform: translateY(-1px);
}

.btnSubmit:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(224, 181, 47, 0.30);
}

.btnSubmit:focus {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(224, 181, 47, 0.22),
        0 4px 10px rgba(7, 59, 112, 0.20);
}

@media (max-width: 600px) {
    .btnSubmit {
        min-width: 170px;
        height: 42px;
        padding: 0 20px;
        font-size: 14px;
    }
}
/* ============================================================
   COMMON APPLICATION STEPPER CSS
   Include this file on EVERY application step page.

   Expected HTML:
   .reg-stepper-wrap
     .reg-stepper
       .reg-step.completed
       .reg-step.current
       .reg-step.pending
         .reg-step-link / a
           .reg-step-circle
           .reg-step-title
           .reg-step-status

   The stepper uses the existing navy/gold portal design.
   ============================================================ */

:root{
    --stepper-navy:#073b70;
    --stepper-navy-dark:#052d57;
    --stepper-navy-light:#0b548f;
    --stepper-gold:#e0b52f;
    --stepper-gold-light:#f5e4a4;
    --stepper-red:#9b3036;
    --stepper-border:#dfe5eb;
    --stepper-muted:#66737e;
}

/* ------------------------------------------------------------
   MAIN STEPPER BOX
   ------------------------------------------------------------ */
.reg-stepper-wrap{
    width:100%;
    box-sizing:border-box;
    margin:0 0 20px;
    padding:20px 18px 22px;
    background:#fff;
    border:1px solid #dfe5eb;
    border-radius:10px;
    box-shadow:0 4px 14px rgba(20,45,70,.07);
    overflow:hidden;
}

.reg-stepper-label{
    margin:0 0 18px;
    color:var(--stepper-navy-dark);
    font-size:14px;
    line-height:1.3;
    font-weight:800;
    text-align:left;
}

/* ------------------------------------------------------------
   HORIZONTAL STEPPER
   ------------------------------------------------------------ */
.reg-stepper{
    position:relative;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    width:100%;
    min-width:0;
    margin:0;
    padding:0;
    list-style:none;
    box-sizing:border-box;
}

.reg-step{
    position:relative;
    flex:1 1 0;
    min-width:0;
    margin:0;
    padding:0 6px;
    text-align:center;
    box-sizing:border-box;
}

/* Connecting line */
.reg-step:not(:last-child)::after{
    content:"";
    position:absolute;
    z-index:0;
    top:25px;
    left:calc(50% + 27px);
    width:calc(100% - 54px);
    height:3px;
    border-radius:3px;
    background:var(--stepper-border);
}

/* Completed connector */
.reg-step.completed:not(:last-child)::after{
    background:linear-gradient(
        90deg,
        var(--stepper-navy),
        var(--stepper-gold)
    );
}

/* Current connector stays neutral until that step is completed */
.reg-step.current:not(:last-child)::after{
    background:var(--stepper-border);
}

/* ------------------------------------------------------------
   STEP LINK
   ------------------------------------------------------------ */
.reg-step-link,
.reg-step>a{
    position:relative;
    z-index:2;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    width:100%;
    min-height:104px;
    padding:0;
    margin:0;
    color:inherit;
    text-decoration:none;
    box-sizing:border-box;
    background:transparent;
    border:0;
    outline:none;
}

/* Preserve link usability when the common PHP stepper gives
   the original left_menu_green / left_menu_red classes. */
.reg-step>a.left_menu_green{
    color:inherit;
    text-decoration:none;
}

.reg-step>a.left_menu_red{
    color:inherit;
    text-decoration:none;
}

/* ------------------------------------------------------------
   STEP CIRCLE
   ------------------------------------------------------------ */
.reg-step-circle{
    position:relative;
    z-index:3;
    display:flex;
    align-items:center;
    justify-content:center;
    width:50px;
    height:50px;
    flex:0 0 50px;
    margin:0 auto 8px;
    border:4px solid #fff;
    border-radius:50%;
    box-sizing:border-box;
    background:#e7ecf1;
    color:var(--stepper-muted);
    box-shadow:
        0 0 0 2px #cfd7df,
        0 4px 10px rgba(20,45,70,.08);
    font-size:17px;
    line-height:1;
    font-weight:800;
}

/* Completed */
.reg-step.completed .reg-step-circle{
    background:var(--stepper-navy);
    color:#fff;
    box-shadow:
        0 0 0 2px var(--stepper-navy),
        0 5px 14px rgba(8,47,91,.20);
}

/* Current */
.reg-step.current .reg-step-circle{
    background:var(--stepper-gold);
    color:var(--stepper-navy-dark);
    box-shadow:
        0 0 0 3px var(--stepper-gold-light),
        0 0 0 6px rgba(214,173,56,.18);
}

/* Pending */
.reg-step.pending .reg-step-circle{
    background:#fff;
    color:var(--stepper-red);
    box-shadow:0 0 0 2px #e2b5b8;
}

/* ------------------------------------------------------------
   STEP TITLE
   ------------------------------------------------------------ */
.reg-step-title{
    display:block;
    width:100%;
    max-width:150px;
    min-height:34px;
    margin:0 auto;
    color:var(--stepper-navy-dark);
    font-size:12px;
    line-height:1.35;
    font-weight:800;
    text-align:center;
    box-sizing:border-box;
}

.reg-step.completed .reg-step-title{
    color:var(--stepper-navy);
}

.reg-step.current .reg-step-title{
    color:#9a7611;
}

.reg-step.pending .reg-step-title{
    color:#7b5558;
}

/* ------------------------------------------------------------
   STATUS BADGE
   ------------------------------------------------------------ */
.reg-step-status{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:4px;
    min-height:22px;
    margin-top:2px;
    padding:3px 8px;
    border-radius:999px;
    box-sizing:border-box;
    font-size:10px;
    line-height:1;
    font-weight:800;
    letter-spacing:.25px;
    text-transform:uppercase;
    white-space:nowrap;
}

.reg-step.completed .reg-step-status{
    color:#17643d;
    background:#e9f6ef;
}

.reg-step.current .reg-step-status{
    color:#80600c;
    background:#fff7d9;
}

.reg-step.pending .reg-step-status{
    color:var(--stepper-red);
    background:#fff0f1;
}

/* ------------------------------------------------------------
   ICON ALIGNMENT
   ------------------------------------------------------------ */
.reg-step-status i{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    line-height:1;
}

/* ------------------------------------------------------------
   LOCKED / DISABLED STEPS
   ------------------------------------------------------------ */
.reg-step>a[aria-disabled="true"]{
    cursor:not-allowed;
}

.reg-step>a[aria-disabled="true"]:hover{
    text-decoration:none;
}

/*
 * Do NOT globally disable pointer-events on .pending.
 * The common PHP stepper may keep the current page in
 * .pending while it is still an open/current workflow state.
 * PHP/HTML aria-disabled controls actual locking.
 */

/* ------------------------------------------------------------
   HOVER FOR OPEN STEPS
   ------------------------------------------------------------ */
.reg-step>a.left_menu_green:hover .reg-step-circle{
    transform:translateY(-1px);
    box-shadow:
        0 0 0 3px var(--stepper-gold-light),
        0 5px 14px rgba(8,47,91,.18);
}

.reg-step>a.left_menu_green .reg-step-circle{
    transition:transform .15s ease, box-shadow .15s ease;
}

/* ------------------------------------------------------------
   TABLET
   ------------------------------------------------------------ */
@media(max-width:900px){

    .reg-stepper-wrap{
        padding:20px 14px;
    }

    .reg-stepper{
        min-width:675px;
    }

    .reg-stepper-wrap{
        overflow-x:auto;
        overflow-y:hidden;
    }

    .reg-step{
        min-width:135px;
    }
}

/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */
@media(max-width:700px){

    .reg-stepper-wrap{
        padding:18px 14px 20px;
        overflow:visible;
    }

    .reg-stepper{
        display:flex;
        flex-direction:column;
        width:100%;
        min-width:0;
        gap:0;
    }

    .reg-step{
        display:block;
        width:100%;
        min-width:0;
        min-height:70px;
        padding:0;
        text-align:left;
    }

    /* Vertical connector */
    .reg-step:not(:last-child)::after{
        top:45px;
        left:21px;
        width:3px;
        height:calc(100% - 25px);
        background:#dfe5eb;
    }

    .reg-step.completed:not(:last-child)::after{
        background:linear-gradient(
            180deg,
            var(--stepper-navy),
            var(--stepper-gold)
        );
    }

    .reg-step-link,
    .reg-step>a{
        display:grid;
        grid-template-columns:44px minmax(0,1fr);
        grid-template-rows:auto auto;
        column-gap:12px;
        align-items:center;
        width:100%;
        min-height:64px;
        padding:3px 0;
        text-align:left;
    }

    .reg-step-circle{
        grid-column:1;
        grid-row:1 / span 2;
        width:44px;
        height:44px;
        flex:0 0 44px;
        margin:0;
        font-size:15px;
    }

    .reg-step-title{
        grid-column:2;
        grid-row:1;
        width:auto;
        max-width:none;
        min-height:0;
        margin:0;
        text-align:left;
        font-size:13px;
    }

    .reg-step-status{
        grid-column:2;
        grid-row:2;
        justify-self:start;
        margin-top:3px;
    }
}

/* ------------------------------------------------------------
   SMALL MOBILE
   ------------------------------------------------------------ */
@media(max-width:380px){

    .reg-stepper-wrap{
        padding-left:11px;
        padding-right:11px;
    }

    .reg-step-circle{
        width:40px;
        height:40px;
        flex-basis:40px;
        font-size:14px;
    }

    .reg-step:not(:last-child)::after{
        left:19px;
    }

    .reg-step-title{
        font-size:12px;
    }

    .reg-step-status{
        font-size:9px;
        padding:3px 7px;
    }
}

/* ------------------------------------------------------------
   REDUCED MOTION
   ------------------------------------------------------------ */
@media(prefers-reduced-motion:reduce){

    .reg-step>a.left_menu_green .reg-step-circle{
        transition:none;
    }
}
/* =========================================================
   PAGE-SPECIFIC DATES + HELPDESK STYLES
   Keep only rules used by this page.
   ========================================================= */

/* IMPORTANT DATES */
.redesigned-dates-card {
    overflow: hidden;
    border: 1px solid rgba(7,59,112,.12);
    background: #fff;
    box-shadow: 0 5px 16px rgba(5,45,87,.08);
}

.redesigned-dates-card .dates-header-modern {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    color: inherit;
    border-bottom: 1px solid rgba(7,59,112,.10);
    position: relative;
}

.redesigned-dates-card .dates-header-modern::after {
    display: none;
}

.redesigned-dates-card .dates-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.redesigned-dates-card .dates-main-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy, #073b70) !important;
    color: var(--gold-light, #f5e4a4) !important;
    border: 0;
    font-size: 18px;
    box-shadow: none;
}

.redesigned-dates-card .dates-header-modern h2 {
    margin: 0;
    color: var(--navy, #073b70) !important;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .3px;
}

.redesigned-dates-card .dates-header-modern p {
    display: block;
    margin: 2px 0 0;
    color: #718092 !important;
    font-size: 11px;
    font-weight: 500;
}

.redesigned-dates-card .dates-badge {
    display: none;
}

.modern-dates-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
}

.modern-date-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 82px;
    padding: 11px;
    border-radius: 10px;
    border: 1px solid rgba(7,59,112,.10);
    background: linear-gradient(145deg, #fff, #f7faff);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.modern-date-item:hover {
    transform: translateY(-2px);
    border-color: rgba(224,181,47,.65);
    box-shadow: 0 8px 20px rgba(5,45,87,.09);
}

.modern-date-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #073b70;
    color: #f5e4a4;
    font-size: 17px;
    box-shadow: 0 5px 12px rgba(7,59,112,.18);
}

.modern-date-content span {
    display: block;
    color: #526477;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: .35px;
    line-height: 1.3;
}

.modern-date-content strong {
    display: block;
    margin-top: 3px;
    color: #073b70;
    font-size: 16px;
    font-weight: 800;
}

.modern-date-content strong em {
    font-style: normal;
    color: #657689;
    font-size: 9px;
    font-weight: 700;
}

.modern-date-content small {
    display: block;
    margin-top: 1px;
    color: #7a8998;
    font-size: 9px;
}

/* HELPDESK */
.helpdesk-prominent {
    margin-top: 8px !important;
    overflow: hidden;
    border: 1px solid rgba(7,59,112,.13);
    background: #fff;
    box-shadow: 0 3px 10px rgba(5,45,87,.07) !important;
}

.helpdesk-prominent .card-heading {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px !important;
    padding: 14px 16px !important;
    background: #fff;
    color: inherit;
    border-bottom: 1px solid rgba(7,59,112,.10);
    position: relative;
}

.helpdesk-prominent .card-heading::after {
    display: none;
}

.helpdesk-prominent .heading-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 7px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy, #073b70) !important;
    color: var(--gold-light, #f5e4a4) !important;
    border: 0;
    font-size: 14px !important;
    box-shadow: none;
}

.helpdesk-prominent .card-heading h2 {
    margin: 0;
    color: var(--navy, #073b70) !important;
    font-size: 17px !important;
    line-height: 1.2 !important;
    font-weight: 800;
    letter-spacing: .3px;
}

.helpdesk-prominent .card-heading > div:nth-child(2) > span {
    display: block;
    margin: 0;
    color: #718092 !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    font-weight: 500;
}

.helpdesk-hours-badge {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 14px;
    margin-top: 8px;
}

.helpdesk-hours-badge span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 7px;
    background: #f5e4a4;
    color: #073b70;
    border: 1px solid rgba(224,181,47,.55);
    font-size: 11px;
    line-height: 1.2;
}

.helpdesk-hours-badge i {
    font-size: 12px;
}

.helpdesk-hours-badge strong {
    font-size: 11px;
    font-weight: 800;
}

.helpdesk-prominent .helpdesk-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 7px !important;
    padding: 8px !important;
}

.helpdesk-prominent .helpdesk-phone,
.helpdesk-prominent .helpdesk-time > div {
    border: 1px solid rgba(7,59,112,.10);
    border-radius: 7px !important;
    background: #f7faff;
    padding: 7px 8px !important;
}

.helpdesk-prominent .helpdesk-phone {
    display: flex;
    align-items: center;
    gap: 7px !important;
    margin: 0 !important;
}

.helpdesk-prominent .helpdesk-phone > i,
.helpdesk-prominent .helpdesk-email-box > i {
    width: 27px !important;
    height: 27px !important;
    min-width: 27px !important;
    flex: 0 0 27px;
    border-radius: 6px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #073b70;
    color: #f5e4a4;
    font-size: 11px !important;
}

.helpdesk-prominent .helpdesk-phone small {
    display: block;
    color: #718092;
    font-size: 9px !important;
    font-weight: 700;
    text-transform: uppercase;
}

.helpdesk-prominent .helpdesk-phone a,
.helpdesk-prominent .helpdesk-email-box a {
    display: block;
    margin-top: 1px;
    color: #073b70 !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    text-decoration: none;
}

.helpdesk-prominent .helpdesk-email-box {
    margin-top: 5px !important;
}

.helpdesk-prominent .helpdesk-time {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 5px !important;
}

.helpdesk-prominent .helpdesk-time > div {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #33485e;
    font-size: 8px !important;
    line-height: 1.2 !important;
    font-weight: 700;
}

.helpdesk-prominent .helpdesk-time i {
    color: #073b70;
    font-size: 11px !important;
}

.helpdesk-prominent .helpdesk-note {
    grid-column: 1 / -1 !important;
    display: flex;
    align-items: center;
    gap: 5px !important;
    padding: 6px 8px !important;
    border-radius: 7px;
    background: #fff8df;
    border: 1px solid #f5e4a4;
    color: #5d4c13;
    font-size: 10px !important;
    line-height: 1.25 !important;
}

.helpdesk-prominent .helpdesk-note i {
    color: #073b70;
}

.helpdesk-email {
    display: block;
    margin-top: 3px;
    color: #526477 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-decoration: none;
}

.helpdesk-email:hover,
.helpdesk-email-box a:hover {
    color: #073b70 !important;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .redesigned-dates-card .dates-header-modern,
    .helpdesk-prominent .card-heading {
        padding: 12px 14px !important;
    }

    .redesigned-dates-card .dates-main-icon,
    .helpdesk-prominent .heading-icon {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        font-size: 16px !important;
    }

    .redesigned-dates-card .dates-header-modern {
        align-items: flex-start;
    }

    .modern-dates-grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .helpdesk-prominent .helpdesk-content {
        grid-template-columns: 1fr !important;
        padding: 10px !important;
    }

    .helpdesk-prominent .helpdesk-time {
        grid-template-columns: 1fr !important;
    }

    .helpdesk-hours-badge {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .helpdesk-hours-badge span,
    .helpdesk-hours-badge strong {
        font-size: 10px;
    }
}

/* Header: Navy logo | centered title | Apprentice School logo */
        .header-centered {
            display: grid;
            grid-template-columns: 150px minmax(0, 1fr) 150px;
            align-items: center;
            gap: 24px;
        }
        .header-centered .logo-area {
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .header-centered .logo-left { justify-content: flex-start; }
        .header-centered .logo-right { justify-content: flex-end; }
        .header-centered .header-content { text-align: center; }
        .header-centered .naval-logo,
        .header-centered .apprentice-logo {
            width: 112px;
            height: 88px;
            object-fit: contain;
            display: block;
        }
        .header-centered .apprentice-logo {
            width: 120px;
            height: 88px;
        }

        /* Helpdesk moved to the former registration-box position */
        .helpdesk-prominent {
            margin-top: 20px;
            overflow: hidden;
            position: relative;
        }
        .helpdesk-prominent .helpdesk-content { padding: 4px 4px 6px; }
        .helpdesk-prominent .helpdesk-phone {
            border-radius: 12px;
            padding: 15px 18px;
            margin-bottom: 14px;
            background: #f7faff;
            border: 1px solid rgba(7,59,112,.12);
        }
        .helpdesk-prominent .helpdesk-phone > i {
            color: var(--navy, #073b70);
            font-size: 1.55rem;
        }
        .helpdesk-prominent .helpdesk-phone a {
            color: var(--navy-dark, #052d57);
            font-weight: 800;
            font-size: 1.35rem;
            text-decoration: none;
        }
        .helpdesk-prominent .helpdesk-time {
            display: grid;
            gap: 10px;
        }
        .helpdesk-prominent .helpdesk-time > div {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 12px;
            border-radius: 10px;
            background: rgba(7,59,112,.045);
        }
        .helpdesk-prominent .helpdesk-time i {
            color: var(--gold, #e0b52f);
            font-size: 1.05rem;
        }
        .helpdesk-note {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-top: 14px;
            padding: 12px 14px;

            /* Login layout */

        .login-wrapper {
            padding: 18px 0 25px;
        }

        .login-layout {
            display: grid;
            grid-template-columns: 280px minmax(0, 1fr);
            gap: 20px;
            align-items: start;
        }


        /* Login card */

        .login-card {
            background: #ffffff;
            border: 1px solid #d5dce3;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
            overflow: hidden;
        }

        .login-card-header {
            background: #0b2d50;
            border-bottom: 3px solid #d4af37;
            padding: 13px 17px;
            display: flex;
            align-items: center;
            gap: 11px;
        }

        .login-card-icon {
            width: 40px;
            height: 40px;
            flex: 0 0 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(212, 175, 55, 0.12);
            border: 1px solid rgba(212, 175, 55, 0.35);
            border-radius: 4px;
            color: #d4af37;
            font-size: 18px;
        }

        .login-card-header h2 {
            margin: 0;
            color: #ffffff;
            font-size: 17px;
            font-weight: 800;
        }

        .login-card-header span {
            display: block;
            margin-top: 2px;
            color: #cbd7e3;
            font-size: 11px;
        }

        .login-card-body {
            padding: 20px;
        }


        /* Login form */

        .login-form-group {
            margin-bottom: 16px;
        }

        .login-form-label {
            display: block;
            margin-bottom: 6px;
            color: #0b2d50;
            font-size: 13px;
            font-weight: 700;
        }

        .required-star {
            color: #c52f2f;
            font-weight: 800;
            margin-left: 2px;
        }

        .login-input {
            width: 100%;
            height: 42px;
            padding: 8px 11px;
            border: 1px solid #cbd4dc;
            border-radius: 4px;
            background: #ffffff;
            color: #253746;
            font-size: 13px;
            outline: none;
            transition:
                border-color 0.2s ease,
                box-shadow 0.2s ease;
        }

        .login-input:focus {
            border-color: #174b79;
            box-shadow: 0 0 0 2px rgba(23, 75, 121, 0.10);
        }


        /* Captcha */

        .captcha-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px 38px;
    gap: 8px;
    align-items: center;
}

.captcha-display {
    height: 42px;
    width: 150px;
    border: 1px solid #cbd4dc;
    border-radius: 4px;
    background: #f4f6f8;
    color: #0b2d50;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 4px;
    padding: 7px;
}

        .captcha-refresh {
            width: 34px;
            height: 34px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #cbd4dc;
            border-radius: 4px;
            background: #ffffff;
            text-decoration: none;
        }

        .captcha-refresh:hover {
            background: #f1f5f8;
        }

        .captcha-refresh img {
            width: 22px;
            height: 22px;
            object-fit: contain;
        }


        /* Login button */

        .login-button-row {
            margin-top: 20px;
        }

        .login-button {
            width: 100%;
            min-height: 43px;
            border: 0;
            border-radius: 4px;
            background: #0b2d50;
            color: #ffffff;
            font-size: 14px;
            font-weight: 800;
            letter-spacing: 0.3px;
            cursor: pointer;
            transition:
                background 0.2s ease,
                transform 0.1s ease;
        }

        .login-button:hover {
            background: #174b79;
        }

        .login-button:active {
            transform: translateY(1px);
        }


        /* Messages */

        .login-message {
            margin-bottom: 15px;
            padding: 9px 12px;
            border: 1px solid #f0caca;
            border-left: 4px solid #c52f2f;
            background: #fff7f7;
            color: #c52f2f;
            font-size: 13px;
            font-weight: 600;
        }

        .login-error {
            margin-bottom: 14px;
            color: #c52f2f;
            font-size: 15px;
            font-weight: 600;
        }


        /* Already logged in */

        .already-login {
            text-align: center;
            padding: 20px 10px;
        }

        .already-login-icon {
            width: 58px;
            height: 58px;
            margin: 0 auto 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: #f1f5f8;
            color: #0b2d50;
            font-size: 25px;
        }

        .already-login-title {
            color: #0b2d50;
            font-size: 19px;
            font-weight: 800;
            margin-bottom: 16px;
        }

        .logout-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 7px;
            min-width: 210px;
            padding: 10px 18px;
            background: #c52f2f;
            color: #ffffff;
            text-decoration: none;
            border-radius: 4px;
            font-size: 13px;
            font-weight: 800;
        }

        .logout-button:hover {
            background: #a92525;
            color: #ffffff;
        }


        /* Responsive */

        @media (max-width: 900px) {

            .login-layout {
                grid-template-columns: 1fr;
            }

        }

        @media (max-width: 650px) {

            .login-wrapper {
                padding: 12px 0 20px;
            }

            .login-card-body {
                padding: 15px;
            }

            .captcha-row {
                grid-template-columns: minmax(0, 1fr) 105px 34px;
            }

        }

        @media (max-width: 420px) {

            .captcha-row {
                grid-template-columns: 1fr;
            }

            .captcha-display {
                width: 100%;
            }

            .captcha-refresh {
                width: 100%;
                height: 38px;
            }

        }var(--gold, #e0b52f); margin-top: 2px; }

        @media (max-width: 767.98px) {
            .header-centered {
                grid-template-columns: 75px minmax(0, 1fr) 75px;
                gap: 8px;
            }
            .header-centered .naval-logo,
            .header-centered .apprentice-logo {
                width: 68px;
                height: 65px;
            }
            .header-centered .header-kicker { font-size: .72rem; }
            .header-centered h1 { font-size: 1.05rem; }
            .header-centered .header-location { font-size: .78rem; }
        }

        /* Login layout */

        .login-wrapper {
            padding: 18px 0 25px;
        }

        .login-layout {
            display: grid;
            grid-template-columns: 280px minmax(0, 1fr);
            gap: 20px;
            align-items: start;
        }


        /* Login card */

        .login-card {
            background: #ffffff;
            border: 1px solid #d5dce3;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
            overflow: hidden;
        }

        .login-card-header {
            background: #0b2d50;
            border-bottom: 3px solid #d4af37;
            padding: 13px 17px;
            display: flex;
            align-items: center;
            gap: 11px;
        }

        .login-card-icon {
            width: 40px;
            height: 40px;
            flex: 0 0 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(212, 175, 55, 0.12);
            border: 1px solid rgba(212, 175, 55, 0.35);
            border-radius: 4px;
            color: #d4af37;
            font-size: 18px;
        }

        .login-card-header h2 {
            margin: 0;
            color: #ffffff;
            font-size: 17px;
            font-weight: 800;
        }

        .login-card-header span {
            display: block;
            margin-top: 2px;
            color: #cbd7e3;
            font-size: 11px;
        }

        .login-card-body {
            padding: 20px;
        }


        /* Login form */

        .login-form-group {
            margin-bottom: 16px;
        }

        .login-form-label {
            display: block;
            margin-bottom: 6px;
            color: #0b2d50;
            font-size: 13px;
            font-weight: 700;
        }

        .required-star {
            color: #c52f2f;
            font-weight: 800;
            margin-left: 2px;
        }

        .login-input {
            width: 100%;
            height: 42px;
            padding: 8px 11px;
            border: 1px solid #cbd4dc;
            border-radius: 4px;
            background: #ffffff;
            color: #253746;
            font-size: 13px;
            outline: none;
            transition:
                border-color 0.2s ease,
                box-shadow 0.2s ease;
        }

        .login-input:focus {
            border-color: #174b79;
            box-shadow: 0 0 0 2px rgba(23, 75, 121, 0.10);
        }


        /* Captcha */

        .captcha-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px 38px;
    gap: 8px;
    align-items: center;
}

.captcha-display {
    height: 42px;
    width: 150px;
    border: 1px solid #cbd4dc;
    border-radius: 4px;
    background: #f4f6f8;
    color: #0b2d50;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 4px;
    padding: 7px;
}

        .captcha-refresh {
            width: 34px;
            height: 34px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #cbd4dc;
            border-radius: 4px;
            background: #ffffff;
            text-decoration: none;
        }

        .captcha-refresh:hover {
            background: #f1f5f8;
        }

        .captcha-refresh img {
            width: 22px;
            height: 22px;
            object-fit: contain;
        }


        /* Login button */

        .login-button-row {
            margin-top: 20px;
        }

        .login-button {
            width: 100%;
            min-height: 43px;
            border: 0;
            border-radius: 4px;
            background: #0b2d50;
            color: #ffffff;
            font-size: 14px;
            font-weight: 800;
            letter-spacing: 0.3px;
            cursor: pointer;
            transition:
                background 0.2s ease,
                transform 0.1s ease;
        }

        .login-button:hover {
            background: #174b79;
        }

        .login-button:active {
            transform: translateY(1px);
        }


        /* Messages */

        .login-message {
            margin-bottom: 15px;
            padding: 9px 12px;
            border: 1px solid #f0caca;
            border-left: 4px solid #c52f2f;
            background: #fff7f7;
            color: #c52f2f;
            font-size: 13px;
            font-weight: 600;
        }

        .login-error {
            margin-bottom: 14px;
            color: #c52f2f;
            font-size: 15px;
            font-weight: 600;
        }


        /* Already logged in */

        .already-login {
            text-align: center;
            padding: 20px 10px;
        }

        .already-login-icon {
            width: 58px;
            height: 58px;
            margin: 0 auto 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: #f1f5f8;
            color: #0b2d50;
            font-size: 25px;
        }

        .already-login-title {
            color: #0b2d50;
            font-size: 19px;
            font-weight: 800;
            margin-bottom: 16px;
        }

        .logout-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 7px;
            min-width: 210px;
            padding: 10px 18px;
            background: #c52f2f;
            color: #ffffff;
            text-decoration: none;
            border-radius: 4px;
            font-size: 13px;
            font-weight: 800;
        }

        .logout-button:hover {
            background: #a92525;
            color: #ffffff;
        }


        /* Responsive */

        @media (max-width: 900px) {

            .login-layout {
                grid-template-columns: 1fr;
            }

        }

        @media (max-width: 650px) {

            .login-wrapper {
                padding: 12px 0 20px;
            }

            .login-card-body {
                padding: 15px;
            }

            .captcha-row {
                grid-template-columns: minmax(0, 1fr) 105px 34px;
            }

        }

        @media (max-width: 420px) {

            .captcha-row {
                grid-template-columns: 1fr;
            }

            .captcha-display {
                width: 100%;
            }

            .captcha-refresh {
                width: 100%;
                height: 38px;
            }

        }
  

/* =========================================================
   PERSONAL DETAILS / APPLICATION SUMMARY
   ========================================================= */

.application-summary{
    width:100%;
    max-width:1200px;
    margin:0 auto;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

/* Main section title */
.application-summary-title{
    width:100%;
    min-height:46px;
    display:flex;
    align-items:center;
    padding:0 16px;
    box-sizing:border-box;

    background:#073b70;
    color:#ffffff;

    border-bottom:3px solid #e0b52f;
    border-radius:8px 8px 0 0;

    font-size:16px;
    font-weight:700;
    letter-spacing:.2px;
}

/* =========================================================
   PERSONAL DETAILS TABLE
   ========================================================= */

.personal-summary-table{
    width:100%;
    border-collapse:separate;
    border-spacing:0;
    border:1px solid #d9e2ec;
    border-top:0;
    overflow:hidden;
    border-radius:0 0 8px 8px;
    background:#ffffff;
}

/* Every personal detail row */
.personal-summary-table tr{
    transition:background .15s ease;
}

/* Alternate row colors */
.personal-summary-table tr:nth-child(odd){
    background:#ffffff;
}

.personal-summary-table tr:nth-child(even){
    background:#f3f7fb;
}

/* Hover */
.personal-summary-table tr:hover{
    background:#eef4fa;
}

/* Label column */
.personal-summary-table td.summary-label{
    width:40%;
    padding:11px 18px;
    box-sizing:border-box;

    color:#073b70;
    font-size:13px;
    font-weight:700;

    text-align:right;
    vertical-align:middle;

    border-bottom:1px solid #e1e8ef;
}

/* Value column */
.personal-summary-table td.summary-value{
    width:60%;
    padding:11px 18px;
    box-sizing:border-box;

    color:#222f3d;
    font-size:13px;
    font-weight:700;

    text-align:left;
    vertical-align:middle;

    border-bottom:1px solid #e1e8ef;
}

/* Remove last border */
.personal-summary-table tr:last-child td{
    border-bottom:0;
}

/* Highlight important values */
.personal-summary-table .summary-value strong{
    color:#073b70;
}

/* =========================================================
   ADDRESS SECTION
   ========================================================= */

.address-summary-container{
    width:100%;
    margin-top:18px;
    box-sizing:border-box;
}

.address-summary-grid{
    width:100%;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:18px;
    box-sizing:border-box;
}

/* Address card */
.address-summary-card{
    width:100%;
    min-width:0;

    background:#ffffff;

    border:1px solid #d6e0ea;
    border-radius:9px;

    overflow:hidden;

    box-shadow:0 2px 8px rgba(7,59,112,.08);
    box-sizing:border-box;
}

/* Address card header */
.address-summary-header{
    min-height:45px;

    display:flex;
    align-items:center;

    padding:0 15px;

    background:#073b70;
    color:#ffffff;

    border-bottom:3px solid #e0b52f;

    font-size:15px;
    font-weight:700;

    box-sizing:border-box;
}

.address-summary-header i{
    margin-right:8px;
    font-size:16px;
}

/* Address rows */
.address-summary-table{
    width:100%;
    border-collapse:collapse;
    border-spacing:0;
    table-layout:fixed;
}

/* Alternate address rows */
.address-summary-table tr:nth-child(odd){
    background:#ffffff;
}

.address-summary-table tr:nth-child(even){
    background:#f3f7fb;
}

/* Address row hover */
.address-summary-table tr:hover{
    background:#eef4fa;
}

/* Address label */
.address-summary-table td.address-label{
    width:36%;
    padding:10px 12px;

    color:#073b70;
    font-size:12px;
    font-weight:700;

    text-align:right;
    vertical-align:middle;

    border-bottom:1px solid #e2e8ef;
    border-right:1px solid #dce4ec;

    box-sizing:border-box;
}

/* Address value */
.address-summary-table td.address-value{
    width:64%;
    padding:10px 12px;

    color:#222f3d;
    font-size:13px;
    font-weight:600;

    text-align:left;
    vertical-align:middle;

    border-bottom:1px solid #e2e8ef;

    overflow-wrap:anywhere;
    word-break:break-word;

    box-sizing:border-box;
}

/* Address row */
.address-summary-table tr.address-main-row td{
    min-height:65px;
}

/* Address text */
.address-summary-table tr.address-main-row td.address-value{
    vertical-align:top;
    line-height:1.5;
}

/* Last address row */
.address-summary-table tr:last-child td{
    border-bottom:0;
}

/* =========================================================
   SAVE AND NEXT BUTTON
   ========================================================= */

.application-summary-action{
    width:100%;
    text-align:center;
    padding:18px 0 8px;
    box-sizing:border-box;
}

.application-summary-action .registration-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;

    min-width:145px;

    padding:10px 18px;

    background:#e0b52f;
    color:#073b70;

    border:1px solid #c99f1f;
    border-radius:5px;

    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    text-decoration:none;

    box-shadow:0 2px 5px rgba(0,0,0,.10);

    transition:all .2s ease;
}

.application-summary-action .registration-button:hover{
    background:#073b70;
    color:#ffffff;
    border-color:#073b70;
    text-decoration:none;
}

.application-summary-action .registration-button i{
    font-size:13px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width:900px){

    .address-summary-grid{
        grid-template-columns:1fr;
        gap:14px;
    }

    .personal-summary-table td.summary-label{
        width:42%;
    }

    .personal-summary-table td.summary-value{
        width:58%;
    }
}

@media(max-width:600px){

    .application-summary-title{
        font-size:14px;
        min-height:43px;
        padding:0 12px;
    }

    .personal-summary-table td.summary-label{
        width:42%;
        padding:9px 9px;
        font-size:11px;
    }

    .personal-summary-table td.summary-value{
        width:58%;
        padding:9px 9px;
        font-size:12px;
    }

    .address-summary-header{
        font-size:14px;
        min-height:42px;
        padding:0 12px;
    }

    .address-summary-table td.address-label{
        width:40%;
        padding:9px 8px;
        font-size:11px;
    }

    .address-summary-table td.address-value{
        width:60%;
        padding:9px 8px;
        font-size:12px;
    }

}

/* =========================================================
   RESPONSIVE REFERENCE & IMPORTANT DOCUMENT DROPDOWN
========================================================= */

.portal-nav,
.portal-nav .container,
.nav-inner {
    overflow: visible !important;
}

.portal-nav {
    position: relative !important;
    z-index: 9999 !important;
}

.portal-nav .container {
    position: relative !important;
    z-index: 10000 !important;
}

.nav-inner {
    position: relative !important;
    z-index: 10001 !important;
}

.nav-dropdown {
    position: relative !important;
    z-index: 10002 !important;
    flex: 0 0 auto;
    overflow: visible !important;
}


/* =========================================================
   DROPDOWN TOGGLE
========================================================= */

.nav-dropdown-toggle {
    position: relative;

    display: flex;
    align-items: center;

    gap: 7px;

    cursor: pointer;

    text-decoration: none;

    white-space: nowrap;
}

.nav-dropdown-toggle::after {
    display: none !important;
}

.nav-dropdown-toggle .dropdown-arrow {
    margin-left: 5px;
    font-size: 11px;

    transition: transform 0.25s ease;
}


/* Arrow rotation */

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}


/* =========================================================
   DESKTOP DROPDOWN
========================================================= */

.nav-dropdown-menu {

    position: absolute !important;

    top: 100%;
    left: 0;

    width: 340px;
    min-width: 280px;
    max-width: calc(100vw - 20px);

    padding: 7px 0;
    margin: 0;

    background: #ffffff;

    border: 1px solid #d9dee3;
    border-radius: 8px;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.20),
        0 4px 10px rgba(0, 0, 0, 0.10);

    z-index: 2147483647 !important;

    box-sizing: border-box;

    /* Hidden initially */
    visibility: hidden;
    opacity: 0;

    transform: translateY(-5px);

    /*
     * This makes opening/closing smooth.
     */
    transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0.18s ease;
}


/* =========================================================
   DESKTOP HOVER
========================================================= */

@media (min-width: 769px) {

    .nav-dropdown:hover .nav-dropdown-menu {

        visibility: visible;
        opacity: 1;

        transform: translateY(0);
    }

}


/* =========================================================
   INVISIBLE HOVER BRIDGE
   Prevents menu from closing while moving mouse
========================================================= */

@media (min-width: 769px) {

    .nav-dropdown::after {

        content: "";

        position: absolute;

        left: 0;
        right: 0;

        top: 100%;

        height: 12px;

        background: transparent;

        z-index: 2147483646;
    }

}


/* =========================================================
   DROPDOWN ITEMS
========================================================= */

.nav-dropdown-item {

    display: flex;

    align-items: center;

    gap: 10px;

    width: 100%;

    min-height: 44px;

    padding: 11px 16px;

    color: #212529;

    background: #ffffff;

    text-decoration: none;

    font-size: 14px;

    font-weight: 500;

    line-height: 1.4;

    white-space: normal;

    box-sizing: border-box;

    transition:
        background-color 0.18s ease,
        color 0.18s ease;
}


.nav-dropdown-item i {

    font-size: 16px;

    flex: 0 0 auto;
}


.nav-dropdown-item span {

    min-width: 0;

    overflow-wrap: anywhere;
}


.nav-dropdown-item:hover {

    color: #0d6efd;

    background-color: #f1f5f9;

    text-decoration: none;
}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 768px) {

    .portal-nav {

        width: 100%;

        overflow: visible !important;
    }


    .portal-nav .container {

        width: 100%;

        max-width: 100%;

        overflow: visible !important;
    }


    .nav-inner {

        width: 100%;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        flex-wrap: nowrap;

        overflow: visible !important;
    }


    .nav-inner > .nav-link {

        width: 100%;

        max-width: 100%;

        box-sizing: border-box;
    }


    .nav-dropdown {

        width: 100%;

        max-width: 100%;

        display: block;
    }


    .nav-dropdown-toggle {

        width: 100%;

        max-width: 100%;

        justify-content: flex-start;

        white-space: normal;

        box-sizing: border-box;
    }


    .nav-dropdown-toggle span {

        flex: 1;

        min-width: 0;

        text-align: left;

        overflow-wrap: anywhere;
    }


    /*
     * Disable desktop hover completely on mobile.
     */

    .nav-dropdown:hover .nav-dropdown-menu {

        visibility: hidden;

        opacity: 0;

        transform: translateY(-5px);
    }


    /*
     * Mobile menu opens only with .open
     */

    .nav-dropdown.open .nav-dropdown-menu {

        visibility: visible;

        opacity: 1;

        transform: translateY(0);
    }


    /*
     * Mobile submenu becomes normal-flow content.
     */

    .nav-dropdown-menu {

        position: static !important;

        width: 100%;

        min-width: 100%;

        max-width: 100%;

        margin-top: 3px;

        padding: 4px 0;

        border-radius: 6px;

        box-shadow: none;

        border: 1px solid #dee2e6;

        transform: none;

        transition:
            opacity 0.2s ease,
            visibility 0.2s ease;

        box-sizing: border-box;
    }


    .nav-dropdown-item {

        width: 100%;

        min-height: 46px;

        padding: 11px 15px;

        white-space: normal;

        line-height: 1.4;

        box-sizing: border-box;
    }


    .nav-dropdown-item span {

        min-width: 0;

        overflow-wrap: anywhere;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .portal-nav .container {

        padding-left: 8px;

        padding-right: 8px;
    }


    .nav-dropdown-toggle {

        padding-left: 12px;

        padding-right: 12px;

        font-size: 13px;
    }


    .nav-dropdown-item {

        min-height: 48px;

        padding: 10px 12px;

        gap: 9px;

        font-size: 13px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .portal-nav .container {

        padding-left: 5px;

        padding-right: 5px;
    }


    .nav-dropdown-toggle {

        padding-left: 9px;

        padding-right: 9px;

        gap: 5px;

        font-size: 12px;
    }


    .nav-dropdown-item {

        padding: 9px 10px;

        gap: 8px;

        font-size: 12px;
    }

}