/* com_notfellprofile 1.2.5 – gemeinsame Designlogik direkt aus Vorsorgevollmacht 1.0.34 */
/* ===== 1.2.5: gemeinsame Regeln 1:1 nach Vorsorgevollmacht 1.0.34 ===== */
/* com_vorsorgevollmachtgenerator 1.0.20
 * Einheitliches Frontend nach FAQ-/Tierprofil-Design.
 * Typografie kommt aus dem Joomla-Template; alle wichtigen Abstände sind über Komponentenoptionen steuerbar.
 */
.nfp-wrap,
.nfp-wrap *,
.nfp-wrap *::before,
.nfp-wrap *::after{box-sizing:border-box}
.nfp-wrap{font-family:inherit!important}
.nfp-wrap input,.nfp-wrap textarea,.nfp-wrap select,.nfp-wrap button,.nfp-wrap summary,.nfp-wrap a{font-family:inherit!important}

/* Überschrift links, Erstellen-Button rechts; Inline-Regeln im Layout sichern dies zusätzlich gegen Template-Overrides ab. */
.nfp-create-wrap{box-sizing:border-box!important;display:flex!important;flex:0 0 auto!important;align-items:flex-start!important;justify-content:flex-end!important;width:auto!important;max-width:none!important;min-width:0!important;margin:0 0 10px auto!important;padding:0!important;text-align:right!important}
.nfp-create-profile{display:inline-flex!important;flex:0 0 auto!important;width:auto!important;float:none!important;margin:0!important;white-space:nowrap!important;font-weight:400!important}

/* Normale Aktionsbuttons: Farben und Grunddesign bleiben beim Template. */
.nfp-wrap .btn{font-family:inherit!important;font-size:var(--nfp-button-size,inherit)!important;line-height:1.2!important;padding:var(--nfp-button-pad-top,10px) var(--nfp-button-pad-right,18px) var(--nfp-button-pad-bottom,10px) var(--nfp-button-pad-left,18px)!important}

/* Übersicht wie beim Tierprofil. */
.nfp-profile-list{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:var(--nfp-list-gap,10px);margin:0 0 var(--nfp-list-bottom,40px)!important;padding:0}
.nfp-profile-row{width:100%;min-width:0;margin:0;padding:var(--nfp-list-pad-top,5px) var(--nfp-list-pad-right,5px) var(--nfp-list-pad-bottom,5px) var(--nfp-list-pad-left,15px);border:0;border-radius:var(--bs-border-radius,.375rem);background:#E9F0FC;box-shadow:none}
.nfp-profile-row h1{font-family:inherit!important;font-size:inherit!important;font-weight:600;margin:0 0 7px;padding:0}
.nfp-profile-actions{display:flex;align-items:center;flex-wrap:wrap;gap:0;font-family:inherit}
.nfp-profile-actions>a,.nfp-action-link{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;border:0;background:transparent;padding:0;margin:0;color:inherit;font:inherit;line-height:inherit;text-decoration:none;cursor:pointer}
.nfp-profile-actions .nfp-action-link{appearance:none!important;-webkit-appearance:none!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;margin:0!important;color:inherit!important;font-family:inherit!important;font-size:inherit!important;font-style:normal!important;font-weight:400!important;line-height:inherit!important;text-transform:none!important;letter-spacing:normal!important}
.nfp-profile-actions>a:hover,.nfp-profile-actions>a:focus,.nfp-action-link:hover,.nfp-action-link:focus{text-decoration:underline}
.nfp-profile-actions>span{display:inline-block;margin:0 10px;opacity:.55}
.nfp-inline-form{display:inline;margin:0;padding:0}

.nfp-empty-state p{margin:0}

/* 1.2.113: bereinigtes Radio-Accordion ohne Bootstrap-/Details-Altlogik. */
.nfp-accordion-list{overflow-anchor:none!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;max-width:100%!important;min-width:0!important;gap:var(--nfp-accordion-gap,15px)!important;margin:0 0 var(--nfp-accordion-list-bottom,40px)!important;padding:0!important}
.nfp-accordion-item{overflow-anchor:none!important;display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;border-style:solid!important;border-width:var(--nfp-accordion-border-width,1px)!important;border-color:var(--nfp-accordion-border,#D5D7E0)!important;border-radius:var(--nfp-accordion-radius,5px)!important;background:var(--nfp-accordion-closed,#FFFFFF)!important;background-image:none!important;box-shadow:none!important;outline:0!important;overflow:hidden!important}
.nfp-accordion-summary{-webkit-appearance:none!important;appearance:none!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;float:none!important;position:relative!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;height:auto!important;margin:0!important;padding:var(--nfp-accordion-pad-top,16px) calc(var(--nfp-accordion-pad-right,22px) + 30px) var(--nfp-accordion-pad-bottom,16px) var(--nfp-accordion-pad-left,22px)!important;border:0!important;border-radius:0!important;background:var(--nfp-accordion-closed,#FFFFFF)!important;background-image:none!important;color:#111111!important;font-family:inherit!important;font-size:var(--nfp-accordion-heading-size,18px)!important;font-style:normal!important;font-weight:700!important;line-height:1.35!important;text-align:left!important;text-decoration:none!important;text-transform:none!important;letter-spacing:normal!important;text-shadow:none!important;white-space:normal!important;cursor:pointer!important;box-shadow:none!important;filter:none!important;transform:none!important;overflow:hidden!important;user-select:none!important;-webkit-user-select:none!important}
.nfp-accordion-summary::before{content:none!important;display:none!important}
.nfp-accordion-summary::after{content:"⌄"!important;display:block!important;position:absolute!important;right:var(--nfp-accordion-pad-right,22px)!important;bottom:9px!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#555!important;font-family:inherit!important;font-size:15px!important;font-style:normal!important;font-weight:400!important;line-height:1!important;opacity:.62!important;transform:none!important;transition:opacity .15s ease!important;pointer-events:none!important}
.nfp-accordion-summary:hover,.nfp-accordion-summary:active{border:0!important;background:var(--nfp-accordion-closed,#FFFFFF)!important;background-image:none!important;color:#111111!important;box-shadow:none!important;filter:none!important;transform:none!important;text-decoration:none!important}
.nfp-accordion-summary:focus-visible{outline:2px solid var(--nfp-accordion-border,#D5D7E0)!important;outline-offset:-3px!important}
.nfp-accordion-content{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;border-top-style:solid!important;border-top-width:var(--nfp-accordion-border-width,1px)!important;border-top-color:var(--nfp-accordion-border,#D5D7E0)!important;border-radius:0!important;background:var(--nfp-accordion-content,#FFFFFF)!important;background-image:none!important;color:#333333!important;box-shadow:none!important;overflow:hidden!important}
.nfp-accordion-inner{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:var(--nfp-content-pad-top,16px) var(--nfp-content-pad-right,22px) var(--nfp-content-pad-bottom,16px) var(--nfp-content-pad-left,22px)!important;border:0!important;background:transparent!important;color:#333333!important;font-family:inherit!important;font-style:normal!important;font-weight:400!important;line-height:1.55!important}
.nfp-step-intro{width:100%;margin:0 0 var(--nfp-intro-bottom,26px)!important;padding:0;line-height:inherit;font-family:inherit!important}
.nfp-step-intro>:first-child{margin-top:0!important}.nfp-step-intro>:last-child{margin-bottom:0!important}
.nfp-step-intro p,.nfp-step-intro div,.nfp-step-intro span,.nfp-step-intro li{font-family:inherit!important;font-size:inherit!important;color:inherit!important}
.nfp-accordion-radio{position:absolute!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.nfp-accordion-radio:not(:checked)~.nfp-radio-panel{display:none!important}
.nfp-accordion-radio:checked~.nfp-radio-panel{display:block!important}
.nfp-accordion-radio:checked+.nfp-accordion-summary,.nfp-accordion-radio:checked+.nfp-accordion-summary:hover,.nfp-accordion-radio:checked+.nfp-accordion-summary:focus,.nfp-accordion-radio:checked+.nfp-accordion-summary:active{background:var(--nfp-accordion-open,#E9F0FC)!important;background-image:none!important;color:#111111!important}
.nfp-accordion-radio:checked+.nfp-accordion-summary::after{content:"⌃"!important;opacity:.72!important}
.nfp-accordion-radio:focus-visible+.nfp-accordion-summary{outline:2px solid var(--nfp-accordion-border,#D5D7E0)!important;outline-offset:-3px!important}
.nfp-radio-scroll-tail{display:block!important;width:1px!important;max-width:1px!important;margin:0!important;padding:0!important;border:0!important;pointer-events:none!important;visibility:hidden!important}

/* Felder wie im Tierprofil: einspaltig, 6 px Abstand, jedes zweite Feld #E9F0FC. */
.nfp-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;row-gap:var(--nfp-field-gap,6px)!important;width:100%;min-width:0;margin:0;padding:0}
.nfp-field,.nfp-field-card{box-sizing:border-box!important;width:100%!important;min-width:0!important;margin:0!important;padding:var(--nfp-field-pad-top,6px) var(--nfp-field-pad-right,10px) var(--nfp-field-pad-bottom,6px) var(--nfp-field-pad-left,10px)!important;border:0!important;border-radius:0!important;background:var(--nfp-field-bg,#FFFFFF)!important;box-shadow:none!important}
.nfp-field.nfp-field-alt,.nfp-field-card.nfp-field-alt{background:var(--nfp-field-alt-bg,#E9F0FC)!important}
.nfp-field[hidden],.nfp-field-card[hidden]{display:none!important}
.nfp-field label,.nfp-label{display:block!important;font-family:inherit!important;font-size:inherit!important;line-height:inherit!important;font-weight:600!important;margin:0 0 var(--nfp-label-bottom,3px)!important;padding:0!important}
.nfp-readonly{white-space:pre-wrap;font-family:inherit!important}



/* Direkte Rückmeldung innerhalb der Komponente, unabhängig von Joomla-Systemmeldungen. */
.nfp-field.nfp-field-invalid{outline:1px solid var(--bs-danger,#b02a37)!important;outline-offset:-1px}

/* Unter Frontend-Aktionsbuttons einheitlich 10 px. */
.nfp-form-actions,.nfp-detail-actions{display:flex!important;align-items:center!important;flex-wrap:wrap!important;column-gap:0!important;row-gap:0!important;margin:var(--nfp-action-top,20px) 0 var(--nfp-action-bottom,10px)!important;padding:0!important}
.nfp-form-actions>*,.nfp-detail-actions>*{margin:0!important}
.nfp-form-actions>*+*,.nfp-detail-actions>*+*{margin-left:var(--nfp-action-gap,25px)!important}
.nfp-cancel-link{display:inline!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important;font:inherit!important;line-height:inherit!important;text-decoration:none!important;cursor:pointer!important}
.nfp-form-actions>.nfp-cancel-link,.nfp-detail-actions>.nfp-cancel-link{margin-left:var(--nfp-action-gap,25px)!important}
.nfp-cancel-link:hover,.nfp-cancel-link:focus{text-decoration:underline!important}

/* Löschdialog */
.nfp-delete-overlay{display:none!important;position:fixed!important;inset:0!important;z-index:99999!important;align-items:center!important;justify-content:center!important;padding:20px!important}
.nfp-delete-overlay:target{display:flex!important}
.nfp-delete-backdrop{position:absolute!important;inset:0!important;background:rgba(0,0,0,.45)!important}
.nfp-delete-dialog{position:relative!important;z-index:2!important;width:min(560px,calc(100vw - 32px))!important;max-height:calc(100vh - 40px)!important;overflow:auto!important;background:#fff!important;padding:24px!important;border-radius:var(--bs-border-radius,.375rem)!important;box-shadow:0 18px 60px rgba(0,0,0,.28)!important}
.nfp-delete-dialog .nfp-page-heading{margin-top:0!important}

.nfp-guest-login{margin-bottom:var(--nfp-list-bottom,40px)}
.nfp-guest-login-text{width:100%;max-width:900px;font-family:inherit!important;line-height:inherit}
.nfp-guest-login-text>:first-child{margin-top:0!important}.nfp-guest-login-text>:last-child{margin-bottom:0!important}
.nfp-guest-login-text p,.nfp-guest-login-text div,.nfp-guest-login-text span,.nfp-guest-login-text li{font-family:inherit!important;font-size:inherit!important}

@media(max-width:767.98px){
  .nfp-create-wrap{display:flex!important;flex:0 0 auto!important;justify-content:flex-end!important;margin:0 0 10px auto!important}
  .nfp-create-profile{display:inline-flex!important;width:auto!important;margin:0!important}
  .nfp-form-actions>*+*,.nfp-detail-actions>*+*{margin-left:var(--nfp-action-gap,25px)!important}
}



/* Tierprofil-spezifische Ergänzungen. Diese Regeln verändern keine gemeinsamen
   Designparameter der Vorsorgevollmacht. */
:root{--nfp-primary:#1c5aa6;--nfp-muted:#657385;--nfp-text:#243447}
.nfp-profile-form{width:100%!important;max-width:none!important;font-family:inherit!important}
.nfp-profile-top{box-sizing:border-box;display:flex;align-items:flex-start;justify-content:space-between;gap:24px;width:100%;max-width:none;margin:0 0 28px}
.nfp-profile-photo-slot{box-sizing:border-box;flex:0 0 120px;width:120px;height:120px;max-width:120px;max-height:120px;margin-left:auto;display:flex;align-items:flex-start;justify-content:flex-end;overflow:hidden;background:transparent;border-radius:var(--bs-border-radius,.375rem)}
.nfp-profile-photo-slot[hidden]{display:none!important}
.nfp-profile-photo{display:block;width:auto;height:auto;max-width:120px;max-height:120px;object-fit:contain;object-position:right top;margin-left:auto;border:0;border-radius:inherit}
.nfp-required-note{margin:0 0 20px!important}
.nfp-remove{display:block!important;margin-top:8px!important;font-weight:400!important}
.nfp-readonly-value{font-family:inherit!important;font-size:inherit!important;line-height:inherit!important;white-space:normal!important;overflow-wrap:anywhere!important}
.nfp-simple-link{display:inline!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;color:inherit!important;font:inherit!important;line-height:inherit!important;text-decoration:none!important;cursor:pointer!important}
.nfp-simple-link:hover,.nfp-simple-link:focus{text-decoration:underline!important}
.nfp-detail-footer-nav{display:block!important;margin:20px 0 40px!important}
.nfp-page-bottom-space{display:block!important;width:100%!important;height:40px!important;min-height:40px!important;clear:both!important}
.nfp-dialog-actions{display:flex!important;align-items:center!important;flex-wrap:wrap!important;column-gap:0!important;row-gap:0!important;margin:var(--nfp-action-top,20px) 0 var(--nfp-action-bottom,10px)!important;padding:0!important}
.nfp-dialog-actions>*{margin:0!important}
.nfp-dialog-actions>*+*{margin-left:var(--nfp-action-gap,25px)!important}
.nfp-dialog-actions>.nfp-cancel-link{margin-left:var(--nfp-action-gap,25px)!important}

/* Öffentliche Suche: Suchablauf und Suchlayout bleiben wie bisher. */
.nfp-public-results{max-width:1120px!important;margin:0 auto!important;padding:0!important}
.nfp-public-results .nfp-manage-head{margin-bottom:30px!important}
.nfp-public-results .nfp-profile-list{margin-bottom:40px!important}
.nfp-public-search{width:100%;margin:0 0 40px}

.nfp-search-intro{display:block!important;margin:0 0 40px!important;padding:0!important;clear:both!important}
.nfp-search-intro>:first-child{margin-top:0!important}
.nfp-search-intro>:last-child{margin-bottom:0!important}
.nfp-search-form{display:block!important;width:100%!important;margin:0!important;padding:0!important}
.nfp-search-fields{display:block!important;width:100%!important}
.nfp-search-field{display:block!important;box-sizing:border-box;width:var(--nfp-search-field-width,140px);max-width:100%}
.nfp-search-field label{display:block;margin:0 0 4px;font:inherit;font-weight:600}
.nfp-search-field .form-control{box-sizing:border-box;width:100%;max-width:100%;margin:0}
.nfp-search-submit{display:block!important;width:100%!important;margin:20px 0 10px!important;padding:0!important;clear:both!important}
.nfp-search-submit .btn{white-space:nowrap;margin:0!important}
.nfp-search-inline-warning,.nfp-search-notice{width:100%;margin:12px 0 0}
.nfp-search-inline-warning[hidden]{display:none!important}
@media(max-width:767.98px){
  .nfp-profile-top{gap:16px!important}
  .nfp-profile-photo-slot{flex-basis:110px!important;width:110px!important;height:110px!important}
  .nfp-profile-photo{max-width:110px!important;max-height:110px!important}
}
@media(max-width:520px){.nfp-search-field{width:100%}.nfp-search-submit{width:100%!important}.nfp-search-submit .btn{width:100%}}


/* Frontend-Meldungen: immer oben innerhalb der Tierprofil-Komponente, keine Popup-Ausgabe. */
.nfp-inline-messages{display:block;width:100%;margin:0 0 20px!important;padding:0!important;clear:both}
.nfp-inline-messages[hidden]{display:none!important}
.nfp-inline-message{display:block;width:100%;margin:0 0 10px!important}
.nfp-inline-message:last-child{margin-bottom:0!important}


/* 1.2.11: Bearbeiten-Ansicht – Tierbild nicht mehr im Kopfbereich, sondern direkt über dem ersten Pflichtfeld. */
.nfp-edit-photo-slot{display:flex!important;float:none!important;clear:both!important;margin:0 0 16px auto!important}
.nfp-edit-photo-slot[hidden]{display:none!important}

/* 1.2.20: Gespeicherten Zustand von Tierbild/PDF direkt im jeweiligen Upload-Feld sichtbar machen. */
.nfp-upload-state{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:6px 10px!important;width:100%!important;min-height:40px!important;margin:0 0 8px!important;padding:8px 10px!important;border:1px solid var(--nfp-accordion-border,#D5D7E0)!important;border-radius:var(--bs-border-radius,.375rem)!important;background:#FFFFFF!important;font-family:inherit!important;line-height:1.35!important}
.nfp-field-alt .nfp-upload-state{background:#FFFFFF!important}
.nfp-upload-state.is-present{border-width:2px!important}
.nfp-upload-state-label{font-weight:400!important}
.nfp-upload-state-value{font-weight:700!important}
.nfp-upload-state-link{margin-left:auto!important;white-space:normal!important}
@media(max-width:620px){.nfp-upload-state-link{width:100%!important;margin-left:0!important}}


/* 1.2.21: Sichtbar-/Ausblenden-Auge für PIN- und Passwort-Eingaben. Die sichtbaren
   Felder bleiben technisch neutrale Textfelder, damit Passwortmanager sie nicht
   unnötig als Webseiten-Login behandeln. */
.nfp-secret-control{position:relative!important;display:block!important;width:100%!important;max-width:100%!important}
.nfp-secret-control>.nfp-secret-input{box-sizing:border-box!important;width:100%!important;padding-right:44px!important}
.nfp-secret-input.is-masked{-webkit-text-security:disc!important;text-security:disc!important}
.nfp-secret-toggle{position:absolute!important;top:50%!important;right:5px!important;transform:translateY(-50%)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;margin:0!important;padding:5px!important;border:0!important;border-radius:4px!important;background:transparent!important;color:currentColor!important;line-height:1!important;cursor:pointer!important;z-index:2!important}
.nfp-secret-toggle:hover,.nfp-secret-toggle:focus{background:rgba(0,0,0,.06)!important}
.nfp-secret-eye{display:block!important;width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.nfp-secret-eye[hidden]{display:none!important}

/* 1.2.26: PIN in read-only views stays masked until the eye is clicked. */
.nfp-readonly-secret{min-height:34px!important}
.nfp-readonly-secret>.nfp-pin-readonly-value{display:block!important;box-sizing:border-box!important;width:100%!important;min-height:34px!important;padding-right:44px!important;line-height:34px!important;letter-spacing:normal!important}

/* 1.2.37 – Frontend 1:1 an Kartenmanagement angeglichen. */
:root{--nfp-primary:#053E92;--nfp-muted:#657385;--nfp-text:#243447}
.nfp-create-wrap{display:flex!important;flex:0 0 auto!important;align-items:flex-start!important;justify-content:flex-end!important;width:auto!important;max-width:none!important;min-width:0!important;margin:0 0 10px auto!important;padding:0!important;text-align:right!important}
.nfp-create-profile{display:inline-flex!important;flex:0 0 auto!important;width:auto!important;float:none!important;margin:0!important;white-space:nowrap!important;font-weight:400!important}
.nfp-profile-list{margin-bottom:var(--nfp-list-bottom,60px)!important}
.nfp-profile-row{padding:var(--nfp-list-pad-top,10px) var(--nfp-list-pad-right,10px) var(--nfp-list-pad-bottom,10px) var(--nfp-list-pad-left,10px)!important;border-radius:var(--bs-border-radius,.375rem)!important;background:#E9F0FC!important}
.nfp-profile-row h1,.nfp-profile-row h2{font-family:inherit!important;font-weight:600!important;margin:0 0 7px!important;padding:0!important}
.nfp-accordion-list{margin-bottom:var(--nfp-accordion-list-bottom,60px)!important}
.nfp-form-actions,.nfp-detail-actions,.nfp-dialog-actions{gap:var(--nfp-action-gap,25px)!important;margin:var(--nfp-action-top,20px) 0 var(--nfp-action-bottom,10px)!important}
.nfp-form-actions>*+*,.nfp-detail-actions>*+*,.nfp-dialog-actions>*+*{margin-left:0!important}
.nfp-form-actions>.nfp-cancel-link,.nfp-detail-actions>.nfp-cancel-link,.nfp-dialog-actions>.nfp-cancel-link{margin-left:0!important}
.nfp-detail-footer-nav{margin:20px 0 60px!important}
.nfp-page-bottom-space{height:60px!important;min-height:60px!important}
.nfp-guest-login{margin-bottom:var(--nfp-list-bottom,60px)!important}
.nfp-public-results{max-width:none!important;margin:0!important;padding:0!important}
.nfp-public-results .nfp-manage-head{margin-bottom:30px!important}
.nfp-public-results .nfp-profile-list{margin-bottom:var(--nfp-list-bottom,60px)!important}
.nfp-public-search{width:100%;margin:0 0 60px!important}
.nfp-search-intro{display:block!important;margin:0 0 20px!important;padding:0!important;clear:both!important}
.nfp-search-submit{display:block!important;width:100%!important;margin:20px 0 10px!important;padding:0!important;clear:both!important}
.nfp-field,.nfp-field-card{padding:var(--nfp-field-pad-top,6px) var(--nfp-field-pad-right,10px) var(--nfp-field-pad-bottom,6px) var(--nfp-field-pad-left,10px)!important}

.nfp-profile-top{margin:0 0 20px!important}
.nfp-required-note{margin:0 0 20px!important}
.nfp-step-intro{margin-bottom:20px!important}
@media(max-width:767.98px){
  .nfp-create-wrap{margin-top:20px!important;margin-right:0!important;margin-bottom:10px!important;margin-left:0!important}
}


/* 1.2.40 – einheitlicher Seitenkopf wie im Kartenmanagement.
   Typografie bleibt beim Joomla/Helix-Template; nur der fehlende Inhaltsabstand wird vereinheitlicht. */
/* Auf Detailseiten mit Bild steuert die gemeinsame Kopfzeile den Abstand zum Inhalt. */
/* Die Übersichtsseite besitzt zusätzlich den Erstellen-Button; dort bleibt der vorhandene Kopfzeilen-Abstand maßgeblich. */
/* Portable Tierprofil export/import */
.nfp-import-form{box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px 15px!important;align-items:end!important;width:100%!important;margin:0 0 30px!important;padding:14px!important;background:#E9F0FC!important;border:0!important;border-radius:5px!important}
.nfp-import-form>label{grid-column:1/-1!important;margin:0!important;padding:0!important}
.nfp-import-form>.form-control{margin:0!important;min-width:0!important}
.nfp-import-note{grid-column:1/-1!important;margin:0!important;padding:0!important}
@media (max-width:700px){.nfp-import-form{grid-template-columns:1fr!important}.nfp-import-form>label,.nfp-import-note{grid-column:1!important}.nfp-import-form>.btn{justify-self:start!important}}








.nfp-profile-top{margin-bottom:20px!important}

/* 1.2.74 – Tierschutzorganisationen / Pflegestellen */
.nfp-caregiver-page,.nfp-changes-page,.nfp-caregiver-list-page,.nfp-caregiver-profile-page{display:block}
.nfp-caregiver-card,.nfp-change-card{border:1px solid #d5d7e0;border-radius:5px;padding:20px;margin:0 0 18px;background:#fff}
.nfp-caregiver-card h2,.nfp-change-card h2{margin:0 0 12px;font-size:18px}
.nfp-caregiver-card h3,.nfp-rights-group h3{margin:18px 0 8px;font-size:16px}
.nfp-muted{font-size:.92em;opacity:.75;margin-top:3px}
.nfp-caregiver-assignments{display:grid;gap:12px}
.nfp-caregiver-assignment{display:grid;grid-template-columns:minmax(180px,1fr) minmax(260px,2fr) auto;gap:10px;align-items:end;border-top:1px solid #e5e7eb;padding-top:12px}
.nfp-caregiver-assignment:first-child{border-top:0;padding-top:0}
.nfp-inline-form{display:flex;gap:8px;align-items:end}
.nfp-inline-form .form-control{min-width:220px}
.nfp-rights-group{border-top:1px solid #e5e7eb;padding-top:5px;margin-top:14px}
.nfp-rights-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,280px);gap:15px;align-items:center;padding:7px 0}
.nfp-change-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:12px}
.nfp-change-head p{margin:0}
.nfp-change-batch-actions,.nfp-change-actions{display:flex;gap:8px;flex-wrap:wrap}
.nfp-change-batch-actions form,.nfp-change-actions form{margin:0}
.nfp-change-row{display:grid;grid-template-columns:minmax(140px,.8fr) minmax(180px,1fr) minmax(180px,1fr) auto;gap:12px;align-items:start;border-top:1px solid #e5e7eb;padding:14px 0}
.nfp-change-label{display:block;font-size:.82em;opacity:.7;margin-bottom:3px}
.nfp-change-value{white-space:normal;overflow-wrap:anywhere}
.nfp-caregiver-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.nfp-caregiver-data,.nfp-readonly-value{border:1px solid #e1e3e8;border-radius:5px;padding:10px;background:#fff}
.nfp-caregiver-data strong{display:block;margin-bottom:5px}
@media(max-width:768px){.nfp-caregiver-assignment,.nfp-rights-row,.nfp-change-row,.nfp-caregiver-data-grid{grid-template-columns:1fr}.nfp-change-head{display:block}.nfp-change-batch-actions{margin-top:10px}.nfp-inline-form{display:grid;grid-template-columns:1fr}.nfp-inline-form .form-control{min-width:0;width:100%}}

/* 1.2.75 – Mehrere Pflegestellen, Mehrfachzuordnung und individuelle Tier-Rechte */
.nfp-caregiver-picker{display:flex;gap:10px;align-items:end;margin:18px 0}
.nfp-caregiver-picker .nfp-field{flex:1 1 320px}
.nfp-caregiver-selected{margin:18px 0 12px;padding:12px;border:1px solid #d5d7e0;border-radius:5px}
.nfp-caregiver-profile-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;margin:10px 0 16px}
.nfp-caregiver-profile-check{display:flex;align-items:flex-start;gap:8px;padding:8px 10px;border:1px solid #e1e3e8;border-radius:5px}
.nfp-individual-rights{margin-top:22px;padding-top:16px;border-top:1px solid #d5d7e0}
.nfp-change-image-row .nfp-profile-photo{display:block;max-width:180px;max-height:180px;width:auto;height:auto}
@media(max-width:768px){.nfp-caregiver-picker{display:grid;grid-template-columns:1fr}.nfp-caregiver-profile-checks{grid-template-columns:1fr}}


/* 1.2.81 – Öffentliche Suche im Design der freigegebenen Grafik. */
.nfp-public-search{width:100%!important;max-width:none!important;margin:0 0 60px!important;padding:0!important}
.nfp-search-intro{display:block!important;width:100%!important;max-width:none!important;margin:0 0 24px!important;padding:0!important;clear:both!important;text-align:justify!important;hyphens:none!important}
.nfp-search-intro p,.nfp-search-intro div{margin:0 0 12px!important;text-align:justify!important}
.nfp-search-intro>:last-child{margin-bottom:0!important}
.nfp-search-form{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:22px 28px 28px!important;background:#E9F0FC!important;border:1px solid #B8CBE6!important;border-radius:6px!important;box-shadow:none!important}
.nfp-search-fields{display:flex!important;flex-direction:column!important;gap:24px!important;width:100%!important;margin:0!important;padding:0!important}
.nfp-search-field{display:block!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.nfp-search-field label{display:block!important;margin:0 0 8px!important;padding:0!important;font:inherit!important;font-weight:600!important;color:#243447!important}
.nfp-search-field .form-control{display:block!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;min-height:42px!important;margin:0!important;padding:8px 12px!important;border:1px solid #C9D3E1!important;border-radius:6px!important;background:#FFFFFF!important;box-shadow:none!important}
.nfp-search-field .form-control:focus{border-color:#8FAEDA!important;box-shadow:0 0 0 1px rgba(28,90,166,.08)!important}
.nfp-secret-control{position:relative!important;display:block!important;width:100%!important}
.nfp-secret-control .nfp-secret-input{padding-right:52px!important}
.nfp-secret-toggle{position:absolute!important;top:50%!important;right:12px!important;transform:translateY(-50%)!important;margin:0!important;padding:5px!important;border:0!important;border-radius:4px!important;background:transparent!important;color:#243447!important;line-height:1!important;cursor:pointer!important;z-index:2!important}
.nfp-secret-toggle:hover,.nfp-secret-toggle:focus{background:rgba(0,0,0,.06)!important}
.nfp-search-submit{display:block!important;width:100%!important;margin:24px 0 0!important;padding:0!important;clear:both!important}
.nfp-search-submit .btn{display:block!important;width:100%!important;min-height:42px!important;margin:0!important;padding:9px 16px!important;border:1px solid #C79B00!important;border-radius:6px!important;background:#DDAF00!important;color:#FFFFFF!important;font:inherit!important;font-weight:700!important;line-height:1.2!important;text-align:center!important;white-space:normal!important;box-shadow:none!important}
.nfp-search-submit .btn:hover,.nfp-search-submit .btn:focus,.nfp-search-submit .btn:active{background:#CFA300!important;border-color:#B88F00!important;color:#FFFFFF!important;box-shadow:none!important}
.nfp-search-inline-warning,.nfp-search-notice{display:block!important;width:100%!important;margin:16px 0 0!important}
@media(max-width:767.98px){
  .nfp-search-form{padding:18px 18px 22px!important}
  .nfp-search-fields{gap:18px!important}
}



/* Öffentliche Suche: freigegebene funktionale Darstellung. */
.nfp-public-search{width:100%!important;max-width:none!important;margin:0 0 60px!important;padding:0!important}
.nfp-search-intro{display:block!important;width:100%!important;max-width:none!important;margin:0 0 24px!important;padding:0!important;clear:both!important;text-align:justify!important;hyphens:none!important}
.nfp-search-intro p,.nfp-search-intro div{text-align:justify!important}
.nfp-search-intro>:first-child{margin-top:0!important}
.nfp-search-intro>:last-child{margin-bottom:0!important}
.nfp-search-form{display:block!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;margin:0!important;padding:22px 28px 28px!important;background:#E9F0FC!important;border:1px solid #B8CBE6!important;border-radius:6px!important;box-shadow:none!important}
.nfp-search-fields{display:flex!important;flex-direction:column!important;gap:24px!important;width:100%!important;margin:0!important;padding:0!important}
.nfp-search-field{display:block!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.nfp-search-field label{display:block!important;margin:0 0 8px!important;padding:0!important;font:inherit!important;font-weight:600!important;color:#243447!important}
.nfp-search-field .form-control{display:block!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;min-height:42px!important;margin:0!important;padding:8px 12px!important;border:1px solid #C9D3E1!important;border-radius:6px!important;background:#FFFFFF!important;box-shadow:none!important}
.nfp-search-field .form-control:focus{border-color:#8FAEDA!important;box-shadow:0 0 0 1px rgba(28,90,166,.08)!important}
.nfp-secret-control{position:relative!important;display:block!important;width:100%!important;max-width:none!important}
.nfp-secret-control>.nfp-secret-input{width:100%!important;max-width:none!important;padding-right:52px!important}
.nfp-secret-toggle{position:absolute!important;top:50%!important;right:12px!important;transform:translateY(-50%)!important}
.nfp-search-submit{display:block!important;width:100%!important;margin:24px 0 0!important;padding:0!important;clear:both!important}
.nfp-search-submit .btn{display:block!important;width:100%!important;max-width:none!important;min-height:42px!important;margin:0!important;padding:9px 16px!important;border:1px solid #C79B00!important;border-radius:6px!important;background:#DDAF00!important;color:#FFFFFF!important;font:inherit!important;font-weight:700!important;line-height:1.2!important;text-align:center!important;white-space:normal!important;box-shadow:none!important}
.nfp-search-submit .btn:hover,.nfp-search-submit .btn:focus,.nfp-search-submit .btn:active{background:#CFA300!important;border-color:#B88F00!important;color:#FFFFFF!important;box-shadow:none!important}
.nfp-search-inline-warning,.nfp-search-notice{display:block!important;width:100%!important;margin:16px 0 0!important}
@media(max-width:767.98px){.nfp-search-form{padding:18px!important}.nfp-search-fields{gap:18px!important}.nfp-search-field .form-control{min-height:42px!important}.nfp-search-submit .btn{min-height:42px!important}}



/* 1.2.84 – Blocksatz ohne automatische Worttrennung. */
.nfp-search-intro,
.nfp-search-intro *{
    text-align:justify!important;
    hyphens:none!important;
    -webkit-hyphens:none!important;
    -ms-hyphens:none!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    word-wrap:normal!important;
}


/* 1.2.85 – Blocksatz mit Erhalt von Absätzen und manuellen Zeilenumbrüchen. */
.nfp-search-intro,
.nfp-search-intro p,
.nfp-search-intro div{
    text-align:justify!important;
    hyphens:none!important;
    -webkit-hyphens:none!important;
    -ms-hyphens:none!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    word-wrap:normal!important;
    white-space:pre-line!important;
}
.nfp-search-intro p,
.nfp-search-intro div{
    display:block!important;
    margin-top:0!important;
    margin-bottom:12px!important;
}
.nfp-search-intro>:first-child{margin-top:0!important}
.nfp-search-intro>:last-child{margin-bottom:0!important}

/* 1.2.86 – Suchtext: Blocksatz mit sichtbaren Absatzabständen; PIN-Auge klickbar. */
.nfp-search-intro{display:block!important;width:100%!important;margin:0 0 24px!important;padding:0!important;text-align:justify!important;white-space:normal!important;hyphens:none!important;-webkit-hyphens:none!important;word-break:normal!important;overflow-wrap:normal!important}
.nfp-search-intro p,.nfp-search-intro div{display:block!important;margin:0 0 18px!important;padding:0!important;text-align:justify!important;white-space:pre-wrap!important;hyphens:none!important;-webkit-hyphens:none!important;word-break:normal!important;overflow-wrap:normal!important}
.nfp-search-intro>:first-child{margin-top:0!important}.nfp-search-intro>:last-child{margin-bottom:0!important}
.nfp-search-intro br+br{display:block!important;content:""!important;margin-top:18px!important}
.nfp-search-form .nfp-secret-control{position:relative!important;width:100%!important;overflow:visible!important}
.nfp-search-form .nfp-secret-toggle{position:absolute!important;top:50%!important;right:8px!important;transform:translateY(-50%)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;padding:5px!important;border:0!important;background:transparent!important;cursor:pointer!important;pointer-events:auto!important;z-index:10!important}
.nfp-search-form .nfp-secret-toggle svg{pointer-events:none!important}

.nfp-email-validation{display:block!important;margin-top:4px!important;font-size:.875em!important;line-height:1.35!important}
.nfp-email-validation[hidden]{display:none!important}


/* 1.2.106: Auge immer schwarz, unabhängig vom Zustand. */
.nfp-secret-toggle,.nfp-secret-toggle:hover,.nfp-secret-toggle:focus,.nfp-secret-toggle:active,.nfp-secret-toggle[aria-pressed="true"],.nfp-secret-toggle[aria-pressed="false"]{color:#000!important;}
.nfp-secret-toggle .nfp-secret-eye,.nfp-secret-toggle:hover .nfp-secret-eye,.nfp-secret-toggle:focus .nfp-secret-eye,.nfp-secret-toggle:active .nfp-secret-eye{stroke:#000!important;color:#000!important;}


/* 1.2.107: Auge in jedem Zustand identisch schwarz, ohne Hover-/Focus-Effekt. */
html body .nfp-secret-control > .nfp-secret-toggle,
html body .nfp-secret-control > .nfp-secret-toggle:hover,
html body .nfp-secret-control > .nfp-secret-toggle:focus,
html body .nfp-secret-control > .nfp-secret-toggle:focus-visible,
html body .nfp-secret-control > .nfp-secret-toggle:active,
html body .nfp-secret-control > .nfp-secret-toggle[aria-pressed="true"],
html body .nfp-secret-control > .nfp-secret-toggle[aria-pressed="false"]{
    color:#000!important;
    background:transparent!important;
    background-image:none!important;
    border:0!important;
    box-shadow:none!important;
    outline:none!important;
    filter:none!important;
    opacity:1!important;
    text-decoration:none!important;
}
html body .nfp-secret-control > .nfp-secret-toggle .nfp-secret-eye,
html body .nfp-secret-control > .nfp-secret-toggle:hover .nfp-secret-eye,
html body .nfp-secret-control > .nfp-secret-toggle:focus .nfp-secret-eye,
html body .nfp-secret-control > .nfp-secret-toggle:focus-visible .nfp-secret-eye,
html body .nfp-secret-control > .nfp-secret-toggle:active .nfp-secret-eye,
html body .nfp-secret-control > .nfp-secret-toggle[aria-pressed="true"] .nfp-secret-eye,
html body .nfp-secret-control > .nfp-secret-toggle[aria-pressed="false"] .nfp-secret-eye{
    color:#000!important;
    stroke:#000!important;
    fill:none!important;
    opacity:1!important;
}



/* Pflegestellen – organisationsübergreifende Profilübersicht */
