
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    background-color: #072AC880;
    backdrop-filter: blur(1px);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.modal-header .close {
    margin-left: 10px;
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}


.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 30px;
    max-width: 520px;
    width: 90%;
    overflow-y: auto;
}

/* Styled Inputs */
.modal-content input[type="text"],
.modal-content input[type="email"] {
    width: 100%;
    padding: 14px 20px;
    margin-top: 16px;
    border: 1px solid #E0E9FF;
    border-radius: 50px;
    background: #fff;
    font-size: 15px;
    color: #111;
    outline: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    transition: border 0.3s;
}

.modal-content input::placeholder {
    font-family: 'RegularFont', sans-serif;
    color: rgba(11, 16, 40, 0.50);
}

.g-recaptcha {
    margin-top: 18px;
}

.message {
    min-height: 32px;
    font-size: 14px;
    margin-top: 10px;
    transition: color 0.3s;
}

.message.error {
    color: #F0466E;
}

.message.success {
    color: #4DD874;
}

.loader {
    border: 2px solid #f3f3f3;
    border-top: 4px solid #072AC8;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    animation: spin 0.8s linear infinite;
    margin: 20px auto 0;
}

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

.recaptcha-container {
    display: flex;
    justify-content: center;
}

.modal-content button[type="submit"] {
    background-color: #072AC8;
    color: #fff;
    font-family: 'RegularFont', sans-serif;
    padding: 16px;
    border-radius: 999px;
    cursor: pointer;
    width: 100%;
    text-align: center;
    border: 1px solid #072AC8;
    transition: background-color 0.3s ease;
}

.modal-content button[type="submit"]:hover {
    background-color: #D2DDFF;
}

.modal-content button[type="submit"]:hover {
    background-color: #D2DDFF;
    color: #072AC8;
}

