/* RSBT Portal login hub — aligned with rsbtu.ums.fais.pk/login */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

.portal-body {
    font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(160deg, #0b3d6e 0%, #1a5f9e 45%, #f0f4f8 45%, #f7f7f7 100%);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.login-shell {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 36px 32px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 8px 28px rgba(11, 61, 110, 0.18);
}

.login-brand {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eef1f4;
}

.login-brand img {
    display: block;
    width: auto;
    height: auto;
    max-height: 96px;
    max-width: min(100%, 380px);
    object-fit: contain;
    margin: 0 auto 16px;
}

.login-brand h1 {
    font-family: Poppins, Roboto, sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #0b3d6e;
    line-height: 1.3;
}

.login-brand .tagline {
    color: #6a6d70;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

.login-brand .short-name {
    display: inline-block;
    margin-top: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0070f2;
}

.form-heading {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #32363a;
}

.form-intro {
    color: #6a6d70;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.45;
}

.login-portal-panel {
    background: #f8fafc;
    border: 1px solid #e3e8ee;
    padding: 18px 16px 16px;
    margin-bottom: 20px;
}

.login-portal-panel__title {
    font-size: 14px;
    font-weight: 600;
    color: #0b3d6e;
    margin-bottom: 8px;
}

.login-portal-panel__text {
    font-size: 13px;
    line-height: 1.5;
    color: #6a6d70;
    margin-bottom: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 16px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.btn-primary {
    background: #0070f2;
    color: #fff;
}

.btn-primary:hover {
    background: #0057d2;
    color: #fff;
}

.login-access-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    border-top: 1px solid #eef1f4;
    padding-top: 16px;
}

.login-access-list li {
    display: grid;
    gap: 2px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f3f5;
    font-size: 13px;
    line-height: 1.45;
}

.login-access-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.login-access-list strong {
    color: #32363a;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.login-access-list span {
    color: #6a6d70;
}

.login-footer {
    margin-top: 4px;
    text-align: center;
    font-size: 12px;
    color: #8a8d91;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-footer a {
    color: #0070f2;
    text-decoration: none;
}

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

.app-footer {
    flex-shrink: 0;
    background-color: #424242;
    border-top: 1px solid #616161;
    color: #ffffff;
    padding: 12px 24px;
    font-size: 13px;
    line-height: 1.5;
}

.app-footer-legal {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.app-footer-legal p {
    margin: 0;
}

.app-footer-legal p + p {
    margin-top: 6px;
}

.app-footer-compliance {
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
}

.app-footer-compliance a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
}

.app-footer-compliance a:hover {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .login-card {
        padding: 28px 20px;
    }

    .app-footer {
        padding: 10px 12px;
        font-size: 12px;
    }

    .app-footer-compliance {
        font-size: 11px;
    }
}
