/* Send proposal dialog (assets/js/proposal-send-dialog.js, templates/proposal/_send_dialog.html.twig). */
.send-dialog .send-dialog-label { width: 2.5rem; }
.send-dialog .send-file-icon {
    flex: 0 0 auto; width: 2.4rem; height: 2.4rem; border-radius: .375rem;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .65rem; font-weight: 700; background: #f3f4f6; color: #374151;
}
.send-dialog .send-file-icon-pdf { background: #fee2e2; color: #b91c1c; }
.send-dialog .send-file-icon-xls { background: #dcfce7; color: #166534; }
.send-dialog .send-file-icon-img { background: #e0e7ff; color: #3730a3; }
/* A builder's form not attached yet: a dashed outline instead of a filled tile. */
.send-dialog .send-file-icon-missing { background: transparent; border: 1.5px dashed #b45309; color: #92400e; }
.send-dialog .send-picker-search { max-width: 16rem; }
.send-dialog .send-picker-list { max-height: 18rem; overflow-y: auto; }
.send-dialog .send-picker-row { cursor: pointer; }
.send-dialog .send-picker-row:hover { background: #f8fafc; }
.send-dialog .send-over { color: #b91c1c; font-weight: 700; }
.send-dialog .min-w-0 { min-width: 0; }
.modal-content.send-drop-active { outline: 3px dashed #3b82f6; outline-offset: -6px; }
/* The dialog's <form> sits between .modal-content and its header/body/footer, so it has to
   pass the scrollable modal's height down, or the footer falls off the bottom. */
.modal-dialog-scrollable .modal-content > .send-dialog { display: flex; flex-direction: column; min-height: 0; max-height: 100%; overflow: hidden; }
.modal-dialog-scrollable .modal-content > .send-dialog > .modal-body { overflow-y: auto; }
