:root {
    --login-theme: #7c3aed;
    --login-theme-dark: #4c23a4;
    --login-theme-light: #f2ecff;
    --login-ink: #29175a;
    --brand-gold: #f0c444;
    --brand-gold-dark: #c99922;
}

html, body { min-height: 100%; }
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--login-ink);
    font-family: "Poppins", Arial, sans-serif;
    font-size: 14px;
    background:
        url('/images/login-waves.svg?v=20261026-matching-icons-v9') center / cover fixed no-repeat,
        radial-gradient(ellipse at 8% 0%, var(--login-theme-dark), transparent 58%),
        linear-gradient(90deg, var(--login-theme-dark), var(--page-center) 50%, var(--login-theme-dark));
    text-rendering: optimizeLegibility;
}

.college-header {
    position: relative;
    flex: 0 0 auto;
    overflow: hidden;
    background: linear-gradient(115deg, #e4d9ff, #faf8ff 45%, #eee7ff 80%, #cbb9f4);
    border-bottom: 3px solid var(--login-theme);
    box-shadow: 0 6px 30px rgba(8, 4, 28, .2);
}
.college-header::before, .college-header::after {
    content: "";
    position: absolute;
    pointer-events: none;
    width: 170px;
    height: 160px;
    background: linear-gradient(135deg, rgba(124, 58, 237, .12), rgba(124, 58, 237, .35));
    transform: rotate(45deg);
}
.college-header::before { left: -105px; top: -85px; }
.college-header::after { right: -100px; bottom: -100px; border-left: 3px solid var(--brand-gold); }
.college-header-inner {
    position: relative;
    z-index: 1;
    width: calc(100% - 96px);
    max-width: 1320px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 8px 0;
}
.college-header-banner {
    display: block;
    width: 520px;
    max-width: 70%;
    height: auto;
    max-height: 94px;
    object-fit: contain;
    object-position: left center;
}
.college-motto {
    position: relative;
    margin: 0 70px 0 0;
    padding-bottom: 12px;
    color: #342166;
    font: italic 23px/1.18 Georgia, "Times New Roman", serif;
    text-align: center;
}
.college-motto::after {
    content: "";
    position: absolute;
    left: calc(50% - 32px);
    bottom: 0;
    width: 64px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d9ac3a, transparent);
}

.login-page {
    position: relative;
    display: flex;
    flex: 1 0 auto;
    align-items: center;
    width: calc(100% - 96px);
    max-width: 1320px;
    margin: 0 auto;
    padding: 42px 0;
    gap: 40px;
}
.login-brand-panel {
    flex: 1 1 55%;
    max-width: none;
    min-width: 0;
    padding: 20px 0;
    color: #fff;
}
.login-form-panel {
    display: flex;
    flex: 0 1 45%;
    max-width: none;
    min-width: 0;
    justify-content: flex-end;
    padding: 0;
}

/* Preserve the original iBoss EMS identity and golden links. */
.brand-content {
    display: grid;
    justify-items: start;
    width: min(100%, 620px);
    text-align: left;
    gap: 6px;
}


.college-eyebrow {
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin:0 0 4px;
    padding:6px 14px;
    border:1px solid rgba(240,196,68,.38);
    border-radius:999px;
    color:#062a56;
    font-size:12px;
    font-weight:700;
    letter-spacing:.7px;
    text-transform:uppercase;
    background:linear-gradient(180deg, #ffe176, #dba329);
    box-shadow:0 8px 18px rgba(0, 28, 75, .16);
}

.login-theme-picker,
.login-theme-picker select,
.login-theme-picker .login-theme-trigger,
.login-theme-picker .login-theme-option,
.login-theme-menu .login-theme-option {
    font-size:10px;
}

.college-name {
    max-width:620px;
    margin:2px 0 6px;
    color:#ffffff;
    font-size:30px;
    font-weight:800;
    line-height:1.12;
    letter-spacing:0;
    text-transform:none;
    text-shadow:
        1px 0 rgba(0,45,95,.78),
       -1px 0 rgba(0,45,95,.78),
        0 1px rgba(0,45,95,.78),
        0 -1px rgba(0,45,95,.78);
}

.college-meta {
    margin:0;
    color:#e7f2ff;
    font-size:15px;
    font-weight:600;
    line-height:1.4;
}

.college-accreditation {
    max-width:540px;
    margin:0 0 8px;
    color:#f2f7ff;
    font-size:16px;
    font-weight:600;
    line-height:1.45;
}

.iboss-identity {
    display:flex;
    align-items:center;
    gap:14px;
    margin:8px 0 10px;
}

.brand-logo{
    width:76px;
    height:auto;
    display:block;
    flex:0 0 auto;
    transition:transform .3s ease;
}

.brand-logo:hover{
    transform:scale(1.03);
}

.iboss-identity h2 {
    margin:0 0 2px;
    color:#ffffff;
    font-family:Arial, Helvetica, sans-serif;
    font-size:42px;
    font-weight:800;
    line-height:1;
    letter-spacing:0;
    white-space:nowrap;
    text-shadow:
        1px 0 rgba(0,45,95,.75),
       -1px 0 rgba(0,45,95,.75),
        0 1px rgba(0,45,95,.75),
        0 -1px rgba(0,45,95,.75);
}

.brand-kicker,
.login-kicker{
    margin:0;
    font-size:15px;
    font-weight:700;
    letter-spacing:.5px;
    text-transform:uppercase;
    color: #ffffff;

    text-shadow:
        1px 0 rgba(0,45,95,.85),
       -1px 0 rgba(0,45,95,.85),
        0 1px rgba(0,45,95,.85),
        0 -1px rgba(0,45,95,.85);
}

.brand-content h1:not(.college-name){
    margin:4px 0 6px;
    font-family:Arial, Helvetica, sans-serif;
    font-size:54px;
    font-weight:800;
    line-height:1.05;
    letter-spacing:0;
    word-spacing:0;
    white-space:nowrap;

    color: #ffffff;

    text-shadow:
        1px 0 rgba(0,45,95,.75),
       -1px 0 rgba(0,45,95,.75),
        0 1px rgba(0,45,95,.75),
        0 -1px rgba(0,45,95,.75);
}

.brand-initial {
    position:relative;
    display:inline-block;
    color:var(--brand-gold);
    font-family:Georgia, "Times New Roman", serif;
    font-style:italic;
    font-weight:400;
    font-size:1.12em;
    margin-right:6px;
    transform:translateY(1px) skewX(-6deg);
}

.brand-initial::before {
    content:"\1F393";
    position:absolute;
    left:74%;
    top:-4px;
    font-size:19px;
    line-height:1;
    font-style:normal;
    transform:translateX(-50%) rotate(-6deg);
}

.brand-title{
    position:relative;
    display:block;
    width:100%;
    transform:none;
}

.brand-divider{
    position:relative;
    width:min(500px, 92%);
    height:2px;
    margin:12px 0 14px;
    background:linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,.08));
    border-radius:999px;
}

.brand-divider::after{
    content:"\2605";
    position:absolute;
    left:50%;
    top:50%;
    color:var(--brand-gold);
    font-size:18px;
    line-height:1;
    text-shadow:0 1px 0 rgba(184,132,24,.55);
    transform:translate(-50%,-50%);
}

.brand-copy{
    max-width:560px;
    margin:0 0 8px;
    color: #ffffff;
    font-size:22px;
    font-weight:800;
    line-height:1.12;
	letter-spacing:0;
    text-align:left;
	text-transform:uppercase;

    text-shadow:
        1px 0 rgba(0,45,95,.85),
       -1px 0 rgba(0,45,95,.85),
        0 1px rgba(0,45,95,.85),
        0 -1px rgba(0,45,95,.85);
}

.brand-copy span {
    display:block;
    color:var(--brand-gold);
}

.brand-copy strong {
    color:#ffffff;
    font-weight:800;
}

.brand-support,
.brand-subcopy {
    margin:0;
    color:#ffffff;
    font-size:13px;
    line-height:1.35;
}

.brand-support {
    margin-top:6px;
}

.brand-support strong {
    color:var(--brand-gold);
    font-weight:400;
}

.brand-subcopy {
    max-width:560px;
    margin-top:4px;
    color:#dcecff;
}

.brand-ribbon {
    width:min(500px, 100%);
    margin:10px 0 8px;
    padding:7px 22px 7px 12px;
    color:#062a56;
    background:linear-gradient(135deg, #ffd95d, #dba329);
    clip-path:polygon(0 0, 94% 0, 100% 100%, 0 100%);
    box-shadow:0 10px 22px rgba(0,0,0,.16);
}

.brand-ribbon strong,
.brand-ribbon span {
    display:block;
}

.brand-ribbon strong {
    font-size:13px;
    font-weight:600;
}

.brand-ribbon span {
    margin-top:2px;
    font-size:12px;
    font-weight:400;
}

.brand-features {
    display:grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width:min(620px, 100%);
    gap:0;
    margin:0 0 10px;
}

.brand-feature {
    display:flex;
    align-items:center;
    gap:9px;
    min-height:46px;
    padding:0 14px;
    color:#ffffff;
    font-size:12px;
    line-height:1.35;
    border-right:1px solid rgba(255,255,255,.45);
}

.brand-feature:first-child {
    padding-left:0;
}

.brand-feature:last-child {
    border-right:0;
}

.feature-icon {
    display:grid;
    place-items:center;
    width:32px;
    height:32px;
    flex:0 0 auto;
    border-radius:50%;
    color:#063569;
    background:linear-gradient(135deg, #ffe176, #d29b24);
    clip-path:polygon(50% 0%, 56% 8%, 65% 3%, 70% 12%, 80% 11%, 83% 21%, 92% 25%, 89% 35%, 97% 44%, 90% 50%, 97% 56%, 89% 65%, 92% 75%, 83% 79%, 80% 89%, 70% 88%, 65% 97%, 56% 92%, 50% 100%, 44% 92%, 35% 97%, 30% 88%, 20% 89%, 17% 79%, 8% 75%, 11% 65%, 3% 56%, 10% 50%, 3% 44%, 11% 35%, 8% 25%, 17% 21%, 20% 11%, 30% 12%, 35% 3%, 44% 8%);
    font-size:19px;
    font-weight:800;
}

.feature-icon::before {
    display:grid;
    place-items:center;
    width:24px;
    height:24px;
    border-radius:50%;
    background:rgba(255,255,255,.34);
}

.feature-erp::before {
    content:"\1F393";
    font-size:16px;
}

.feature-exam::before {
    content:"\2699";
    font-size:19px;
}

.feature-quality::before {
    content:"";
    width:13px;
    height:16px;
    border:2px solid #063569;
    border-left-width:4px;
    border-radius:3px 6px 6px 3px;
    background:
        linear-gradient(#063569, #063569) 8px 6px / 7px 2px no-repeat,
        linear-gradient(#063569, #063569) 8px 12px / 6px 2px no-repeat,
        rgba(255,255,255,.18);
}

.brand-footer {
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:14px;
    width:min(620px, 100%);
    margin:4px 0 0;
    padding-top:12px;
    border-top:1px solid rgba(255,255,255,.16);
}

.brand-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.brand-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 130px;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid rgba(201, 153, 34, 0.45);
    border-radius: 999px;
    color: #062a56;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: .2px;
    background: linear-gradient(180deg, #ffe176, #dba329);
    box-shadow:
        0 8px 18px rgba(95,62,0,.16),
        inset 0 1px 0 rgba(255,255,255,.45);
    transition: all .3s ease;
}

.brand-links img {
    width: 15px;
    height: 15px;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand-links a:hover,
.brand-links a:focus {
    color: #ffffff;
    border-color: #b88418;
    background: linear-gradient(135deg, #e7b739, #b88418);
    box-shadow: 0 10px 24px rgba(95,62,0,.24);
    transform: translateY(-3px) scale(1.03);
}

.brand-links a:active {
    transform: translateY(0) scale(.98);
    box-shadow: 0 4px 12px rgba(95,62,0,.18);
}


.brand-company {
	display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:8px;
    margin:0;
    padding:0;
    border:0;
    color: #cfe2fb;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
}

.brand-company strong {
    display: block;
    color: #ffffff;
    font-weight: 700;
	font-size: 13px;

    text-shadow:
        1px 0 rgba(0,45,95,.85),
       -1px 0 rgba(0,45,95,.85),
        0 1px rgba(0,45,95,.85),
        0 -1px rgba(0,45,95,.85);
}

.brand-company-icon{
    width:30px;
    height:30px;
    object-fit:contain;
    flex-shrink:0;
}

.brand-footer { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 14px; }
.brand-links { justify-content: flex-start; }
.brand-ribbon { margin: 16px 0 18px; }
.brand-features { margin-bottom: 12px; }
.brand-feature { font-size: 11px; }

.login-card {
    position: relative;
    width: 100%;
    max-width: 450px;
    min-width: 0;
    padding: 24px 32px 26px;
    border: 1px solid #c8b4f6;
    border-radius: 16px;
    background: linear-gradient(145deg, #fdfbff, #f5f1ff);
    box-shadow: 0 22px 65px rgba(7, 3, 30, .35), 0 0 0 1px rgba(255, 255, 255, .1);
}
.login-theme-picker {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 28px;
    color: var(--login-theme-dark);
    font-size: 10px;
}
.login-theme-picker label { margin: 0; font-weight: 500; }
.login-theme-picker select {
    max-width: 180px;
    min-height: 34px;
    padding: 5px 26px 5px 24px;
    border: 1px solid #cfbef1;
    border-radius: 7px;
    color: var(--login-theme-dark);
    font: inherit;
    cursor: pointer;
    background: radial-gradient(circle at 12px 50%, var(--login-theme) 4px, transparent 5px), #fcfaff;
}
.login-theme-picker select:focus-visible { outline: 2px solid var(--login-theme); outline-offset: 2px; }
.login-header { margin-bottom: 28px; text-align: center; }
.login-header h2 {
    margin: 0 0 6px;
    color: var(--login-theme-dark);
    font-size: 27px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.6px;
}
.login-description { margin: 0; color: #766990; font-size: 12px; line-height: 1.6; }
.login-form { margin: 0; }
.form-field { margin-bottom: 18px; }
.form-field label.login-kicker {
    display: block;
    margin: 0 0 8px;
    color: #37275d;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    text-shadow: none;
}
.input-icon-wrap, .password-input-wrap { position: relative; }
.form-field .form-control {
    width: 100%;
    height: 48px;
    padding: 10px 14px 10px 42px;
    border: 1px solid #ddd4ed;
    border-radius: 8px;
    background: rgba(255, 255, 255, .6);
    color: #291e44;
    font: inherit;
    font-size: 12px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field .form-control::placeholder { color: #8a7ca7; opacity: 1; }
.form-field .form-control:hover { border-color: #b7a5d8; }
.form-field .form-control:focus {
    border-color: var(--login-theme);
    background: #fff;
    box-shadow: 0 0 0 3px var(--login-theme-light);
}
.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    width: 16px;
    height: 16px;
    object-fit: contain;
    transform: translateY(-50%);
    pointer-events: none;
}
.password-input-wrap .form-control { padding-right: 46px; }
.password-toggle {
    position: absolute;
    top: 6px;
    right: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: transparent;
    cursor: pointer;
}
.password-toggle-icon { width: 18px; height: 18px; object-fit: contain; }
.password-toggle-text { display: none; }
.password-toggle:hover { background: var(--login-theme-light); }
.password-toggle:focus-visible { outline: 2px solid var(--login-theme); outline-offset: 1px; }
.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 48px;
    margin-top: 26px;
    padding: 10px 18px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--login-theme), var(--login-theme-dark));
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 6px 14px rgba(76, 35, 164, .22);
    transition: box-shadow .15s ease, transform .15s ease;
}
.login-btn span { font-size: 20px; font-weight: 400; line-height: 1; }
.login-btn:hover, .login-btn:focus, .login-btn:active {
    color: #fff;
    background: linear-gradient(135deg, var(--login-theme-dark), var(--login-theme));
    box-shadow: 0 8px 18px rgba(76, 35, 164, .3);
}
.login-btn:focus-visible { outline: 2px solid var(--login-theme-dark); outline-offset: 4px; }
.login-btn:active { transform: translateY(1px); }
/* Match the clear inline login alert used by ethirajlatest. */
.login-card .login-error {
    position: relative;
    margin: 16px 0 0;
    padding: 12px 20px;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    background: #f8d7da;
    color: #721c24;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
    overflow-wrap: anywhere;
}
.login-extra-links {
    display: grid;
    gap: 8px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e0d7ef;
}
.login-extra-links .brand-link {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid #ddd2f0;
    border-radius: 6px;
    color: var(--login-theme-dark);
    background: rgba(255, 255, 255, .6);
    font-size: 11px;
    line-height: 1.5;
    text-decoration: none;
}
.brand-link-icon { flex: 0 0 auto; width: 13px; height: 13px; object-fit: contain; }
.login-extra-links .brand-link:hover, .login-extra-links .brand-link:focus-visible {
    border-color: var(--login-theme);
    background: var(--login-theme-light);
}
.login-assurance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid #dfd3f2;
}
.login-assurance span { display: flex; align-items: center; gap: 5px; color: #4e3a72; font-size: 8px; line-height: 1.5; }
.login-assurance svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--login-theme); }
.page-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(176, 144, 245, .25);
    background: rgba(20, 12, 50, .55);
    color: #c0b2d8;
    font-size: 10px;
    text-align: center;
}

@media (max-width: 1199px) {
    .login-page, .college-header-inner { width: calc(100% - 64px); }
    .login-page { gap: 28px; padding: 32px 0; }
    .college-motto { margin-right: 24px; font-size: 21px; }
    .college-name { font-size: 27px; }
    .college-meta { font-size: 12px; }
    .brand-kicker { font-size: 12px; }
    .brand-support { max-width: 420px; }
    .brand-feature { gap: 7px; padding: 0 8px; font-size: 9px; }
    .login-card { padding: 22px 24px; }
    .login-assurance { gap: 6px; }
    .login-assurance span { font-size: 7px; }
}
@media (max-width: 991px) {
    .login-page { gap: 24px; }
    .login-brand-panel { flex-basis: 50%; }
    .login-form-panel { flex-basis: 50%; }
    .college-name { font-size: 24px; }
    .iboss-identity { gap: 10px; }
    .iboss-identity h2 { font-size: 34px; }
    .brand-logo { width: 60px; }
    .brand-kicker { font-size: 10px; }
    .brand-features { grid-template-columns: 1fr; gap: 12px; }
    .brand-feature { padding: 0; border: 0; font-size: 11px; min-height: 32px; }
    .brand-feature br { display: none; }
    .brand-support { font-size: 12px; line-height: 1.6; }
    .brand-ribbon { padding: 9px 16px 9px 10px; }
    .brand-ribbon strong { font-size: 10px; }
    .brand-links a { min-width: 115px; padding: 0 10px; font-size: 10px; }
    .brand-company strong { font-size: 11px; }
    .login-header h2 { font-size: 24px; }
    .login-assurance { flex-wrap: wrap; row-gap: 12px; }
    .login-assurance span { font-size: 8px; }
}
@media (max-width: 767px) {
    .college-header-inner { width: calc(100% - 36px); min-height: 82px; gap: 12px; }
    .college-header-banner { width: 471px; max-width: 100%; max-height: 80px; }
    .college-motto { display: none; }
    .login-page { width: calc(100% - 40px); flex-direction: column; align-items: stretch; gap: 24px; padding: 28px 0; }
    .login-brand-panel { flex: 0 0 auto; width: 100%; padding: 0; }
    .brand-content { width: 100%; }
    .college-name { font-size: 26px; line-height: 1.2; }
    .college-eyebrow { font-size: 10px; }
    .college-meta { font-size: 12px; font-weight: 400; }
    .brand-divider { margin: 18px 0; }
    .brand-kicker { font-size: 12px; }
    .brand-features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
    .brand-feature { gap: 6px; font-size: 8px; }
    .feature-icon { width: 28px; height: 28px; }
    .brand-feature br { display: initial; }
    .brand-footer { margin-top: 16px; }
    .brand-links { gap: 10px; }
    .brand-links a { min-width: 130px; font-size: 11px; }
    .brand-ribbon { max-width: 430px; }
    .brand-ribbon strong { font-size: 11px; }
    .login-form-panel { flex: 0 0 auto; width: 100%; justify-content: flex-end; }
    .login-card { max-width: none; padding: 24px; }
    .login-header h2 { font-size: 27px; }
    .login-assurance { justify-content: space-between; }
    .login-assurance span { font-size: 9px; }
    .page-footer { font-size: 9px; padding: 14px 20px; }
}
@media (max-width: 359px) {
    .login-page { width: calc(100% - 28px); }
    .college-name { font-size: 23px; }
    .brand-kicker { font-size: 10px; }
    .brand-feature { font-size: 7px; gap: 3px; }
    .login-card { padding: 20px 16px; }
    .login-theme-picker { gap: 6px; }
    .login-assurance span { font-size: 8px; }
}
/* Keep the admissions card visible on common laptop screens. */
@media (min-width: 768px) and (max-height: 820px) {
    .college-header-inner { min-height: 92px; }
    .college-header-banner { max-height: 76px; }
    .login-page { padding-top: 24px; padding-bottom: 24px; }
    .login-card { padding-top: 20px; padding-bottom: 20px; }
    .login-theme-picker { margin-bottom: 18px; }
    .login-theme-picker select { min-height: 30px; }
    .login-header { margin-bottom: 20px; }
    .login-header h2 { font-size: 25px; }
    .form-field { margin-bottom: 14px; }
    .form-field label.login-kicker { margin-bottom: 6px; }
    .form-field .form-control { height: 44px; }
    .password-toggle { top: 4px; }
    .login-btn { min-height: 44px; margin-top: 18px; }
    .login-extra-links { gap: 6px; margin-top: 16px; padding-top: 12px; }
    .login-extra-links .brand-link { min-height: 30px; padding-top: 5px; padding-bottom: 5px; }
    .login-assurance { margin-top: 18px; padding-top: 14px; }
    .page-footer { padding-top: 12px; padding-bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Keep the branding and login within the available viewport. */
@media (min-width: 768px) {
  body { height: 100vh; min-height: 0; overflow: hidden; }
  .college-header { flex-shrink: 0; }
  .college-header-inner { min-height: 72px; padding-top: 4px; padding-bottom: 4px; }
  .college-header-banner { max-height: 70px; }
  .login-page { flex: 1 1 0; min-height: 0; padding-top: 12px; padding-bottom: 12px; }
  .login-brand-panel { padding: 0; }
  .brand-content { gap: 2px; }
  .college-name { font-size: clamp(20px, 2.1vw, 30px); }
  .brand-divider { margin-top: 6px; margin-bottom: 7px; }
  .iboss-identity { margin-top: 2px; margin-bottom: 3px; }
  .brand-logo { width: clamp(46px, 5vw, 70px); }
  .iboss-identity h2 { font-size: clamp(28px, 3vw, 40px); }
  .brand-support { margin-top: 3px; }
  .brand-ribbon { margin-top: 7px; margin-bottom: 7px; }
  .brand-features { margin-bottom: 4px; }
  .brand-footer { display: flex; flex-direction: row; align-items: center; flex-wrap: nowrap; width: 100%; gap: 12px; margin-top: 3px; padding-top: 7px; }
  .brand-company { flex: 0 1 auto; min-width: 0; white-space: nowrap; }
  .brand-company strong { display: block; font-size: 11px; }
  .brand-links { display: flex; flex-wrap: nowrap; gap: 6px; margin: 0; }
  .brand-links a { min-width: 0; min-height: 30px; padding: 0 9px; white-space: nowrap; font-size: 10px; }
  .brand-links img { width: 12px; height: 12px; }
  .login-card { padding-top: 14px; padding-bottom: 14px; }
  .login-theme-picker { margin-bottom: 12px; }
  .login-header { margin-bottom: 14px; }
  .login-header h2 { font-size: 23px; }
  .form-field { margin-bottom: 10px; }
  .form-field label.login-kicker { margin-bottom: 4px; }
  .form-field .form-control { height: 40px; }
  .password-toggle { top: 2px; }
  .login-btn { min-height: 40px; margin-top: 12px; }
  .login-extra-links { gap: 4px; margin-top: 10px; padding-top: 8px; }
  .login-extra-links .brand-link { min-height: 27px; padding-top: 3px; padding-bottom: 3px; }
  .login-assurance { margin-top: 10px; padding-top: 9px; }
}
@media (min-width: 768px) and (max-height: 680px) {
  .college-header-inner { min-height: 60px; }
  .college-header-banner { max-height: 58px; }
  .college-motto { font-size: 17px; }
  .college-eyebrow { margin-bottom: 1px; padding-top: 3px; padding-bottom: 3px; }
  .college-name { font-size: 20px; line-height: 1.08; }
  .college-meta { font-size: 11px; }
  .brand-support { display: none; }
  .brand-ribbon { display: block; padding-top: 4px; padding-bottom: 4px; margin-top: 4px; margin-bottom: 4px; }
  .brand-features { margin-top: 4px; }
  .login-card { padding-top: 9px; padding-bottom: 9px; }
  .login-theme-picker { margin-bottom: 7px; }
  .login-header { margin-bottom: 8px; }
  .login-header h2 { font-size: 20px; }
  .form-field { margin-bottom: 6px; }
  .form-field .form-control { height: 36px; }
  .password-toggle { top: 0; }
  .login-btn { min-height: 36px; margin-top: 7px; }
  .login-assurance { margin-top: 6px; padding-top: 6px; }
}
@media (max-width: 767px) {
  .brand-footer { display: flex; flex-wrap: wrap; flex-direction: row; align-items: center; gap: 9px; }
  .brand-company strong { display: block; }
  .brand-links { display: flex; flex-wrap: nowrap; gap: 6px; margin: 0; }
  .brand-links a { min-width: 0; padding: 0 8px; font-size: 9px; white-space: nowrap; }
}

/* Admission actions sit beneath the larger sign-in card. */
.login-form-panel { flex-direction: column; align-items: flex-end; }
.login-card, .login-form-panel > .login-extra-links { width: 100%; max-width: 490px; }
.login-form-panel > .login-extra-links { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 10px; padding: 0; border: 0; }
.login-form-panel > .login-extra-links .brand-link { justify-content: center; text-align: center; font-size: 10px; }
@media (min-width: 768px) {
  .brand-company { white-space: normal; }
  .brand-company > span { display: block; line-height: 1.35; }
  .brand-ribbon { display: block; }
  .login-card { padding-left: 34px; padding-right: 34px; }
}
@media (max-width: 767px) {
  .login-form-panel { align-items: stretch; }
  .login-form-panel > .login-extra-links { max-width: none; }
  .brand-company > span { display: block; }
}
@media (max-width: 480px) {
  .login-form-panel > .login-extra-links { grid-template-columns: 1fr; }
}

/* Fine tuning for the college header and sign-in card. */
.college-header-banner { transform: translateX(28px); }
.iboss-identity h2 { font-size: clamp(26px, 2.5vw, 34px); }
.brand-kicker { font-size: 11px; }
@media (min-width: 768px) {
    .login-card { display: flex; flex-direction: column; min-height: 490px; }
    .login-assurance { margin-top: auto; }
}
@media (min-width: 768px) and (max-height: 680px) {
    .login-card { min-height: 0; }
    .login-assurance { margin-top: 8px; }
}
@media (max-width: 767px) {
    .college-header-banner { transform: translateX(10px); }
    .iboss-identity h2 { font-size: 28px; }
    .brand-kicker { font-size: 10px; }
}

/* Give the college identity more space in the header. */
.college-header-inner { min-height: 118px; padding-top: 8px; padding-bottom: 8px; }
.college-header-banner { width: 600px; max-height: 106px; }
@media (min-width: 768px) and (max-width: 1199px) {
    .college-header-banner { width: min(520px, 66%); }
}
@media (max-width: 767px) {
    .college-header-inner { min-height: 108px; }
    .college-header-banner { width: 100%; max-height: 94px; }
}
@media (min-width: 768px) and (max-height: 680px) {
    .college-header-inner { min-height: 88px; padding-top: 5px; padding-bottom: 5px; }
    .college-header-banner { max-height: 78px; }
}

/* Balance the form content through the card without excess empty space. */
@media (min-width: 768px) {
    .login-card { min-height: 510px; justify-content: space-between; }
    .login-card .login-assurance { margin-top: 0; }
}
@media (min-width: 768px) and (max-height: 680px) {
    .login-card { min-height: 400px; }
}
@media (min-width: 768px) and (max-height: 590px) {
    .login-card { min-height: 0; }
}

/* Let the controls fill the card, including at laptop display scaling. */
@media (min-width: 768px) {
    .form-field { margin-bottom: 19px; }
    .form-field label.login-kicker { margin-bottom: 8px; }
    .form-field .form-control { height: 54px; }
    .password-toggle { top: 9px; }
    .login-btn { min-height: 52px; margin-top: 20px; }
}
@media (min-width: 768px) and (max-height: 680px) {
    .form-field { margin-bottom: 14px; }
    .form-field label.login-kicker { margin-bottom: 6px; }
    .form-field .form-control { height: 50px; }
    .password-toggle { top: 7px; }
    .login-btn { min-height: 50px; margin-top: 14px; }
}

/* Lighter theme center with darker edges; gold artwork remains unchanged. */
html[data-login-theme="indigo"] { --page-center: #6979C1; }
html[data-login-theme="blue"] { --page-center: #3E73AA; }
html[data-login-theme="teal"] { --page-center: #34818F; }
html[data-login-theme="slate"] { --page-center: #6C8099; }
html[data-login-theme="maroon"] { --page-center: #9F4562; }
html[data-login-theme="orange"] { --page-center: #BA7442; }
html[data-login-theme="amber"] { --page-center: #9B773F; }
html[data-login-theme="pink"] { --page-center: #AC4E7C; }
html[data-login-theme="brown"] { --page-center: #886859; }
html[data-login-theme="olive"] { --page-center: #788844; }

/* Palette icon beside the theme label; option symbols remain visible in native menus. */
.login-theme-picker label { display: inline-flex; align-items: center; gap: 5px; }
.theme-picker-icon { width: 15px; height: 15px; flex: 0 0 auto; color: var(--login-theme); }
.login-theme-picker select {
    padding-left: 9px;
    background: #fcfaff;
}

/* Quiet geometric detail in the open space between branding and login. */
.login-page::before,
.login-page::after {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
}
.login-page::before {
    left: 52%;
    top: 50%;
    width: min(34vw, 460px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%) rotate(-17deg);
    border: 1px solid var(--login-theme-light);
    border-radius: 50%;
    opacity: .07;
    background:
        radial-gradient(circle at 50% 50%, var(--login-theme-light) 0 3px, transparent 4px),
        repeating-radial-gradient(circle at 50% 50%, transparent 0 55px, var(--login-theme-light) 56px 57px, transparent 58px 103px),
        conic-gradient(from 20deg, transparent 0 22%, var(--login-theme-light) 25%, transparent 30% 72%, var(--login-theme-light) 75%, transparent 80%);
}
.login-page::after {
    left: 47%;
    top: 13%;
    width: 145px;
    height: 110px;
    opacity: .18;
    background: radial-gradient(circle, var(--login-theme-light) 1.5px, transparent 2px) 0 0 / 17px 17px;
    mask-image: linear-gradient(90deg, transparent, #000 30% 70%, transparent);
}
.login-brand-panel, .login-form-panel { position: relative; z-index: 1; }
@media (max-width: 767px) {
    .login-page::before, .login-page::after { display: none; }
}

/* Give the college name a little more emphasis. */
.college-name { font-size: clamp(22px, 2.25vw, 32px); }
@media (max-width: 767px) { .college-name { font-size: 28px; } }

/* Final hierarchy and spacing refinements. */
html[data-login-theme="indigo"] {
    --login-theme: #3949AB;
    --login-theme-dark: #283593;
    --login-theme-light: #EEF0FF;
    --page-center: #6979C1;
}
.login-card { background: #fff; color: #25145C; }
.login-description { color: #6F6A91; }
.college-eyebrow { font-size: 12px; letter-spacing: .8px; }
.iboss-identity h2 { font-size: clamp(30px, 2.8vw, 40px); }
.brand-logo { width: clamp(58px, 5.4vw, 76px); }
.form-field label.login-kicker { font-size: 12px; letter-spacing: .7px; }
.form-field .form-control { border-color: #DCD4F4; }
.login-assurance { opacity: .72; }
.brand-footer { gap: 16px; }
.brand-links a { min-height: 34px; font-size: 11px; }
@media (min-width: 768px) {
    .form-field .form-control { height: 56px; }
    .password-toggle { top: 10px; }
    .login-btn { margin-top: 8px; }
}
@media (min-width: 768px) and (max-height: 680px) {
    .form-field .form-control { height: 52px; }
    .password-toggle { top: 8px; }
    .login-btn { margin-top: 6px; }
}
@media (max-width: 767px) {
    .iboss-identity h2 { font-size: 32px; }
    .brand-logo { width: 64px; }
    .form-field .form-control { height: 52px; }
}

/* The portal label is an h1 for structure, styled as a small gold badge. */
.brand-content h1.college-eyebrow {
    display: inline-flex;
    margin: 0 0 10px;
    color: #062a56;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .8px;
    word-spacing: normal;
    white-space: normal;
    text-shadow: none;
}


/* Keep the college crest on the left and place iBoss EMS in the top-right. */
.header-iboss { display: flex; flex: 0 0 auto; align-items: center; margin-left: auto; }
.header-iboss .iboss-identity { display: flex; align-items: center; gap: 12px; margin: 0; }
.header-iboss .brand-logo { width: 58px; height: 58px; object-fit: contain; }
.header-iboss .iboss-identity h2 {
    margin: 0;
    color: #342166;
    font-size: clamp(24px, 2.1vw, 32px);
    line-height: 1.1;
    text-shadow: none;
    white-space: nowrap;
}
.header-iboss .brand-kicker { margin: 2px 0 0; color: #514078; font-size: 10px; letter-spacing: .25px; white-space: nowrap; }
.header-iboss .brand-initial { color: var(--brand-gold-dark); }

/* Center the sign-in area in the available page width. */
@media (min-width: 1200px) {
    .login-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 490px) minmax(0, 1fr); gap: 28px; }
    .login-brand-panel { grid-column: 1; width: 100%; }
    .login-form-panel { grid-column: 2; width: 100%; justify-content: center; align-items: center; }
    .brand-content { width: 100%; }
}
@media (min-width: 768px) and (max-width: 1199px) {
    .login-page { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 490px); gap: 24px; }
    .login-brand-panel, .login-form-panel { width: 100%; }
    .login-form-panel { align-items: center; justify-content: center; }
}
.login-form-panel > .login-card, .login-form-panel > .login-extra-links { width: 100%; max-width: 490px; }

/* Product credit and the two gold website links have their own footer. */
.page-footer {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    padding: 10px max(24px, calc((100vw - 1320px) / 2));
    background: rgba(25, 13, 66, .88);
}
.page-footer .brand-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    gap: 12px 24px;
}
.page-footer .brand-company { color: #fff; text-align: left; }
.page-footer .brand-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin: 0; }
.page-footer .brand-links a { min-height: 34px; }
@media (max-width: 767px) {
    .college-header-inner { flex-wrap: wrap; gap: 4px 12px; }
    .college-header-banner { max-width: 100%; }
    .header-iboss { margin-left: auto; padding: 2px 0; }
    .header-iboss .brand-logo { width: 42px; height: 42px; }
    .header-iboss .iboss-identity h2 { font-size: 23px; }
    .header-iboss .brand-kicker { font-size: 8px; }
    .login-page { display: flex; flex-direction: column; }
    .login-form-panel { align-items: stretch; }
    .page-footer { padding: 14px 20px; }
    .page-footer .brand-footer { align-items: flex-start; }
    .page-footer .brand-links { justify-content: flex-start; }
}
@media (min-width: 768px) and (max-height: 620px) {
    body { height: auto; min-height: 100vh; overflow-y: auto; }
}


/* Restore the original white-and-gold iBoss wordmark treatment in the header. */
.header-iboss .iboss-identity {
    gap: 14px;
    padding: 10px 17px 10px 12px;
    border: 1px solid rgba(240, 196, 68, .55);
    border-radius: 14px;
    background: linear-gradient(115deg, #35206f, #24164f);
    box-shadow: 0 5px 18px rgba(35, 20, 80, .16);
}
.header-iboss .brand-logo { width: 62px; height: 62px; }
.header-iboss .iboss-identity h2 {
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(28px, 2.35vw, 38px);
    font-weight: 800;
    line-height: 1;
    text-shadow: 1px 0 rgba(0,45,95,.75), -1px 0 rgba(0,45,95,.75), 0 1px rgba(0,45,95,.75), 0 -1px rgba(0,45,95,.75);
}
.header-iboss .brand-kicker {
    margin-top: 5px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-shadow: 1px 0 rgba(0,45,95,.85), -1px 0 rgba(0,45,95,.85), 0 1px rgba(0,45,95,.85), 0 -1px rgba(0,45,95,.85);
}
.header-iboss .brand-initial { color: var(--brand-gold); }

/* The college motto occupies the space to the right of the centered card. */
.login-quote-panel { position: relative; z-index: 1; color: #fff; text-align: center; }
.login-quote-panel .college-motto {
    display: inline-block;
    margin: 0;
    padding: 0 0 15px;
    color: #fff;
    font: italic clamp(22px, 2.15vw, 30px)/1.3 Georgia, "Times New Roman", serif;
    text-shadow: 0 3px 14px rgba(20, 8, 65, .28);
}
.login-quote-panel .college-motto::after { width: 72px; left: calc(50% - 36px); background: linear-gradient(90deg, transparent, var(--brand-gold), transparent); }
@media (min-width: 1200px) {
    .login-quote-panel { grid-column: 3; align-self: center; }
}
@media (min-width: 768px) and (max-width: 1199px) {
    .login-quote-panel { grid-column: 1 / -1; padding-bottom: 4px; }
    .login-quote-panel .college-motto { font-size: 21px; }
}
@media (max-width: 767px) {
    .header-iboss .iboss-identity { gap: 8px; padding: 7px 10px; }
    .header-iboss .brand-logo { width: 42px; height: 42px; }
    .header-iboss .iboss-identity h2 { font-size: 23px; }
    .header-iboss .brand-kicker { font-size: 8px; margin-top: 3px; }
    .login-quote-panel { padding: 0 0 12px; }
    .login-quote-panel .college-motto { display: inline-block; font-size: 22px; }
}


/* Show the original iBoss identity directly on the college banner. */
.header-iboss .iboss-identity {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}
.header-iboss .iboss-identity h2,
.header-iboss .brand-kicker {
    color: #10366d;
    text-shadow: none;
}
.header-iboss .brand-initial { color: var(--brand-gold); text-shadow: none; }
.header-iboss .iboss-identity h2 { font-size: clamp(34px, 2.8vw, 44px); font-weight: 900; }
.header-iboss .brand-initial { color: #b8860b; }
@media (max-width: 767px) {
    .header-iboss .iboss-identity h2 { font-size: 29px; }
}

/* Carry the selected theme into the login card interior. */
.login-card {
    background: linear-gradient(145deg, #fff 0%, var(--login-theme-light) 60%, var(--login-theme-light) 100%);
}

/* Ethiraj's purple reference layout. The existing SVG supplies only the light waves and foliage. */
:root { --page-glow: var(--login-theme-dark); }
html[data-login-theme="indigo"] { --page-glow: #283593; }
body {
    background-image:
        url('/images/login-waves.svg?v=20261026-matching-icons-v9'),
        radial-gradient(ellipse at 91% 30%, var(--page-glow), transparent 48%),
        radial-gradient(ellipse at 42% 83%, var(--page-center), transparent 62%),
        linear-gradient(110deg, var(--login-theme-dark), var(--page-center) 55%, var(--login-theme-dark));
    background-position: center bottom, center, center, center;
    background-size: 100% 100%, cover, cover, cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.college-header {
    background: #fff;
}
.college-header::before {
    background: linear-gradient(135deg, var(--login-theme), var(--login-theme-light));
    opacity: .24;
}
.college-header::after { background: var(--login-theme-light); }
.college-header-banner { transform: none; }

.brand-content h1.digital-campus-heading {
    position: relative;
    margin: 0 0 22px;
    padding-top: 19px;
    color: #fff;
    font: 400 clamp(22px, 2vw, 28px)/1.18 Georgia, "Times New Roman", serif;
    letter-spacing: 0;
    word-spacing: normal;
    white-space: normal;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(27, 6, 73, .2);
}
.brand-content h1.digital-campus-heading::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
}
.digital-campus-heading span, .digital-campus-heading strong { display: block; }
.brand-content h1.digital-campus-heading strong { color: #f4c542; font-weight: 700; }
.brand-content { gap: 0; }
.brand-features { width: 100%; max-width: 430px; margin: 0; }
.brand-feature {
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    min-height: 102px;
    padding: 0 10px;
    text-align: center;
    font-size: 11px;
    line-height: 1.35;
    border-color: rgba(255,255,255,.42);
}
.brand-feature:first-child { padding-left: 0; }
.brand-feature:last-child { padding-right: 0; }
.feature-icon {
    width: 51px;
    height: 51px;
    color: var(--login-theme-dark);
    background: linear-gradient(145deg, #fff, #f4eaff);
    border-radius: 50%;
    clip-path: none;
    box-shadow: 0 3px 13px rgba(35, 8, 91, .18);
}
.feature-icon::before { content: none; }
.feature-icon svg { width: 27px; height: 27px; }
@media (min-width: 1200px) {
    .login-brand-panel { align-self: center; }
}
.login-card {
    border-color: #d8c5f0;
    background: linear-gradient(150deg, #fff 0%, var(--login-theme-light) 100%);
    box-shadow: 0 18px 48px rgba(34, 9, 73, .25);
}
.login-quote-panel .college-motto {
    font-size: clamp(25px, 2.3vw, 34px);
    line-height: 1.2;
}
.college-quote {
    margin: 25px 0 4px;
    color: #fff;
    font: 400 clamp(15px, 1.4vw, 19px)/1.4 Georgia, "Times New Roman", serif;
    text-shadow: 0 2px 10px rgba(27, 6, 73, .2);
}
.college-quote-source { margin: 0; color: #fff; font-size: 12px; }
.page-footer { background: rgba(36, 19, 77, .94); }
.page-footer .brand-links a {
    color: #432078;
    border-color: #d8b9f2;
    background: linear-gradient(180deg, #f4dfff, #dbaeff);
    box-shadow: 0 4px 10px rgba(18, 5, 45, .14);
}
@media (min-width: 768px) and (max-width: 1199px) {
    body { height: auto; min-height: 100vh; overflow-y: auto; }
    .brand-content h1.digital-campus-heading { font-size: clamp(20px, 2.2vw, 25px); }
    .brand-feature { min-height: 88px; font-size: 10px; }
    .feature-icon { width: 44px; height: 44px; }
    .login-quote-panel .college-motto { font-size: 25px; }
}
@media (max-width: 767px) {
    body { background-size: auto 100%, cover, cover, cover; }
    .login-form-panel { order: 1; }
    .login-brand-panel { order: 2; }
    .login-quote-panel { order: 3; }
    .brand-content h1.digital-campus-heading { font-size: clamp(21px, 6vw, 27px); margin-bottom: 20px; }
    .brand-features { max-width: none; }
    .brand-feature { min-height: 95px; padding: 0 6px; font-size: 9px; }
    .feature-icon { width: 44px; height: 44px; }
    .feature-icon svg { width: 23px; height: 23px; }
    .login-quote-panel .college-motto { font-size: 26px; }
    .college-quote { font-size: 17px; }
}

/* College identity inside the sign-in card, above the welcome message. */
.login-college-identity { margin: 0 0 14px; text-align: center; }
.login-college-identity::after {
    content: "";
    display: block;
    width: 48px;
    height: 2px;
    margin: 9px auto 0;
    background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
}
.login-college-name {
    margin: 0;
    color: #25145c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(17px, 1.35vw, 20px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .15px;
}
.login-theme-picker { margin-bottom: 12px; }
.login-header h2 {
    color: var(--login-theme);
    font-family: "Poppins", Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
}
@media (min-width: 768px) and (max-height: 680px) {
    .login-college-identity { margin-bottom: 7px; }
    .login-college-name { font-size: 16px; }
    .login-college-identity::after { margin-top: 5px; }
    .login-theme-picker { margin-bottom: 6px; }
    .login-header h2 { font-size: 18px; }
}

/* College-neutral Azure treatment; keep the login theme independent of account themes. */
:root { --login-theme: #0F4C8A; --login-theme-dark: #0C5192; --login-theme-light: #DFF1FF; --login-ink: #17335c; }
.login-card { color: #17335c; border-color: #c9d9ed; box-shadow: 0 18px 48px rgba(8, 35, 78, .25); }
.login-college-name { color: #17335c; }
.login-description { color: #63748b; }
.form-field label.login-kicker { color: #17335c; }
.form-field .form-control { border-color: #c9d9ed; color: #17335c; }
.form-field .form-control::placeholder { color: #7387a4; }
.login-assurance { border-top-color: #d5e1ee; }
.login-assurance span { color: #566c88; }
.login-theme-picker select { border-color: #bdcfe5; background-color: #fff; }
.feature-icon { color: var(--login-theme-dark); background: linear-gradient(145deg, #fff, var(--login-theme-light)); }
.page-footer { background: rgba(8, 29, 69, .94); }
/* Keep both footer links in their original colors in every interaction state. */
.page-footer .brand-links a,
.page-footer .brand-links a:visited,
.page-footer .brand-links a:hover,
.page-footer .brand-links a:focus,
.page-footer .brand-links a:active {
    color: var(--login-theme-dark);
    border-color: var(--login-theme);
    background: linear-gradient(180deg, #fff, var(--login-theme-light));
    box-shadow: 0 4px 10px rgba(8, 42, 92, .12);
}
.login-btn { width: 100%; }
.login-options { text-align: right; margin: -3px 0 8px; font-size: 11px; }
.login-options a { color: var(--login-theme-dark); }
.college-header-banner { background: #fff; }

/* Replace the Bootstrap sizing and centered container rules used by the reference page. */
*, *::before, *::after { box-sizing: border-box; }
.college-header-inner { margin-left: auto; margin-right: auto; }
.login-card, .login-form, .form-field, .input-icon-wrap, .password-input-wrap { min-width: 0; }
.login-card .login-form, .login-card .form-field, .form-field .form-control { width: 100%; max-width: 100%; }
.login-theme-picker { position: relative; }
.login-theme-picker select { display: block; width: 180px; max-width: min(180px, 55vw); min-height: 34px; }
@media (min-width: 1200px) {
    .college-header-inner { width: calc(100% - clamp(48px, 14vw, 270px)); max-width: 1650px; }
}

/* Give the action the same visible two-tone treatment as the reference card. */
html[data-login-theme="blue"] { --login-button-start: #2879d0; --login-button-end: #103d83; }
html[data-login-theme] .login-btn {
    background: linear-gradient(105deg, var(--login-button-start, var(--page-center)), var(--login-button-end, var(--login-theme-dark)));
    box-shadow: 0 7px 16px rgba(12, 55, 118, .22);
}
html[data-login-theme] .login-btn:hover,
html[data-login-theme] .login-btn:focus {
    background: linear-gradient(105deg, var(--login-button-end, var(--login-theme-dark)), var(--login-button-start, var(--page-center)));
}

/* Dark college banner keeps the college name readable. */
.lnems-college-banner{position:relative;width:520px;max-width:70%;aspect-ratio:1497/120;background:#052d66;overflow:hidden;flex:0 1 520px}
.lnems-college-banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}
.lnems-college-banner .lnems-banner-left{clip-path:inset(0 91% 0 0)}
.lnems-college-banner .lnems-banner-right{clip-path:inset(0 0 0 91%)}
.lnems-banner-name{position:absolute;inset:0 9%;display:flex;align-items:center;justify-content:center;text-align:center;color:#fff;font:700 clamp(11px,1.4vw,21px)/1.2 Arial,sans-serif;padding:2px}
@media(max-width:767px){.lnems-college-banner{width:100%;max-width:100%;flex:0 1 100%}.lnems-banner-name{font-size:clamp(8px,2.5vw,17px)}}

/* College banner details follow the supplied reference. */
.lnems-college-banner{width:760px;max-width:72%;flex-basis:760px;background:#1f2e5d}
.lnems-banner-name{flex-direction:column;gap:1px;padding:0 2px;line-height:1.08}
.lnems-banner-name strong{font-size:clamp(9px,1.2vw,17px);white-space:nowrap}
.lnems-banner-name strong span{font-size:.72em}
.lnems-banner-name b{font-size:clamp(7px,.7vw,11px);color:#ffea00}
.lnems-banner-name>span{font-size:clamp(7px,.7vw,11px);font-weight:400;white-space:nowrap}
@media(max-width:767px){.lnems-college-banner{width:100%;max-width:100%;flex-basis:100%}.lnems-banner-name strong{font-size:clamp(7px,1.9vw,13px)}.lnems-banner-name b,.lnems-banner-name>span{font-size:clamp(5px,1.2vw,9px)}}

/* Display the original college banner without overlay text. */
.lnems-college-banner img{clip-path:none !important}
