/* Ziyaret / Tanımlar / Acil Tahliye: ortak MediTable kabuğu. */
.zmt-shell{width:100%;min-width:0;border:1px solid #dbe5ef;border-radius:10px;background:#fff;color:#334155;overflow:visible}
/* Yeni Taşeron ile aynı düzen: solda sayfa boyutu, sağda temizle / yenile / kolonlar. */
.zmt-shell .zmt-toolbar{position:relative;z-index:40;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:8px 16px;border-bottom:1px solid #dbeafe;border-radius:12px 12px 0 0;background:#fff}
.zmt-shell .zmt-size-label{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:#475569;margin:0}
.zmt-shell .zmt-size-label [data-medi-table-generated="page-size"]{min-height:36px;height:36px}
.zmt-shell .zmt-size-label select{min-height:36px;height:36px;font-size:13px;padding-left:32px;padding-right:28px}
.zmt-shell .zmt-tools{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto}
.zmt-shell .zmt-tools .medi-button--table-tool{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:96px;min-height:36px;height:36px;padding:0 12px;border:1px solid #bfdbfe;border-radius:8px;background:#fff;color:#1d4ed8;font-size:13px;font-weight:700;white-space:nowrap;cursor:pointer;box-shadow:0 1px 2px 0 rgb(0 0 0 / .05)}
.zmt-shell .zmt-tools .medi-button--table-tool:hover{background:#eff6ff;color:#1e3a8a}
.zmt-shell .zmt-tools .medi-button--table-tool:focus-visible{outline:2px solid #60a5fa;outline-offset:2px}
.zmt-shell .zmt-tools .zmt-tool--icon-only{width:36px;min-width:36px;min-height:36px;height:36px;gap:0;padding:0}
.zmt-shell .zmt-tools summary{list-style:none}
.zmt-shell .zmt-tools summary::-webkit-details-marker{display:none}
.zmt-shell .zmt-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.zmt-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-top:1px solid #dbe5ef;font-size:12px}
.zmt-shell [data-medi-table-pagination]{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.zmt-shell [data-medi-table-pagination] button{min-height:32px}
.zmt-viewport{position:relative;overflow:auto;max-width:100%}.zmt-shell table{width:100%;border-collapse:collapse}
.zmt-shell th{background:#e6f1f9;color:#174a73;font-size:12px;padding:9px;border-bottom:1px solid #bfd7e8}
.zmt-cell{padding:9px 10px;border-bottom:1px solid #e2e8f0;font-size:12px;white-space:nowrap}
.zmt-shell tbody tr:hover{background:#f4f8fc}.zmt-shell th button{color:inherit}
.zmt-error{padding:12px;background:#fff1f2;color:#be123c}.zmt-shell:focus-within{outline-color:#176b87}
@media(max-width:767px){.zmt-shell .zmt-toolbar{gap:8px;padding:8px}.zmt-footer{gap:10px}}

/* Acil Tahliye sayfasının içerik ve filtre düzeni. */
#acil-tahliye-app{min-width:0;min-height:0}
#acil-tahliye-app .at-main{max-width:none;padding:16px}
#acil-tahliye-app .at-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.zmt-shell--medi .column-filters th{padding:6px;vertical-align:top}
.zmt-shell--medi .column-filters input,.zmt-shell--medi .column-filters select{width:100%;min-height:34px;height:34px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;padding:5px 8px;color:#334155;font-size:13px}
.zmt-shell--medi .column-filters input[type=date]+input{margin-top:4px}
.zmt-shell--medi .zmt-cell{padding:10px 12px;font-size:13px}
.zmt-shell--medi .zmt-footer{padding:12px 14px;font-size:13px}
@media(max-width:767px){#acil-tahliye-app .at-main{padding:12px}}

.zmt-filter-line{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;border-bottom:1px solid #e2e8f0;background:#f8fafc;padding:8px 12px}
.zmt-filter-line>[data-medi-table-filter-summary]{flex:1;min-width:0;border:0;padding:0;background:transparent}
.zy-table-updated{margin-left:auto;white-space:nowrap;font-size:12px;color:#64748b}
.zy-table-updated.is-error{color:#be123c}
.zmt-row-actions{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:6px;vertical-align:middle}
.zmt-row-actions .zmt-action-trigger{width:36px;min-width:36px;padding:0}
.zmt-action-menu{position:fixed;inset:auto;margin:0;width:max-content;min-width:180px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow:auto;padding:6px;border:1px solid #cbd5e1;border-radius:10px;background:white;box-shadow:0 8px 24px #0f172a26}
.zmt-action-menu:popover-open{display:flex;flex-direction:column;gap:3px}
.zmt-action-menu .medi-button{justify-content:flex-start;width:100%;border:0;background:transparent;white-space:nowrap}
.zmt-action-menu .medi-button:hover{background:#f0f9ff}
.zy-blacklist-state{display:inline-flex;align-items:center;padding:.2rem .65rem;border:1px solid #e2e8f0;border-radius:9999px;font-size:.75rem;font-weight:600;line-height:1.25;color:#475569;background:#f8fafc}
.zy-blacklist-state--1{color:#9f1239;background:#fff1f2;border-color:#fecdd3}
.zy-blacklist-state--2{color:#9a3412;background:#fff7ed;border-color:#fed7aa}
.zy-blacklist-state--3{color:#92400e;background:#fffbeb;border-color:#fde68a}
