/* Login form — matches company/contact portal forms (addcontact.css) on the Bootstrap login shell. */

.login-form {
    font-family: 'Inter', sans-serif;
}

.login-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.login-form .form-group .field-validation-valid {
    display: none;
}

.login-form-meta {
    margin-top: -8px;
    margin-bottom: 16px;
}

.login-form .forgot-link {
    color: #123159;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
}

.login-form .forgot-link:hover {
    text-decoration: underline;
}

.login-form-actions {
    margin-top: 8px;
}

.login-form-actions .btn-save {
    width: 100%;
    min-width: 0;
    height: 44px;
    font-size: 16px;
    font-weight: 400;
}

/* styles.min.css (Bootstrap theme) adds inset shadows and a different focus ring than style.css. */
.login-form .form-control {
    box-shadow: none !important;
}

.login-form .form-control:focus {
    outline: 0 !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

.login-form .form-control.input-validation-error:focus {
    border-color: #D32F2F !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.login-form .btn-save:focus {
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.25) !important;
}

.login-form .btn-save:active {
    color: #ffffff;
    background-color: #1e3a8a;
    border-color: #1e3a8a;
}
