/* ==========================================================================
   FORMULAR-FELDER & BUTTON-STYLING
   ========================================================================== */

input[type="text"], input[type="email"], input[type="tel"],
input[type="number"], input[type="password"], input[type="date"],
input[type="url"], select, textarea {
    width: 100% !important;
    padding: 10px 12px !important;
    border: 1px solid #147b71 !important;
    border-radius: 6px !important;
    background-color: #fcfdfe !important;
    color: #333333 !important;
    font-family: inherit !important;
    font-size: 0.95em !important;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05) !important;
    transition: all 0.2s ease-in-out !important;
    outline: none !important;
    box-sizing: border-box !important;
}

input:focus, select:focus, textarea:focus {
    border-color: #147b71 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(20, 123, 113, 0.25) !important;
}

select {
    cursor: pointer !important;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%22%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23147b71%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px top 50% !important;
    background-size: 10px auto !important;
    padding-right: 30px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

/* VOLL-FORMULAR SUBMIT BUTTONS (z.B. LOGIN) */
input[type="submit"],
button[type="submit"],
.login-submit input[type="submit"],
#wp-submit {
    background-color: #147b71 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: bold !important;
    padding: 12px 20px !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    width: 100% !important;
    transition: background-color 0.2s ease-in-out !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
    text-shadow: none !important;
}

input[type="submit"]:hover,
button[type="submit"]:hover,
.login-submit input[type="submit"]:hover,
#wp-submit:hover {
    background-color: #0e544d !important;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3) !important;
}

/* TRIGGER-BUTTONS AUF DER INHALTSEBENE (KOMPAKT) */
.modal-btn {
    position: relative !important;
    z-index: 10 !important;
    pointer-events: auto !important;
    background-color: #147b71 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 10px 24px !important;
    font-size: 15px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.1s ease !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15) !important;
    margin: 10px auto !important;
    box-sizing: border-box !important;
    width: auto !important;
}

.modal-btn:hover {
    background-color: #0e544d !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

/* SUBMIT-BUTTONS INNERHALB VON POPUPS (BREIT) */
.oerv-modal-content button[type="submit"],
.oerv-modal-content .submit-btn,
.kurs-modal-content .modal-btn,
form .submit-btn,
.modal-btn-group a,
.modal-btn-group button {
    width: 100% !important;
    margin-top: 15px !important;
}