﻿/* Shared section for consistent centering */
.form-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #F7EFE8; /* Light beige background for all pages */
    margin: 0;
    padding: 0;
}

.create-account-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #F7EFE8; /* Light beige background for all pages */
}

.form-container {
    width: 400px;
    padding: 20px;
    background-color: #3C3D55; /* Deep blue color from the image */
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}


.form-title {
    font-size: 24px;
    font-weight: bold;
    color: #FFFFFF; /* White text for title */
    margin-bottom: 10px;
}

.form-subtitle {
    font-size: 14px;
    color: #D1D5DB; /* Light gray for subtitle */
    margin-bottom: 20px;
}

.form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-label {
    font-size: 14px;
    color: #D1D5DB; /* Light gray for labels */
    margin-bottom: 5px;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #E2E8F0; /* Light gray border */
    border-radius: 6px;
    font-size: 14px;
    color: #2D3748; /* Dark slate for text */
    background-color: #F7EFE8; /* Light beige background for input */
}

    .form-input:focus {
        border-color: #A0AEC0; /* Slightly darker gray on focus */
        outline: none;
    }

.form-button {
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    color: #2D3748; /* Dark slate text */
    background-color: #E2D2C3; /* Beige button color */
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .form-button:hover {
        background-color: #D1C2B3; /* Darker beige on hover */
    }

.form-footer {
    margin-top: 10px;
    font-size: 12px;
}

.form-link {
    color: #CBD5E0; /* Light gray for link */
    text-decoration: none;
}

    .form-link:hover {
        color: #A0AEC0; /* Slightly darker gray on hover */
    }

.form-footer {
    margin-top: 20px;
    font-size: 14px;
}

.form-link {
    color: #D1D5DB; /* Light gray for the link */
    text-decoration: underline; /* Add underline */
    transition: color 0.3s;
}

    .form-link:hover {
        color: #A0AEC0; /* Slightly darker gray on hover */
        text-decoration: underline; /* Keep underline on hover */
    }

.login-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #F7EFE8; /* Light beige background for all pages */
}
.validation-error,
span[class="validation-error"],
.field-validation-error {
    color: #dc2626 !important;  /* Red color with !important to ensure override */
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.validation-summary-custom ul {
    list-style-type: none; /* Removes bullets */
    padding-left: 0; /* Removes default padding */
    margin: 0; /* Removes default margin */
}

.validation-summary-errors ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.error-message {
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

/* Error page styles */
.error-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.error-content {
    text-align: center;
    padding: 2rem;
}

.error-icon {
    font-size: 4rem;
    color: #dc3545;
    margin-bottom: 1.5rem;
}

.error-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
}

.error-message {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: 6px;
    padding: 1rem;
    margin: 1rem 0;
    color: #dc3545;
}

.request-id {
    margin: 1rem 0;
    color: #6c757d;
}

.request-id code {
    background-color: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

.action-buttons {
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.help-text {
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 2rem;
}
