.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content{background-color:#fff;padding:0;border-radius:8px;position:relative;max-width:65vw;max-height:90vh;overflow:visible;cursor:default;display:flex;flex-direction:column;width:-moz-fit-content;width:fit-content;height:auto;box-shadow:0 10px 25px #00000026}.modal-content.tables-preview-modal-content{max-width:none;max-height:none;overflow:hidden;border-radius:12px;box-shadow:0 20px 60px #0003}.modal-content-inner{padding:20px;display:flex;flex-direction:column}.modal-content.tables-preview-modal-content>.modal-content-inner{padding:0;overflow:hidden;height:100%;flex:1;min-height:0}.modal-content:has(.terminology-modal),.modal-content:has(.terminology-confirmation-modal){padding:0}.modal-content-inner .terminology-modal,.modal-content-inner .terminology-confirmation-modal{margin:0}.modal-content-inner:has(.terminology-modal),.modal-content-inner:has(.terminology-confirmation-modal){padding:0}.modal-content:has(.question-template-manager){width:90vw;max-width:1200px;height:90vh;max-height:90vh}.modal-content-inner:has(.question-template-manager){padding:0;overflow:hidden;height:100%;display:flex;flex-direction:column}.modal-content:has(.source-selection-header){width:90vw;max-width:1100px;height:85vh;max-height:85vh}.modal-content-inner:has(.source-selection-header){padding:24px;overflow:hidden;height:100%;display:flex;flex-direction:column}.modal-content.version-history-modal-wrapper,.modal-content.audit-log-modal-wrapper{max-width:none}.modal-content.version-history-modal-wrapper>.modal-content-inner,.modal-content.audit-log-modal-wrapper>.modal-content-inner{padding:0;overflow:hidden;height:100%;flex:1;min-height:0}.modal-close-button{position:absolute;top:12px;inset-inline-end:14px;width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;background:transparent;color:#555;border:none;border-radius:50%;font-size:24px;line-height:1;cursor:pointer;padding:0;z-index:5}.modal-close-button:hover{color:#5f46ed;background:#f1eefc}.modal-close-button:focus-visible{outline:2px solid #5f46ed;outline-offset:1px}
