/* Arbeiterring Sitepackage - Form Styles */

/* Form sections */
#application-form h4 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2001a;
    color: #333;
}

/* Form rows spacing */
.form-row {
    margin-bottom: 0.5rem;
}

/* Required field indicator */
label .required,
label:has(+ .form-control[required])::after {
    color: #e2001a;
}

/* Checkbox styling */
.form-check {
    padding-top: 0.5rem;
}

/* File upload area */
.filepond--root {
    margin-bottom: 0;
}

/* Honeypot field - hide from view */
.new-mail {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

/* Submit button styling */
#application-submit {
    background-color: #e2001a;
    border-color: #e2001a;
    padding: 0.75rem 2rem;
}

#application-submit:hover {
    background-color: #b8001a;
    border-color: #b8001a;
}

/* Error messages */
.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Info messages */
#upload-message,
#required-message {
    color: #6c757d;
    font-size: 0.875rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .form-group {
        margin-bottom: 1rem;
    }

    #application-form h4 {
        font-size: 1.1rem;
    }
}
