﻿.error,
.message {
    text-align: center;
    margin: 10px auto 10px auto;
    color: red;
}

/* Field titles above the login inputs: same 40% column as the inputs, text left-aligned. */
.login-field-label {
    display: block;
    width: 40%;
    margin: 0 auto 4px;
    text-align: left;
    font-size: 0.975rem;
    font-weight: 600;
    color: var(--bs-body-color);
}

.password-input {
    display: flex;
    align-items: center;
    width: 40%;
    margin: 0 auto 10px !important;
}

    .password-input > .e-input-group {
        flex: 1;
        margin-right: 0px;
        display: block;
    }

.toggle-password,
.toggle-password:hover,
.toggle-password:focus,
.toggle-password:active {
    width: 32px;
    margin-left: 0px;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    color: #6b7280 !important;
    font-size: 18px;
    cursor: pointer;
}

.toggle-password:hover {
    color: #111827 !important;
}

.company-name {
    color: #00AFB5;
}

.agreements,
.information {
    color: var(--bs-gray-500);
    display: block;
    width: 40%;
    margin: 10px auto 10px auto;
    text-align: center;
}

.agreements a,
.agreements a:hover {
    text-decoration: none;
    color: var(--bs-gray-600);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.login-body {
    text-align: center;
    margin-top: 50px;
    padding: 1rem;
}

    .login-body h2 {
        font-size: 32px;
    }

    .login-body h2, 
    .login-body p {
        margin-bottom: 20px;
    }

    .login-body > .e-input-group {
        display: block;
        width: 40%;
        margin: 0 auto 10px !important;
    }

.login-btn {
    display: block;
    width: 40%;
    margin: 0px auto 20px auto;
    background-color: #00AFB5;
    border: none;
    border-radius: 4px;
    color: white;
    padding: 7px;
    font-weight: bold;
}

    .login-btn:hover,
    .login-btn:active,
    .login-btn:focus {
        background-color: rgba(0, 175, 181, 0.8);
        color: white!important;
    }

.forgot-password {
    display: block;
    width: 40%;
    margin: 10px auto 10px auto;
    text-align: left;
    font-weight: bold;
    text-decoration: none;
    color: var(--bs-body-color);
}

    .forgot-password:hover,
    .forgot-password:active {
        text-decoration: none;
        color: var(--bs-body-color);
    }

.create-new-account {
    display: block;
    width: 40%;
    margin: 10px auto 10px auto;
    text-align: center;
}

    .create-new-account > a,
    .create-new-account > a:hover {
        text-decoration: none;
        color: var(--bs-body-color);
        font-weight: bold;
    }

.resend-verification-code {
    text-align: left;
    display: block;
    width: 40%;
    margin: 10px auto 10px auto;
    text-align: left;
    text-decoration: none;
    padding-left: 0px !important;
}

.login-error-message {
    align-items: center;
    width: 40%;
    margin: 0 auto 10px !important;
}

@media (max-width: 650px) {
    .login-field-label {
        width: 100%;
    }

    .login-body > .e-input-group {
        display: block;
        width: 100%;
        margin: 0 auto 10px !important;
    }

    .login-btn {
        display: block;
        width: 100%;
        margin: 0px auto 20px auto;
    }

    .password-input {
        display: flex;
        align-items: center;
        width: 100%;
        margin: 0 auto 10px !important;
    }

    .forgot-password {
        width: 100%;
    }

    .create-new-account {
        width: 100%;
    }

    .login-error-message {
        align-items: center;
        width: 100%;
        margin: 0 auto 10px !important;
    }
}
/* ── MFA second step (challenge / forced enrollment) ───────────────────────────────────── */
.remember-device {
    text-align: left;
    margin: 0.75rem 0 0;
}

.remember-device .e-checkbox-wrapper .e-label {
    font-size: 15px;
}

.mfa-alternatives {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0.75rem 0;
}

.mfa-alternatives a {
    color: #00afb5;
    text-decoration: underline;
    cursor: pointer;
    font-size: 15px;
}

.mfa-qr {
    display: flex;
    justify-content: center;
    margin: 0.75rem 0;
    background: #fff;
    padding: 8px;
}

.mfa-manual-key { word-break: break-all; font-size: 15px; }

.mfa-recovery-codes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.mfa-recovery-codes code {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    text-align: center;
}
