/* ── GUT NaturForum — E-Mail-Adresse ändern (Nutzer & Anbieter) ──────────── */

.gut-ec {
    font-family: 'DM Sans', sans-serif;
}

.gut-ec-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #4a5040;
    margin-bottom: 5px;
}

/* E-Mail-Felder = Standard-Feld (Vorname). Wrapper-Scope, damit sie die
   spezifischere Customizer-Regel „.gut-np-wrap input" / „.gut-dash-wrap input"
   schlagen (funktioniert in Nutzer-Profil UND Dashboard). */
.gut-np-wrap .gut-ec-current,   .gut-np-wrap .gut-ec-input,
.gut-dash-wrap .gut-ec-current, .gut-dash-wrap .gut-ec-input {
    width: 100%;
    height: 44px !important;                  /* Feld-Standardhöhe = Button-Höhe */
    padding: 0 14px !important;
    border: 1px solid #c0d4a0 !important;     /* grün — schlägt Theme-/Customizer-Rahmen */
    border-radius: 8px !important;
    font: normal 14px/1.4 'DM Sans', sans-serif !important;
    color: #2a2a2a !important;
    box-sizing: border-box !important;
    background: #f6f8f0 !important;            /* Feld-Hintergrund wie die Suchleiste */
}

/* Gesperrtes Feld sieht exakt aus wie die editierbaren Felder — Änderung
   läuft über „Klick hier". */
.gut-np-wrap .gut-ec-current:disabled,   .gut-np-wrap .gut-ec-input:disabled,
.gut-dash-wrap .gut-ec-current:disabled, .gut-dash-wrap .gut-ec-input:disabled {
    background: #f6f8f0 !important;
    border-color: #c0d4a0 !important;
    color: #2a2a2a !important;
    -webkit-text-fill-color: #2a2a2a !important;   /* Webkit dämpft gesperrten Text sonst grau */
    opacity: 1 !important;
    cursor: default;
}

.gut-np-wrap .gut-ec-input:focus,
.gut-dash-wrap .gut-ec-input:focus {
    outline: none !important;
    border-color: #5c7a3e !important;         /* grüner Fokus, nie blau */
    background: #fff !important;
    box-shadow: none !important;
}

/* Browser-Autofill nicht mehr blau — gleicher heller Grünton wie die Felder */
.gut-np-wrap .gut-ec-input:-webkit-autofill,
.gut-np-wrap .gut-ec-input:-webkit-autofill:hover,
.gut-np-wrap .gut-ec-input:-webkit-autofill:focus,
.gut-dash-wrap .gut-ec-input:-webkit-autofill,
.gut-dash-wrap .gut-ec-input:-webkit-autofill:hover,
.gut-dash-wrap .gut-ec-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    box-shadow: 0 0 0 1000px #fff inset !important;
    -webkit-text-fill-color: #2a2a2a !important;
    transition: background-color 9999s ease-out 0s;
}

.gut-ec-hint {
    font-size: 12px;
    color: #9aa090;
    margin: 6px 0 0;
}

/* „Klick hier" — dunkler, als Link erkennbar (ohne Unterstrich, Markenregel) */
.gut-ec-toggle {
    color: #2d4a1e;
    font-weight: 600;
    cursor: pointer;
}

.gut-ec-toggle:hover {
    color: #5c7a3e;
}

.gut-ec-box {
    margin-top: 12px;
}

.gut-ec-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;                            /* exakt so hoch wie die Eingabefelder */
    box-sizing: border-box;
    margin-top: 10px;
    padding: 0 24px;
    background: #5c7a3e;
    color: #f6f8f0;
    border: none;
    border-radius: 8px;
    font: 500 14px/1 'DM Sans', sans-serif;
    cursor: pointer;
    transition: background 0.18s;
}

.gut-ec-save:hover {
    background: #2d4a1e;
}

.gut-ec-save:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.gut-ec-msg {
    font-size: 13px;
    margin-top: 10px;
    display: none;
}

/* Warnung bleibt sichtbar, bis die neue Adresse bestätigt ist */
.gut-ec-warn {
    font-size: 12.5px;
    line-height: 1.5;
    color: #8a5a00;
    background: #fff4e6;
    border: 1px solid #f0c48a;
    border-radius: 8px;
    padding: 10px 12px;
    margin: 12px 0 0;
}

.gut-ec-warn strong {
    color: #6d4700;
}

/* Rückmeldung nach dem Bestätigungsklick */
.gut-ec-note {
    font-size: 13px;
    line-height: 1.5;
    border-radius: 8px;
    padding: 10px 12px;
    margin: 0 0 14px;
}

.gut-ec-note-ok {
    color: #3d4a2e;
    background: #f6f8f0;
    border: 1px solid #c0d4a0;
}

.gut-ec-note-err {
    color: #8a2c2c;
    background: #fbeeee;
    border: 1px solid #e2b8b8;
}
