/* Reset and base styles */



/* Form section */
.form-section {
    background-color: #f9f9f9;
    padding: 40px 0;
}

.form-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

label {
    font-weight: bold;
}

input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

button {
    background-color: #ffb764;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
}

button:hover {
    background-color: #f38200;
}



/* Responsive design */
@media (max-width: 600px) {


    .form-section h2 {
        font-size: 1.5rem;
    }

    form {
        max-width: 100%;
    }
}



.form-group {
    margin-bottom: 15px;
    padding: 0px 15px;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    color: #333;
    box-shadow: none !important;
}

.form-control:focus {
    border-color: #aaa;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25) !important;
}

/* Loading state styles */
.ipreform.submitting .form-group {
    pointer-events: none;
    opacity: 0.7;
}

.ipreform.submitting .button {
    pointer-events: none;
}

#loading {
    display: none;
    text-align: center;
    margin-top: 10px;
}

#loading .lds-dual-ring {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

#loading .lds-dual-ring:after {
    content: " ";
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #fb6818;
    border-color: #fb6818 transparent #fb6818 transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#form_status_message {
    display: none;
    margin: 5px auto;
}

.success-icon,
.error-icon {
    display: none;
    margin: 5px auto;
    font-size: 1.2em;
    vertical-align: middle;

}

.success-icon {
    color: green;
}

.error-icon {
    color: #721c24;
}