/* ===== Notfallprofil Startseite Look ===== */

.nf-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px 26px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    max-width: 420px;
    margin: 40px auto;
    text-align: center;
}

.nf-btn-primary {
    background: #2563eb;
    color: #fff;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(37,99,235,0.25);
    transition: all .2s ease;
}

.nf-btn-primary:hover {
    background: #1e4fd6;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(37,99,235,0.35);
}

.nf-btn-secondary {
    background: #f3f4f6;
    color: #111827;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nf-btn-secondary:hover {
    background: #e5e7eb;
}


/* Step 5: Token Manager filters */
.nf-input{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  color: inherit;
  padding:8px 10px;
  border-radius:10px;
  outline:none;
}
.nf-input:focus{
  border-color: rgba(255,255,255,.28);
}

/* =========================================================
   NOTFALLINFO – KOMPLETTES ICE DESIGN (aus Customizer übernommen)
   Scope: body.nf-notfall (damit Shop/andere Seiten unberührt bleiben)
========================================================= */

body.nf-notfall { background: #f2f2f2; }

/* Route wrapper (Plugin-Routen unter /notfall/...) */
.nf-route{ padding: 10px 0 60px; }

.notfallprofil {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

/* Titel */
.notfallprofil h1,
.notfallprofil .site-title {
  text-align: center;
  font-size: 42px;
  color: #d50000;
  margin-bottom: 10px;
  font-weight: 800;
}

.notfallprofil h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #b71c1c;
  color: #ffffff;
  padding: 16px;
  font-size: 24px;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* Info-Blöcke */
.notfallprofil p {
  background: #ffffff;
  padding: 14px 16px;
  margin: 12px 0;
  border-radius: 10px;
  font-size: 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.notfallprofil p strong {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

/* Telefonnummern */
.notfallprofil a[href^="tel:"] {
  display: block;
  margin-top: 8px;
  background: #2e7d32;
  color: #ffffff;
  padding: 14px;
  border-radius: 10px;
  text-align: center;
  font-size: 22px;
  text-decoration: none;
  font-weight: 600;
}
.notfallprofil a[href^="tel:"]::before { content: "📞 "; }

/* Action Buttons */
.notfall-actions {
  margin-top: 40px;
  text-align: center;
}
.notfall-actions a {
  display: block;
  margin: 12px auto;
  max-width: 320px;
  padding: 16px;
  font-size: 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  color: #ffffff;
}
.notfall-login-link  { background: #424242; }
.notfall-edit-link   { background: #1565c0; }
.notfall-logout-link { background: #6d4c41; }
.notfall-actions a:hover { opacity: 0.9; }

/* Mobile */
@media (max-width: 600px) {
  .notfallprofil { padding: 14px; }
  .notfallprofil h2 { font-size: 22px; padding: 14px; }
  .notfallprofil p { font-size: 17px; }
  .notfall-actions a { font-size: 18px; padding: 14px; }
}

/* Zurück-Button */
.nf-back-button{
  display:block;
  max-width:320px;
  margin: 25px auto 0;
  padding: 14px 16px;
  background:#424242;
  color:#fff;
  text-align:center;
  text-decoration:none;
  font-size:18px;
  border-radius:12px;
  font-weight:700;
}
.nf-back-button:hover{ opacity:.9; }

/* Register-Seite */
.nf-register-wrap{
  max-width: 520px;
  margin: 30px auto;
  background: #fff;
  padding: 22px 22px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
.nf-register-wrap h2{
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 800;
  text-align: center;
}
.nf-register-wrap input[type="text"],
.nf-register-wrap input[type="email"],
.nf-register-wrap input[type="password"],
.nf-register-wrap input[type="text"]{
  width: 100%;
  box-sizing: border-box;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid #cfcfcf;
  background: #fafafa;
  font-size: 15px;
  margin: 10px 0;
}
.nf-register-wrap input:focus{
  outline: none;
  border-color: #1565c0;
  box-shadow: 0 0 0 2px rgba(21,101,192,.18);
  background: #fff;
}
.nf-register-wrap .nf-consent{
  font-size: 14px;
  color: #444;
  line-height: 1.4;
}
.nf-register-wrap button{
  width: 100%;
  padding: 14px 16px;
  margin-top: 14px;
  border: 0;
  border-radius: 12px;
  background: #1565c0;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
}
.nf-register-wrap button:hover{ opacity:.92; }

/* =========================================================
   NF-Forms (Login / Passwort / Konto) – hübsch wie Notfallprofil-Style
   Scope: nur innerhalb .notfallprofil
========================================================= */

.notfallprofil .nf-card.nf-login-card{
  max-width: 560px;
  text-align: left;
}

.notfallprofil .nf-card.nf-login-card h2{
  text-align: center;
}

.notfallprofil .nf-form{
  margin-top: 10px;
}

.notfallprofil .nf-form label{
  display:block;
  font-weight: 800;
  font-size: 14px;
  color: #444;
  margin-top: 14px;
}

.notfallprofil .nf-form input[type="text"],
.notfallprofil .nf-form input[type="email"],
.notfallprofil .nf-form input[type="password"],
.notfallprofil .nf-form textarea{
  width: 100%;
  box-sizing: border-box;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid #cfcfcf;
  background: #fafafa;
  font-size: 16px;
  margin-top: 6px;
}

.notfallprofil .nf-form textarea{
  resize: vertical;
}

.notfallprofil .nf-form input:focus,
.notfallprofil .nf-form textarea:focus{
  outline: none;
  border-color: #1565c0;
  box-shadow: 0 0 0 2px rgba(21,101,192,.18);
  background: #fff;
}

.notfallprofil .nf-btn{
  width: 100%;
  padding: 14px 16px;
  margin-top: 14px;
  border: 0;
  border-radius: 12px;
  background: #1565c0;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
}

.notfallprofil .nf-btn:hover{ opacity: .92; }

/* kleine Links (z.B. Passwort vergessen) */
.notfallprofil .nf-card.nf-login-card p{
  background: transparent;
  padding: 0;
  margin: 14px 0 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 16px;
}

.notfallprofil .nf-card.nf-login-card a{
  color: #1565c0;
  font-weight: 800;
  text-decoration: none;
}

.notfallprofil .nf-card.nf-login-card a:hover{ text-decoration: underline; }

.nf-last-update{
  margin-top: 20px;
  font-size: 14px;
  color: #666;
  text-align: center;
}


/* Extra spacing for primary action buttons (e.g., lost password) */
.nf-btn-mt{ margin-top:16px; }


/* =========================================================
   KONTO – FEINSCHLIFF (Plugin-Routen /notfall/konto)
========================================================= */

.nf-route-konto .nf-card-konto{
  max-width: 760px;
  margin: 10px auto 0;
  padding: 18px;
}

.nf-route-konto h2,
.nf-route-konto h3{
  margin-top: 18px;
}

.nf-route-konto p{
  margin: 10px 0;
}

/* Accordion / Details */
.nf-route-konto details.nf-acc{
  border: 1px solid #eee !important;
  border-radius: 14px !important;
  background: #fff !important;
  padding: 14px !important;
  margin-top: 12px !important;
  box-shadow: 0 4px 18px rgba(0,0,0,.05);
}

.nf-route-konto details.nf-acc > summary{
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 16px;
  font-weight: 900;
}

.nf-route-konto details.nf-acc > summary::-webkit-details-marker{ display:none; }

.nf-route-konto .nf-acc-chevron{
  font-weight: 900;
  opacity: .6;
}

.nf-route-konto details.nf-acc[open] .nf-acc-chevron{
  transform: rotate(180deg);
}

/* Forms inside konto */
.nf-route-konto input[type="text"],
.nf-route-konto input[type="email"],
.nf-route-konto input[type="password"],
.nf-route-konto textarea{
  width: 100% !important;
  box-sizing: border-box;
}

.nf-route-konto button,
.nf-route-konto .button,
.nf-route-konto input[type="submit"]{
  border-radius: 12px;
}

/* Small message boxes */
.nf-route-konto .nf-msg{
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff5f5;
  border: 1px solid #ffd5d5;
  margin: 12px 0 0;
}


/* ===== Route: Einwilligung ===== */
.notfallprofil .nf-alert{
  padding: 12px 14px;
  border-radius: 12px;
  margin: 12px 0;
  font-weight: 600;
}
.notfallprofil .nf-alert-error{
  background: #ffe9e9;
  color: #b00020;
  border: 1px solid #ffb3b3;
}


/* =========================================================
   EINWILLIGUNG (Route)
========================================================= */

.nf-route-einwilligung .nf-card.nf-login-card{
  max-width: 560px;
  text-align: left;
}

.nf-route-einwilligung .nf-card.nf-login-card h2{
  text-align: center;
}

.nf-route-einwilligung .nf-consent-row{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  font-weight: 600;
  color: #333;
}

.nf-route-einwilligung .nf-consent-row input{
  margin-top: 4px;
}

.nf-route-einwilligung .nf-muted{
  font-size: 14px;
  color: #555;
  margin-top: 12px;
}

.nf-route-einwilligung .nf-actions{
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
