﻿body {
    background: linear-gradient(135deg, #ffe6a7, #3b82f6);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.login-form, .2fa-form {
    background-color: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

h4 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
}

label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

input.form-control, input[name="code"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

    input.form-control:focus, input[name="code"]:focus {
        border-color: #f77f00;
        outline: none;
    }

button.btn-primary, button[type="submit"] {
    background-color: #f77f00;
    color: #fff;
    border: none;
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 0.5rem;
}

    button.btn-primary:hover, button[type="submit"]:hover {
        background-color: #3b82f6;
    }

hr {
    margin: 2rem 0;
    border: none;
    border-top: 1px solid #eee;
}

.text-danger {
    color: #e11d48;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.form-check-input {
    margin-right: 0.5rem;
}

.form-text {
    font-size: 0.85rem;
    color: #6b7280;
}

.external-login button {
    margin-bottom: 0.5rem;
    background-color: #10b981;
}

    .external-login button:hover {
        background-color: #059669;
    }

.alert-danger:empty {
    display: none;
}

/* Basic styling for error containers */
.alert-danger {
    margin-bottom: 1rem;
    font-size: 1.1rem; /* Increased from 0.9rem to 1.1rem */
    color: #e11d48;
}

    /* Remove bullets from validation summary list */
    .alert-danger ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

    /* Style individual error messages */
    .alert-danger li {
        padding: 2px 0;
        font-size: 1.1rem; /* Ensuring list items also have increased font size */
    }

/* Fix spacing on validation messages */
.validation-summary-errors ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
}
