/* Form Styling - Reusable styles for forms across the application */

.form-title {
    color: #15284B;
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    text-transform: uppercase;
}

.form-step {
    color: #15284B;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    margin-top: 0px;
}

.required-note {
   color: #C50000;
    text-align: center;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: normal;
    margin-top: 8px;
}
.section-title {
    color: #15284B;
    font-size: 18px;
    font-weight: 900;
    margin-top: 32px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.input-field {
    margin-top: 24px;
}

.form-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.required-asterisk {
    color: red;
}

.conditional-section {
    transition: opacity 0.3s ease-in-out;
}

.form-instruction {
    color: #212121;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: normal;
margin-bottom: 8px;
}

.form-label {
    color: #15284B;
font-size: 16px;
font-style: normal;
font-weight: 600;
margin-bottom: 8px;
line-height: normal;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

/* Radio button styling */
.form-check {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.form-check-label{
    color: #1A1A1A;
    font-size: 16px;
    margin-top: 2px; /* Align label with radio button */
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    flex: 1; /* Allow label to take remaining space */
}

.form-check-input {
    width: 1.5em;
    height: 1.5em;
    border: 1px solid #333; /* Darker/bolder border */
    margin-top: 0.125em;
    margin-right: 8px;
    flex-shrink: 0; /* Prevent radio button from shrinking */
}

/* Loading overlay styles */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-spinner .spinner-border {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    .form-container {
        padding: 10px;
    }
}