/*
Copyright (c) 2023-forever Douglas Malnati. All rights reserved.

See the /faq/tos page for details.
    
(If this generated header is stamped on a file which is a 3rd party file or under a different license or copyright, then ignore this copyright statement and use that file's terms.)
*/

.fixedPopupOverlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(235, 235, 235, 0.7);
    z-index: 1200;
}

.fixedPopupDialog {
    min-width: 320px;
    max-width: min(100vw - 24px, 390px);
    width: max-content;
    padding: 6px 8px;
    background: white;
    border: 1px solid black;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    position: relative;
    box-sizing: border-box;
}

.fixedPopupDialogWide {
    width: min(900px, calc(100vw - 32px));
    max-width: min(900px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    display: flex;
    flex-direction: column;
}

.fixedPopupHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 6px 0;
    padding: 2px 6px;
    background: lightblue;
}

.fixedPopupTitle {
    font-weight: bold;
}

.fixedPopupCloseButton {
    padding: 0 4px;
    line-height: 1.1;
    border: 1px solid black;
    background: #f2f2f2;
    color: #444;
    font-size: 11px;
    cursor: pointer;
}

.fixedPopupCloseButton:hover {
    background: #e8e8e8;
}

.fixedPopupCloseButton:active {
    background: #dcdcdc;
    box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.2);
}

.fixedPopupCloseButton:focus-visible {
    outline: 1px dotted black;
    outline-offset: 1px;
}

.fixedPopupBody {
    min-width: 0;
}

.fixedPopupDialogWide .fixedPopupBody {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
