body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
    background-size: cover;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.form-check-input[type="radio"] {
    accent-color: #0022aa;
    width: 1.2em;
    height: 1.2em;
}

.form-check {
    margin-left: 1.2em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.LoaderOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.LoadingText {
    text-align: center;
    font-size: 18px;
    color: #444;
}

.container {
    max-width: 960px;
    width: 100%;
    background-color: #ffffff99;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5em;
    position: relative;
}

.main-section {
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.text-center #imgLogo {
    background-size: contain;
}

.campaign-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.campaign-description {
    font-size: 20px;
    font-weight: normal;
    color: #555;
}

.campaign-text {
    font-size: 16px;
    color: #777;
}

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

.form-group label {
    font-weight: bold;
    font-size: 14px;
    color: #444;
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #007bff;
    outline: none;
}

.form-check-label {
    font-size: 14px;
    color: #555;
}

.form-check input {
    margin-right: 5px;
}

.submit {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s ease;
}

.submit:hover {
    background-color: #0056b3;
}

.terms {
    font-size: 12px;
    color: #666;
    text-align: center;
    line-height: 1.5;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .container {
        width: 90%;
        padding: 20px;
    }

    .campaign-title {
        font-size: 22px;
    }

    .campaign-description {
        font-size: 18px;
    }

    .campaign-text {
        font-size: 14px;
    }

    .submit-btn {
        font-size: 14px;
    }
}

#loader-overlay {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: #111;
    color: white;
    z-index: 9999;
    transition: opacity .4s ease;
}

#loader-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 64px;
    aspect-ratio: 1;
    border: 8px solid #555;
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* Form Validation Styles */
.form-control.validation-error {
    border-color: #dc3545 !important;
    background-color: #fff5f5 !important;
}

.form-control.validation-error:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.form-check-input.validation-error {
    border-color: #dc3545 !important;
    background-color: #fff5f5 !important;
}

.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    display: none;
    font-weight: normal;
}

.error-message.show {
    display: block;
}

.form-control.validation-success {
    border-color: #28a745;
    background-color: #f8fff9;
}

.form-control.validation-success:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.btn-primary {
    background-color: #007bff;
    cursor: pointer;
    opacity: 1;
}

.btn-secondary {
    background-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}