/* .pc-nl-trigger: Optik kommt jetzt zentral aus pages.css
   (.pc-topbar-actions) - hier bewusst NICHT mehr definiert, sonst
   ueberschreibt dieses spaeter geladene CSS die gemeinsame Optik.
   Optisch an static/donate/donate.css angeglichen (dunkles Modal) -
   Zahlungs-/Fortschrittslogik betrifft nur Donate. Das hochgeladene
   Bild ist Hintergrund des Modals (--pc-nl-bg unten), NICHT Inhalt
   des Trigger-Buttons. */

.pc-nl-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
}

/* Hintergrundbild schwach/dunkel hinter dem Inhalt - der Verlauf liegt
   UEBER dem Bild, damit Text/Formular trotzdem gut lesbar bleiben
   (gleiches Muster wie #pc-donate-form-view in donate.css). */
.pc-nl-modal {
    background-color: #0d1626;
    background-image: linear-gradient(rgba(13,22,38,0.94), rgba(13,22,38,0.94)), var(--pc-nl-bg, none);
    background-size: cover;
    background-position: center;
    color: #f0f3f8;
    border-radius: 14px;
    padding: 0;
    max-width: 380px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(74,158,255,0.15);
}
.pc-nl-modal-inner { padding: 28px 25px 25px; }

.pc-nl-close {
    position: absolute; top: 14px; right: 14px;
    border: none; background: rgba(255,255,255,0.08); color: #f0f3f8;
    width: 30px; height: 30px; border-radius: 50%;
    font-size: 1rem; cursor: pointer; z-index: 2;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s;
}
.pc-nl-close:hover { background: rgba(255,255,255,0.18); }

.pc-nl-modal-inner h2 { margin: 0 0 6px; font-size: 1.35rem; color: #fff; }
.pc-nl-modal-inner p { margin: 0 0 16px; color: #b8c2d4; font-size: .92rem; }

.pc-nl-modal input {
    width: 100%; box-sizing: border-box; margin: 6px 0; padding: 10px 12px;
    border: 1px solid rgba(255,255,255,0.15); border-radius: 8px;
    background: rgba(255,255,255,0.05); color: #f0f3f8; font-size: .92rem;
}
.pc-nl-modal input::placeholder { color: #7a869c; }
.pc-nl-modal input:focus {
    outline: none; border-color: #4a9eff; background: rgba(74,158,255,0.08);
}

.pc-nl-submit {
    width: 100%; margin-top: 12px; padding: 13px;
    background: linear-gradient(135deg, #4a9eff, #2f6fed); color: #fff; border: none; border-radius: 8px;
    font-size: 1rem; font-weight: 600; cursor: pointer;
    box-shadow: 0 6px 18px rgba(47,111,237,0.35);
    transition: filter .15s;
}
.pc-nl-submit:hover { filter: brightness(1.08); }
.pc-nl-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.pc-nl-message { text-align: center; font-size: 0.9rem; min-height: 1.2em; margin-top: 10px; color: #b8c2d4; }
.pc-nl-hint { text-align: center; font-size: 0.78rem; color: #7a869c; margin-top: 8px; }
