/* ============================================================
   SLAP Certificate – Frontend-Formular
   ============================================================ */

/* Wrapper / Card */
.slap-cert-form-wrap {
    max-width: 540px;
    margin: 2rem auto;
    background: #ffffff;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    padding: 2rem 2.25rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    font-family: inherit;
}

/* Formular-Felder */
.slap-cert-form .slap-field {
    margin-bottom: 1.25rem;
}

.slap-cert-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    letter-spacing: 0.01em;
}

.slap-cert-form label .slap-required {
    color: #e6007d;
    margin-left: 2px;
}

.slap-cert-form input[type="text"],
.slap-cert-form input[type="email"] {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.95rem;
    border: 1.5px solid #d0d0d0;
    border-radius: 6px;
    background: #fafafa;
    color: #222;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    max-width: 100%;
}

.slap-cert-form input[type="text"]:focus,
.slap-cert-form input[type="email"]:focus {
    border-color: #e6007d;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(230, 0, 125, 0.12);
}

/* Adress-Fieldset */
.slap-cert-address {
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.25rem 1.5rem 0.5rem;
    margin: 1.5rem 0 1.25rem;
    background: #f9f9fb;
}

.slap-cert-address legend {
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
    padding: 0 6px;
    letter-spacing: 0.01em;
}

.slap-cert-address legend small {
    font-weight: 400;
    font-size: 0.8rem;
    color: #888;
    margin-left: 4px;
}

/* PLZ + Ort nebeneinander */
.slap-cert-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 0.75rem;
}

/* Trennlinie zwischen Basis-Feldern und Adresse */
.slap-cert-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 1.5rem 0;
}

/* Submit-Button */
.slap-cert-submit {
    display: inline-block;
    background-color: #e6007d;
    color: #fff;
    border: none;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: background-color 0.2s ease, transform 0.1s ease;
    margin-top: 0.5rem;
}

.slap-cert-submit:hover {
    background-color: #c4006a;
}

.slap-cert-submit:active {
    transform: scale(0.98);
}

/* Notices */
.slap-cert-notice {
    padding: 13px 16px;
    border-radius: 6px;
    margin-bottom: 1.25rem;
    font-size: 0.92rem;
    line-height: 1.5;
}

.slap-cert-notice--success {
    background: #edf7f1;
    border: 1px solid #b7e4c7;
    color: #1a6335;
}

.slap-cert-notice--error {
    background: #fdf0f3;
    border: 1px solid #f5c2ce;
    color: #7b1c2e;
}
