/**
 * SELINA – USER REGISTER V3 CSS
 */

/* Container für allgemeine Fehlermeldungen (oben im Formular) */
.selina-errors {
    color: #c00;
    margin-bottom: 25px; /* Etwas mehr Abstand nach unten */
    padding: 15px;
    background-color: #fff5f5;
    border-left: 4px solid #c00;
    list-style: none;
    font-weight: 500;
}

/* Fehlermeldungen direkt unter den Eingabefeldern */
.selina-field-error {
    margin-top: 8px; 
    margin-bottom: 20px; /* Erhöht von 12px auf 20px für mehr Abstand zum nächsten Feld */
    color: #c00;
    font-size: 0.95em;
    min-height: 1.2em;
    font-weight: 500;
    line-height: 1.3;
}

/* Status bei ungültiger Eingabe (roter Rahmen) */
.is-invalid {
    border-color: #c00 !important;
    outline-color: #c00 !important;
}

/* Checkbox Bereich */
.selina-checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0 25px 0; /* Mehr Abstand nach unten zum Turnstile Widget */
    font-size: 14px;
}

/* --- BUTTON STYLING --- */

/* Den Registrieren-Button vergrößern */
.selina-form .elementor-button.selina-submit-button {
    display: block;
    width: 100%; 
    height: auto !important;
    padding: 20px 40px !important; 
    font-size: 18px !important; 
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px; 
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 65px; 
}

/* Hover-Effekt für den Button */
.selina-form .elementor-button.selina-submit-button:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Abstand für das Turnstile Widget */
.cf-turnstile {
    margin: 20px 0 35px 0 !important; /* Erhöhter Abstand nach unten (35px) zum Registrieren-Button */
}

/* Optimierung für mobile Endgeräte */
@media (max-width: 767px) {
    .selina-form .elementor-button.selina-submit-button {
        padding: 15px 25px !important;
        font-size: 16px !important;
    }
}