/* Eshraq Administration V100 — modal spacing, structured case profile, sticky actions */
dialog.profile-dialog,dialog.action-dialog,dialog.conversation-center-dialog{width:min(1120px,calc(100vw - 48px))!important;max-width:1120px!important;max-height:92vh!important;border-radius:22px!important}
dialog .dialog-head{padding:18px 24px!important}
dialog .dialog-body{padding:22px 26px 28px!important;max-height:calc(92vh - 78px)!important;overflow:auto!important;scrollbar-gutter:stable both-edges}
dialog .form-grid{gap:16px 18px!important}
dialog .form-grid>label{gap:7px!important}
dialog textarea{min-height:105px!important}
dialog .form-actions,.approved-beneficiary-v053 #approvedBenForm>div.full:last-child{position:sticky!important;bottom:0!important;z-index:5!important;margin:14px -4px -10px!important;padding:12px 4px 4px!important;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 34%,#fff 100%)!important;grid-column:1/-1!important}
.approved-beneficiary-v053 #bSubmit{width:100%!important;min-height:50px!important}
.approved-beneficiary-v053 .dialog-body{padding-bottom:18px!important}
.approved-beneficiary-v053 #approvedBenForm{padding-bottom:4px!important}
.approved-beneficiary-v053 section.card{padding:16px!important;border-radius:16px!important;background:#fffdf9!important;border:1px solid #e5dccf!important}

.v100-datetime-source{display:none!important}
.v100-datetime-split{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;width:100%!important}
.v100-mini-field{display:grid!important;gap:6px!important;min-width:0!important;font-weight:700!important}
.v100-mini-field>span{font-size:11px!important;color:#6f7d78!important}
.v100-mini-field input{width:100%!important}

.v100-campaign-files{border:1px dashed #cdbf9f!important;border-radius:14px!important;padding:14px!important;background:#fffaf0!important}
.v100-campaign-files>span{font-weight:800!important;color:#29473f!important}
.v100-campaign-files small{font-size:11px!important;color:#6f7d78!important;line-height:1.6!important}
.v100-file-names{padding:9px 11px;border-radius:10px;background:#fff;color:#3f5d55;font-size:12px;line-height:1.65;overflow-wrap:anywhere}
.v100-file-list{display:grid;gap:10px}.v100-file-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid #e6dfd2;border-radius:14px;background:#fffdf9}.v100-file-item>span{font-size:22px}.v100-file-item b{display:block;overflow-wrap:anywhere}.v100-file-item small{display:block;color:#75827e;margin-top:3px}.v100-add-files{margin-top:18px;padding-top:16px;border-top:1px solid #ece5da;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}.v100-add-files label{display:grid;gap:7px;font-weight:800}

.v100-case-dialog .dialog-body{background:#fbfaf6!important}
.v100-case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.v100-case-field{display:grid;gap:5px;padding:12px 14px;background:#fff;border:1px solid #e5ddd1;border-radius:14px;min-width:0}
.v100-case-field.wide{grid-column:1/-1}.v100-case-field span{font-size:11px;color:#6f7d78;font-weight:800}.v100-case-field strong{font-size:14px;color:#17312c;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}
.v100-case-section{margin-top:20px}.v100-case-section h3{margin:0 0 10px;color:#07564c;font-size:16px}.v100-case-section .table-wrap{border-radius:14px;overflow:auto;border:1px solid #e4ddd2;background:#fff}.v100-case-section table{min-width:720px}.v100-case-section th,.v100-case-section td{padding:10px 12px!important;font-size:12px!important}

/* Conversation margins and composer balance */
dialog.conversation-center-dialog .conv-dialog-head{padding:16px 22px!important}dialog.conversation-center-dialog .conv-person-grid{padding:14px 20px!important;gap:10px!important}dialog.conversation-center-dialog .conv-messages{padding:16px 20px!important}dialog.conversation-center-dialog .conv-composer{padding:12px 18px 14px!important}

@media(max-width:800px){dialog.profile-dialog,dialog.action-dialog,dialog.conversation-center-dialog{width:calc(100vw - 20px)!important}.v100-case-grid{grid-template-columns:1fr 1fr}.v100-add-files{grid-template-columns:1fr}.v100-datetime-split{grid-template-columns:1fr 1fr}}
@media(max-width:560px){dialog .dialog-body{padding:16px!important}.v100-case-grid{grid-template-columns:1fr}.v100-datetime-split{grid-template-columns:1fr}.v100-file-item{grid-template-columns:auto 1fr}.v100-file-item .btn{grid-column:1/-1;width:100%}}
