.modal-widget-default header, .modal-widget-default section, .modal-widget-default footer {
    all: initial;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: inherit;        
}
.modal-widget-default h1, .modal-widget-default h2, .modal-widget-default h3, .modal-widget-default h4 {
    margin: 0;
    padding: 0;
}
.modal-widget-default h2 {
    font-size: 20px;
    font-weight: 500;
}
.modal-widget-default {
    border-radius: 4px;
    border: none;
    box-shadow: 6px 6px 12px #3333;
    padding: 0;
    background: transparent;
    overflow: hidden;
    --backdrop-background: #333A;
}



.modal-widget-default::backdrop {
    background-color: var(--backdrop-background, #333A);
    backdrop-filter: blur(14px);
}
.modal-widget-default > section {
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px 8px;
    max-width: 320px;
    min-width: 280px;
    background: #fff;
    max-height: 90svh;
    overflow: hidden;
}

.modal-widget-default.modal-widget-full > section {
    max-width: 90svw;
    max-height: 90svh;
}

.modal-widget-default > section > header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    user-select: none;
}
.modal-widget-default > section > header > h2 {
    max-width: 100%;
    overflow: hidden;
    text-wrap: wrap;
    line-height: 18px;
    font-size: 18px;
    font-weight: 400;
    align-self: center;
}
.modal-widget-default > section > header > button.close-modal {
    float: right;
    font-size: 32px;
    font-weight: bold;
    line-height: 32px;
    background: transparent;
    color: #aaa;
    border: none;
    width: 32px;
    height: 32px;
    transition: all 0.2s ease-in-out;
}
.modal-widget-default > section > header > button.close-modal:hover {
    color: #0088cc;
}
.modal-widget-default > section > div {
    border-top: 2px solid #3333;
    padding-top: 12px;
    margin-top: 8px;
    font-size: 14px;
    color: #333;
    max-height: 100%;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #0088cc transparent;
}