.cover-bg {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

body {
    font-family: Poppins, sans-serif;
    background-color: #d0d0ce;
    min-height: 100vh;
}

.brand-wrapper {
    margin-bottom: 19px;
}

.brand-wrapper .logo {
    height: 37px;
}

.login-card {
    border: 0;
    border-radius: 0;
    box-shadow: 0 10px 30px 0 rgba(172, 168, 168, 0.43);
    overflow: hidden;
}

.login-card-img {
    border-radius: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.login-card .card-body {
    padding: 85px 60px 60px;
}

@media (max-width: 422px) {
    .login-card .card-body {
        padding: 35px 24px;
    }
}

.login-card-description {
    font-size: 25px;
    color: #000;
    font-weight: normal;
    margin-bottom: 23px;
}

.login-card .form-control {
    border: 1px solid #d5dae2;
    padding: 15px 25px;
    margin-bottom: 20px;
    min-height: 45px;
    font-size: 13px;
    line-height: 15;
    font-weight: normal;
}

.login-card .form-control::-webkit-input-placeholder {
    color: #919aa3;
}

.login-card .form-control::-moz-placeholder {
    color: #919aa3;
}

.login-card .form-control:-ms-input-placeholder {
    color: #919aa3;
}

.login-card .form-control::-ms-input-placeholder {
    color: #919aa3;
}

.login-card .form-control::placeholder {
    color: #919aa3;
}

.login-card .login-btn {
    padding: 13px 20px 12px;
    background-color: #000;
    border-radius: 4px;
    font-size: 17px;
    font-weight: bold;
    line-height: 20px;
    color: #fff;
    margin-bottom: 24px;
}

.login-card .login-btn:hover {
    border: 1px solid #000;
    background-color: transparent;
    color: #000;
}

.login-card .forgot-password-link {
    font-size: 14px;
    color: #919aa3;
    margin-bottom: 12px;
}

.login-card-footer-text {
    font-size: 16px;
    color: #0d2366;
}

@media (max-width: 767px) {
    .login-card-footer-text {
        margin-bottom: 24px;
    }
}

.login-card-footer-nav {
    margin-top: 10px;
}

.login-card-footer-nav a {
    font-size: 14px;
    color: #919aa3;
}

.footer-link {
    position: absolute;
    bottom: 1rem;
    text-align: center;
    width: 100%;
}


.language-switch {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

.flag {
    width: 20px;
    height: 15px;
    float: left;
    display: block;
    margin: 4px 10px 4px 0;
}

.login-image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

button#dropdownMenuButton {
    padding: 0.5rem 1rem;
}

/* Alternative login: outlined “Continue with …” style (white, border, centered icon + label) */
.login-buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    margin-top: 0.25rem;
}

.login-alt-btn {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    max-width: 100%;
    min-height: 46px;
    padding: 0.65rem 1rem;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #111827;
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
    font-family: 'Roboto', system-ui, -apple-system, sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
    line-height: 1.25;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    transition: background-color 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease, color 0.12s ease;
}

/* Font Awesome (fa-brands / fa-solid) */
.login-alt-btn__icon {
    display: inline-block;
    flex-shrink: 0;
    min-width: 1.25rem;
    text-align: center;
    font-style: normal;
    font-size: 1.125rem;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.login-alt-btn__icon.fa-brands {
    font-weight: 400;
}

.login-alt-btn__icon.fa-solid {
    font-weight: 900;
}

.login-alt-btn--google .login-alt-btn__icon {
    color: #4285f4;
}

.login-alt-btn--code .login-alt-btn__icon {
    color: #0d7377;
}


.login-alt-btn--nfc .login-alt-btn__icon {
    color: #5c4bb0;
}

.login-alt-btn__label {
    flex-shrink: 0;
    white-space: nowrap;
}

.login-alt-btn:hover {
    text-decoration: none;
    color: #0f172a;
    background-color: #f8fafc;
    border-color: #cbd5e1;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.login-alt-btn:active {
    background-color: #f1f5f9;
}

.login-alt-btn:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.overline-title-sap {
    position: relative;
    display: inline-block;
    margin-bottom: 0;
    padding-left: 0.35rem;
    padding-right: 0.25rem;
    color: #b6c6e3;
}

.overline-title {
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.2em;
    color: #8094ae;
    text-transform: uppercase;
    font-weight: 700;
    font-family: Roboto, sans-serif;
}

.overline-title-sap {
    position: relative;
    display: inline-block;
    margin-bottom: 0;
    padding-left: 0.35rem;
    padding-right: 0.25rem;
    color: #b6c6e3;
}

.overline-title-sap:before, .overline-title-sap:after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 1px;
    content: "";
    background: #b6c6e3;
}

.overline-title-sap:before, .overline-title-sap:after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 1px;
    content: "";
    background: #b6c6e3;
}

.overline-title-sap:before {
    left: -20px;
}

.overline-title-sap:after {
    left: 28px;
}

.alternative-login {
    text-align: center;
    padding-top: 0.5rem !important;
    padding-bottom: 1.5rem !important;
    width: 100%;
    max-width: 100%;
}

.alternative-login .login-buttons {
    text-align: initial;
}

.login-card .text-danger h2 {
    font-size: 15px;
}

.notification {
    display: none;
    padding: 10px;
    background: #de2918;
    border-radius: 5px;
    color: #fff;
    text-transform: uppercase;
    font-family: monospace;
    margin-bottom: 20px;

}

.notification.show {
    display: block;
}

/* SMS 2FA — 6-digit OTP */
.sms2fa-heading {
    font-size: 1.35rem;
    font-weight: 600;
    color: #111;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.sms2fa-intro {
    font-size: 0.9rem;
    color: #5c6570;
    line-height: 1.45;
    margin-bottom: 1.25rem;
}

.sms2fa-otp-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 0.5rem;
}

.sms2fa-otp {
    display: flex;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-start;
}

.sms2fa-otp .sms2fa-digit {
    flex: 1 1 0;
    min-width: 2.25rem;
    max-width: 3rem;
    height: 3rem;
    padding: 0 4px;
    margin-bottom: 0;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 10px;
    border: 1px solid #d5dae2;
    background: #fafbfc;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.sms2fa-otp .sms2fa-digit:focus {
    outline: none;
    border-color: #111;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.sms2fa-submit-btn {
    flex: 0 0 auto;
    align-self: stretch;
    padding: 0 1.25rem;
    min-height: 3rem;
    background-color: #000;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    border: 1px solid #000;
}

.sms2fa-submit-btn:hover {
    background-color: #fff;
    color: #000;
}

@media (max-width: 520px) {
    .sms2fa-otp-row {
        flex-direction: column;
    }

    .sms2fa-submit-btn {
        width: 100%;
    }

    .sms2fa-otp .sms2fa-digit {
        max-width: none;
    }
}