/* Диалог (Bootstrap modal) в стила на „Създай кампания“ (Admin/SuccessionCampaign): тясна кутия с
   прави ъгли, заглавие с „×“ и черта отдолу, поле под поле в тялото, бутони вляво в подножие с горна
   черта — основният първи. */
.app-dlg .modal-dialog { max-width: min(560px, 92vw); }
.app-dlg .modal-content { border: 0; border-radius: 0; box-shadow: 0 18px 48px rgba(20, 28, 45, .22); }
.app-dlg, .app-dlg * { font-size: 16px; }

.app-dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 12px 20px; border-bottom: 1px solid #e6e8ee; }
.app-dlg-title { margin: 0; font-size: 16px; font-weight: 500; color: #2b303b; }
/* Заглавие на един ред, съкратено с „…“; цялото е в подсказката. */
.app-dlg-title-1line { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-dlg-x { border: 0; background: transparent; font-size: 28px !important; line-height: 1; color: #8a9099;
    cursor: pointer; padding: 0; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; }
.app-dlg-x:hover { color: #2b303b; }
.app-dlg .app-dlg-x svg { width: 20px; height: 20px; }

.app-dlg-body { display: flex; flex-direction: column; gap: 20px; padding: 20px; max-height: 65vh; overflow-y: auto; }
.app-dlg-fld { display: flex; flex-direction: column; gap: 8px; }
.app-dlg-lbl { margin: 0; color: #2b303b; }
.app-dlg-req { color: #c0392b; }
.app-dlg-fld input, .app-dlg-fld select, .app-dlg-fld textarea {
    width: 100%; box-sizing: border-box; min-height: 40px; padding: 6px 12px;
    border: 1px solid #d0d7e1; border-radius: 4px; background: #fff; color: #2b303b; }
.app-dlg-fld textarea { resize: vertical; }
.app-dlg-fld input:focus, .app-dlg-fld select:focus, .app-dlg-fld textarea:focus { outline: none; border-color: #2C448E; }
.app-dlg-note { font-size: 14px !important; color: #8a9099; }

.app-dlg-foot { display: flex; gap: 10px; padding: 12px 20px; border-top: 1px solid #e6e8ee; }
