/* Login form styles */
.login-form-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

.login-title {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e1e1e1;
}

.login-footer a {
    color: #ED1C24;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-footer a:hover {
    color: #000;
    text-decoration: none;
}

/* Error field styling */
.error-field {
    color: #d63638;
    font-size: 14px;
    margin-top: 5px;
    display: block;
    padding: 8px 12px;
    background: #fef7f7;
    border: 1px solid #d63638;
    border-radius: 4px;
}

/* Login form spacing */
.login-form .form-control {
    margin-bottom: 15px;
}

/* Remember me checkbox spacing */
.login-form .form-control:has(input[type="checkbox"]) {
    margin-bottom: 20px;
}

/* Error message spacing */
.login-form .error-field {
    margin-bottom: 15px;
}

/* Login form button styling */
.login-form input[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #ED1C24;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.login-form input[type="submit"]:hover {
    background: #000;
}

/* Forgot Password Form Styling */
.forgot-password-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

.forgot-password-description {
    text-align: center;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

/* Forgot password form button styling */
.forgot-password-form input[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #ED1C24;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 15px;
}

.forgot-password-form input[type="submit"]:hover {
    background: #000;
}

.forgot-password-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e1e1e1;
}

.forgot-password-footer a {
    color: #ED1C24;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password-footer a:hover {
    color: #000;
    text-decoration: none;
}

/* Success message styling */
.success {
    color: #28a745;
    background: #f8f9fa;
    border: 1px solid #28a745;
    border-radius: 4px;
    padding: 12px;
    margin: 10px 0;
    text-align: center;
}

/* Two-Factor Authentication Form Styling */
.two-factor-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

.two-factor-description {
    text-align: center;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

/* 2FA form button styling */
.two-factor-form input[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #ED1C24;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 15px;
}

.two-factor-form input[type="submit"]:hover {
    background: #000;
}

/* 2FA input field styling */
.two-factor-form input[type="text"]#wfls-token {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    font-family: monospace;
} 