body {
    background: linear-gradient(to bottom, #0b4b93, #1e90ff);
}

.custom-form-container {
    border: 3px solid rgba(255, 255, 255, 0.781);
    border-radius: 10px;
    background-color: #072d58; /* White with transparency */
    padding: 20px;
    box-shadow: 0 4px 8px rgba(240, 237, 237, 0.1);
    width: 100%;
    max-width: 600px;
    margin: 2rem 0;
}
.form-title {
    text-align: center;
    margin-bottom: 20px;
}
.background-body {
    /* Dark orange */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: #f1f1f1;
}

.required-label::after {
    content: " *";
    color: rgb(218, 38, 38);
}

.custom-modal-header {
    background-color: #0b4b93;
    color: white;
    padding: 15px;
    /* border-top-left-radius: 10px;
    border-top-right-radius: 10px; */
}
.custom-modal-body {
    padding: 20px;
}
.custom-modal-footer {
    background-color: #f1f1f1;
    padding: 15px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.modal-dialog-centered {
    display: flex;
    align-items: flex-start;
}

.get-location {
    color: #ffffff;
    padding: 5px 5px;
    border-radius: 5px;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    margin: 20px auto;
    width: fit-content;
}

#loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(1, 106, 204, 0.616); /* Semi-transparent background */
    text-align: center;
    z-index: 1000;
    opacity: 1; /* Fully opaque */
}

.loading-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 6px solid rgba(255, 255, 255, 0.3);
    border-top: 6px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto; /* Center the spinner horizontally */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.close-button {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    font-weight: bold;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    cursor: pointer;
    opacity: 0.5;
}

.close-button:hover {
    opacity: 1;
}

@media (max-width: 600px) {
    .custom-form-container {
        margin: 0;
    }
}
