/* styling for alert dialog */

.app-alert-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.app-alert-overlay.hidden {
    display: none;
}

.app-alert-dialog {
    /*width: min(480px, 90vw);*/
    width: min(300px,90vw);
    background: rgb(250, 220, 120);
    /*border-radius: 12px;*/
    border-radius: 6px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    padding: 0;
    font-family: "Times New Roman", sans-serif;
}

.app-alert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*padding: 8px 10px;*/
    padding: 4px 5px;
    border-bottom: 1px solid #ddd;
}

.app-alert-header h2 {
    margin: 0;
    font-size: 1.2rem;
}

#app-alert-close {
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
}

#app-alert-message {
    /*padding: 10px;*/
    padding: 5px;
    margin: 0;
    line-height: 1.5;
}

.app-alert-actions {
    display: flex;
    justify-content: flex-end;
    /*gap: 5px;*/
    gap: 3px;
    padding: 0 10px 10px;
    color: mediumslateblue;
}
