/* SLDS / NTR Sujala — PHP backend sign-in (mirrors Bibo login-2.css) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700;800&display=swap');

* { box-sizing: border-box; }

html, body {
    height: 100%;
    margin: 0;
    overflow: hidden;
}

body.slds-login {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #fff;
    background: transparent;
    -webkit-font-smoothing: antialiased;
}

.login {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 100%;
    height: 100%;
    font-family: "Inter", "Open Sans", sans-serif;
    background: linear-gradient(152deg, #06263a 0%, #073246 38%, #0a1c2a 100%);
    overflow: hidden;
}

.login::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(760px 460px at 10% 6%, rgba(41, 182, 246, 0.20) 0%, rgba(41, 182, 246, 0) 70%),
        radial-gradient(660px 440px at 92% 94%, rgba(249, 168, 37, 0.14) 0%, rgba(249, 168, 37, 0) 70%),
        radial-gradient(560px 360px at 82% 4%, rgba(46, 125, 50, 0.14) 0%, rgba(46, 125, 50, 0) 70%),
        repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.022) 0px, rgba(255, 255, 255, 0.022) 1px, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0) 22px);
}

/* ============================================================
   LEFT — program / brand panel
   ============================================================ */
.login-brandpane {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: transparent;
    overflow: hidden;
}

/* soft light pools + faint ripple texture (no photo — keeps the panel clean) */
.login-brandpane-glow {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    background:
        radial-gradient(760px 460px at 10% 6%, rgba(41, 182, 246, 0.20) 0%, rgba(41, 182, 246, 0) 70%),
        radial-gradient(660px 440px at 92% 94%, rgba(249, 168, 37, 0.14) 0%, rgba(249, 168, 37, 0) 70%),
        radial-gradient(560px 360px at 82% 4%, rgba(46, 125, 50, 0.14) 0%, rgba(46, 125, 50, 0) 70%),
        repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.022) 0px, rgba(255, 255, 255, 0.022) 1px, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0) 22px);
}

.login-stage {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    width: 100%;
    max-width: 1280px;
    max-height: 100%;
    margin: auto;
    padding: 24px 28px;
    overflow: auto;
}

.login-brandpane-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    max-width: 760px;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
}

/* government strip */
.gov-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.gov-emblem {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    padding: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.32);
    object-fit: contain;
}

.gov-strip-text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
    text-align: center;
}

.gov-strip-line1 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
}

.gov-strip-line2 {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.6);
}

/* program title */
.program-head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.program-head-text {
    min-width: 0;
}

.program-emblem {
    flex: 0 0 auto;
    width: 54px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.program-title {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.01em;
    background: linear-gradient(92deg, #ffffff 0%, #ffe9b0 62%, #ffcc80 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.program-sub {
    margin: 6px 0 0;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
}

.program-copy {
    margin: 0;
    max-width: none;
    font-size: 14.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.68);
}

.program-copy strong {
    color: #ffd54f;
    font-weight: 700;
}

.program-note {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.52);
}

/* photo + 2x2 stats, then copy/features in a column underneath */
.program-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-self: stretch;
    flex: 0 0 auto;
    gap: 12px;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
}

.program-hero-row {
    display: flex;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero-photo {
    position: relative;
    flex: 0 0 38%;
    width: 38%;
    max-width: 280px;
    margin: 0;
    height: auto;
    min-height: 0;
    line-height: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
}

.hero-live {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: 50px;
    background: rgba(8, 18, 26, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #e8f5e9;
}

.hero-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #66bb6a;
    box-shadow: 0 0 0 0 rgba(102, 187, 106, 0.7);
    animation: heroPulse 2s infinite;
}

@keyframes heroPulse {
    0%   { box-shadow: 0 0 0 0 rgba(102, 187, 106, 0.65); }
    70%  { box-shadow: 0 0 0 9px rgba(102, 187, 106, 0); }
    100% { box-shadow: 0 0 0 0 rgba(102, 187, 106, 0); }
}

.program-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.program-info .program-copy {
    margin: 0;
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    align-content: stretch;
}

.stat {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 10px;
    border-radius: 14px;
    text-align: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.13);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.stat-value {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
    color: #4fc3f7;
}

.stat-label {
    display: block;
    margin-top: 3px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.58);
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px 14px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.8);
}

.feature-list i {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-size: 13px;
    color: #4fc3f7;
    background: rgba(79, 195, 247, 0.14);
    border: 1px solid rgba(79, 195, 247, 0.24);
}

/* ============================================================
   PARTNER CARDS — ACER / Bibo  +  Spoorthy Innovations
   ============================================================ */
.partner-cards {
    display: flex;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pcard + .pcard {
    margin-left: 16px;
}

.pcard {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    padding: 30px 18px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.065);
    border: 1px solid rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

.pcard-acer { border-top: 3px solid #d32f2f; }
.pcard-sipl { border-top: 3px solid #29b6f6; }

.pcard-ribbon {
    position: absolute;
    top: 0;
    left: 18px;
    padding: 4px 12px 5px;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(180deg, #e53935 0%, #b71c1c 100%);
    color: #fff;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    white-space: nowrap;
}

.pcard-ribbon-alt {
    background: linear-gradient(180deg, #29b6f6 0%, #0277bd 100%);
}

.pcard-head {
    display: flex;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 11px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.16);
}

.pcard-logo {
    flex: 0 0 auto;
    display: block;
    margin-right: 12px;
}

.pcard-logo-acer {
    height: 50px;
    width: auto;
    background: #fff;
    border-radius: 9px;
    padding: 5px 7px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.pcard-logo-sipl {
    height: 46px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.pcard-id {
    min-width: 0;
}

.pcard-name {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
}

.pcard-name span {
    font-weight: 600;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.pcard-tag {
    display: inline-block;
    margin-top: 7px;
    padding: 3px 9px 4px;
    border-radius: 999px;
    background: rgba(229, 57, 53, 0.16);
    border: 1px solid rgba(229, 57, 53, 0.42);
    color: #ff8a80;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.pcard-tag-alt {
    background: rgba(41, 182, 246, 0.14);
    border-color: rgba(41, 182, 246, 0.42);
    color: #81d4fa;
}

.pcard-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pcard-contact li + li {
    margin-top: 7px;
}

.pcard-contact li {
    display: flex;
    align-items: flex-start;
    font-size: 12.5px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
}

.pcard-contact i {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin: 1px 9px 0 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    font-size: 11px;
    color: #ffd54f;
    background: rgba(255, 213, 79, 0.13);
    border: 1px solid rgba(255, 213, 79, 0.22);
}

.pcard-sipl .pcard-contact i {
    color: #4fc3f7;
    background: rgba(79, 195, 247, 0.13);
    border-color: rgba(79, 195, 247, 0.24);
}

.pcard-contact a {
    color: #ffffff !important;
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
}

.pcard-contact a:hover,
.pcard-contact a:focus {
    color: #ffe082 !important;
    text-decoration: underline;
}

.pcard-sipl .pcard-contact a:hover,
.pcard-sipl .pcard-contact a:focus {
    color: #81d4fa !important;
}

.pcard-contact a em {
    display: inline;
    margin-left: 6px;
    font-style: normal;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
    white-space: nowrap;
}

/* ============================================================
   RIGHT — sign-in panel
   ============================================================ */
.login a {
    color: #ffe082 !important;
}

.login-card-col {
    flex: 0 0 380px;
    width: 380px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
    padding: 0;
    margin: 0;
    background: transparent;
    box-shadow: none;
    border: 0;
}

.login .logo {
    margin: 0 auto;
    padding: 15px;
    text-align: center;
}

.login .content,
.login .content.login-card {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 30px 28px 24px;
    border-radius: 24px;
    background: rgba(14, 22, 32, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.login-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 54px;
    padding: 0 10px;
    border-radius: 16px;
    background: linear-gradient(180deg, #29b6f6 0%, #0277bd 100%);
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 24px rgba(2, 119, 189, 0.4);
}

.login-brand-name {
    color: rgba(255, 255, 255, 0.75);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.login-heading {
    margin: 0 0 5px;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
}

.login-lead {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13.5px;
}

.login .content .alert {
    padding: 11px 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    font-size: 13px;
}

.login .content .alert-danger {
    background: rgba(183, 28, 28, 0.24);
    border: 1px solid rgba(255, 138, 128, 0.45);
    color: #ffcdd2;
}

.login .content .alert-success {
    background: rgba(46, 125, 50, 0.24);
    border: 1px solid rgba(129, 199, 132, 0.45);
    color: #c8e6c9;
}

.login .content .alert button.close {
    background: url(../../global/img/portlet-remove-icon.png) center center no-repeat !important;
    margin-top: -4px;
    margin-right: -10px;
    opacity: 1;
}

.login .content .form-group {
    position: relative;
    margin-bottom: 15px;
}

.login-label {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.login-field {
    position: relative;
}

.login .content .form-group i,
.login-field i {
    position: absolute;
    left: 18px;
    top: 50%;
    margin-top: -7px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.login .content .login-form,
.login .content .forget-form {
    padding: 0;
    margin: 0;
}

.login .content .form-control {
    display: block;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background-color: rgba(255, 255, 255, 0.07);
    height: 50px;
    border-radius: 14px;
    padding: 14px 18px 14px 46px;
    color: #fff;
    font-family: inherit;
    font-size: 14.5px;
    outline: none;
    box-shadow: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.login .content .form-control[readonly] {
    opacity: 0.85;
    cursor: default;
}

.login .content .form-control.captcha-input {
    padding-left: 18px;
}

.login .content .form-control:focus,
.login .content .form-control:active {
    border-color: rgba(79, 195, 247, 0.85);
    background-color: rgba(255, 255, 255, 0.11);
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.16);
}

.login .content .form-control::-moz-placeholder { color: rgba(255, 255, 255, 0.4); opacity: 1; }
.login .content .form-control:-ms-input-placeholder { color: rgba(255, 255, 255, 0.4); }
.login .content .form-control::-webkit-input-placeholder { color: rgba(255, 255, 255, 0.4); }

.login-captcha {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.login-captcha-image {
    display: block;
    flex: 0 0 65%;
    width: 65%;
    max-width: 65%;
    height: 50px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #fffdf7;
    cursor: pointer;
    object-fit: fill;
    box-sizing: border-box;
}

.login-captcha .captcha-input {
    flex: 0 0 35%;
    width: 35%;
    max-width: 35%;
    min-width: 0;
    box-sizing: border-box;
}

.login .content select.form-control {
    padding-left: 9px;
    padding-right: 9px;
}

.login .content .forget-form,
.login .content .register-form {
    display: none;
}

.login .content .form-actions {
    clear: both;
    border: 0;
    padding: 6px 0 0;
    margin: 0;
}

.login-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-top: 16px !important;
    margin-top: 14px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.login-hint {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
    line-height: 1.5;
    text-align: left;
}

.login-hint i {
    margin-top: 2px;
    color: rgba(79, 195, 247, 0.75);
}

.login .forget-password,
.login .content .forget-password {
    font-size: 13px;
    font-weight: 600;
    color: #ffe082 !important;
    opacity: 0.9;
}

.login .content .forget-password:hover,
.login .content .forget-password:focus {
    opacity: 1;
    text-decoration: underline;
}

.login .content .form-actions .btn,
.login .btn.login-submit,
.login-submit {
    margin-top: 4px;
    height: 50px;
    border-radius: 14px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 15px;
    background: linear-gradient(180deg, #29b6f6 0%, #0277bd 100%) !important;
    border: 0 !important;
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(2, 119, 189, 0.38);
    transition: filter 0.2s ease, transform 0.2s ease;
}

.login .btn.login-submit:hover,
.login .btn.login-submit:focus,
.login-submit:hover,
.login-submit:focus {
    color: #fff !important;
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.login .btn.login-submit[disabled],
.login-submit[disabled] {
    opacity: 0.65;
    transform: none;
}

.login-submit {
    display: block;
    width: 100%;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    font-family: "Poppins", sans-serif;
}

.login-spinner {
    display: block;
    margin: 0 auto 10px;
}

.login-credits {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-credits-line {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.login-credits-line a {
    color: #ffe082 !important;
    text-decoration: none;
}

.login-credits-line a:hover {
    text-decoration: underline;
}

.login-credits-line .dot {
    margin: 0 6px;
    color: rgba(255, 255, 255, 0.3);
}

.login-copyright {
    margin: 0;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.38);
    text-align: center;
}

.login .btn {
    background-color: #0277bd;
    border: 1px solid #0277bd;
    color: #fff;
    font-weight: 600;
    padding: 10px 25px !important;
}

.login .content .rememberme { margin-top: 8px; }
.login .content .mt-checkbox { color: #c9dce9 !important; }

.login .copyright {
    text-align: center;
    margin: 10px auto 30px 0;
    padding: 10px;
    color: #c9dce9;
    font-size: 13px;
}

/* ============================================================
   RESPONSIVE — 14" laptop, desktop, phone
   ============================================================ */
@media (max-width: 1400px) {
    .login-stage { padding: 18px 20px; gap: 20px; }
    .program-title { font-size: 30px; }
    .hero-photo { flex-basis: 34%; width: 34%; max-width: 220px; }
    .login-card-col { flex-basis: 340px; width: 340px; }
}

@media (max-width: 991px) {
    .login { overflow-y: auto; height: auto; min-height: 100%; }

    .login-brandpane {
        overflow: visible;
        height: auto;
    }

    .login-stage {
        flex-direction: column;
        align-items: center;
        max-height: none;
        padding: 22px 20px 28px;
        gap: 22px;
    }

    .login-card-col {
        order: -1;
        flex: 0 0 auto;
        width: 100%;
        max-width: 420px;
    }

    .login-brandpane-inner {
        max-width: 940px;
        width: 100%;
        padding: 0;
    }

    .login .content.login-card {
        width: 100%;
        border-color: rgba(255, 255, 255, 0.18);
    }
}

@media (max-width: 860px) {
    .partner-cards { flex-direction: column; }
    .pcard + .pcard { margin-left: 0; margin-top: 14px; }
    .program-hero-row { flex-direction: column; }
    .hero-photo { flex: 0 0 auto; width: 100%; max-width: 100%; }
    .hero-photo img { height: auto; max-height: 220px; object-fit: cover; }
}

@media (max-width: 760px) {
    .login-stage { padding: 16px 14px 22px; }
    .login-brandpane-inner { padding: 0; gap: 12px; }
    .program-title { font-size: 24px; }
    .program-sub { font-size: 12.5px; }
    .program-copy { font-size: 13px; }
    .program-note { font-size: 12px; }
    .feature-list { grid-template-columns: 1fr; }
    .pcard { padding: 28px 15px 15px; }
    .pcard-logo-acer { height: 46px; }
    .pcard-logo-sipl { height: 48px; }
    .login-card-col { width: 100%; max-width: 420px; }
    .login .content.login-card { padding: 22px 16px 18px; }
    .login-captcha {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }
    .login-captcha-image {
        flex: 0 0 65%;
        width: 65%;
        max-width: 65%;
        height: 42px;
    }
    .login-captcha .captcha-input {
        flex: 0 0 35%;
        width: 35%;
        max-width: 35%;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .gov-strip-line1 { font-size: 11px; letter-spacing: 0.1em; }
    .gov-strip-line2 { font-size: 10.5px; }
    .program-emblem { width: 46px; }
    .stat-value { font-size: 20px; }
    .login-heading { font-size: 23px; }
    .pcard-name { font-size: 14px; }
    .pcard-tag { white-space: normal; }
    .pcard-contact li { font-size: 12px; }
}

/* 14" laptops and typical desktop widths */
@media (min-width: 992px) and (max-width: 1366px) {
    .login-brandpane {
        min-height: 0;
        height: 100%;
        overflow: hidden;
    }
    .login-stage {
        gap: 18px;
        padding: 12px 16px;
        max-height: 100%;
    }
    .login-brandpane-inner {
        height: auto;
        margin: 0;
        padding: 0;
        gap: 8px;
        justify-content: center;
    }
    .gov-strip { padding-bottom: 8px; gap: 8px; }
    .gov-emblem { width: 34px; height: 34px; }
    .gov-strip-line1 { font-size: 11px; }
    .gov-strip-line2 { font-size: 10.5px; }
    .program-head { gap: 10px; }
    .program-emblem { width: 40px; }
    .program-title { font-size: 24px; }
    .program-sub { margin-top: 2px; font-size: 12px; }
    .program-body { gap: 8px; }
    .program-hero-row { gap: 8px; }
    .hero-photo { flex-basis: 32%; width: 32%; max-width: 180px; border-radius: 12px; }
    .program-copy { font-size: 12.5px; line-height: 1.4; }
    .program-note { font-size: 11.5px; line-height: 1.4; }
    .program-info { gap: 8px; }
    .stat-grid { gap: 6px; }
    .stat { padding: 6px 8px; border-radius: 10px; }
    .stat-value { font-size: 18px; }
    .stat-label { font-size: 9.5px; }
    .feature-list { gap: 5px 10px; grid-template-columns: 1fr 1fr; }
    .feature-list li { font-size: 12px; gap: 8px; }
    .feature-list i { width: 24px; height: 24px; flex-basis: 24px; font-size: 11px; }
    .partner-cards { padding-top: 8px; }
    .pcard { padding: 22px 12px 8px; border-radius: 12px; }
    .pcard + .pcard { margin-left: 10px; }
    .pcard-ribbon { left: 12px; font-size: 8.5px; padding: 3px 8px 4px; }
    .pcard-head { padding-bottom: 6px; margin-bottom: 6px; }
    .pcard-logo-acer { height: 34px; }
    .pcard-logo-sipl { height: 32px; }
    .pcard-name { font-size: 13px; }
    .pcard-tag { margin-top: 4px; font-size: 9.5px; }
    .pcard-contact li { font-size: 11px; }
    .pcard-contact li + li { margin-top: 3px; }
    .pcard-contact i { width: 18px; height: 18px; flex-basis: 18px; margin-right: 6px; }
    .login-card-col {
        flex: 0 0 320px;
        width: 320px;
        padding: 0;
        gap: 8px;
        background: transparent;
        box-shadow: none;
    }
    .login .content,
    .login .content.login-card {
        padding: 16px 18px 14px;
        border-radius: 16px;
        max-width: none;
    }
    .login-brand { padding-bottom: 10px; margin-bottom: 10px; gap: 10px; }
    .login-brand-mark { min-width: 42px; height: 42px; font-size: 13px; border-radius: 12px; }
    .login-heading { font-size: 20px; }
    .login-lead { margin-bottom: 10px; font-size: 12px; }
    .login .content .form-group { margin-bottom: 10px; }
    .login .content .form-control,
    .login-captcha-image {
        height: 40px;
        border-radius: 10px;
    }
    .login .content .form-control {
        padding: 8px 14px 8px 40px;
        font-size: 13.5px;
    }
    .login .btn.login-submit {
        height: 40px;
        font-size: 14px;
        border-radius: 10px;
    }
    .login-meta { padding-top: 10px !important; margin-top: 8px !important; }
    .login-credits { width: 100%; max-width: none; }
    .login-credits-line { font-size: 11px; }
    .login-copyright { font-size: 10px; }
}

@media (min-width: 992px) and (max-width: 1366px) and (max-height: 760px) {
    .login-brandpane-inner { padding: 10px 14px 8px; gap: 6px; }
    .program-title { font-size: 20px; }
    .hero-photo { max-width: 150px; }
    .pcard-contact li:first-child { display: none; }
    .login .content.login-card { padding: 12px 14px 10px; }
}
