/* Allgemeines Modal (services/modal.py, static/js/modal.js): natives <dialog>,
   unabhaengig von Bootstrap. Der Inhalt ist der content-Block der Formularseite. */
.app-modal{ width:min(600px, calc(100vw - 32px)); max-height:calc(100vh - 48px); padding:0; border:1px solid #e3e1df;
            border-radius:16px; background:#fff; color:#2f3030; box-shadow:0 24px 60px rgba(0,0,0,.25); overflow:hidden; }
.app-modal::backdrop{ background:rgba(47,48,48,.45); }
.app-modal__inhalt{ max-height:calc(100vh - 48px); overflow:auto; padding:28px 28px 24px; }
.app-modal__zu{ position:absolute; top:10px; right:12px; width:36px; height:36px; border:0; border-radius:8px; background:transparent;
                color:#6b6a67; font-size:24px; line-height:1; cursor:pointer; }
.app-modal__zu:hover{ background:#f4f3f1; color:#2f3030; }
.app-modal.laedt .app-modal__inhalt{ opacity:.5; pointer-events:none; }
/* Seitenrahmen der Formularseiten im Modal neutralisieren */
.app-modal .container{ max-width:none; margin:0 !important; padding:0; }
.app-modal .card-custom{ padding:0 !important; margin:0; border:0; box-shadow:none; background:transparent; }
.app-modal h2{ margin:0 36px 20px 0; font-size:22px; line-height:28px; font-weight:600; text-align:left !important; }
.app-modal .form-group{ margin-bottom:14px; }
.app-modal__fehler{ margin:0 0 14px; padding:10px 12px; border-radius:6px; background:#fce9e7; color:#b42318; font-size:14px; }
