/* styling for confirmation dialog */

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

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

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

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

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

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

#app-confirm-message {
    padding: 5px 5px 0;
    margin: 0;
    line-height: 1.5;
}

#app-confirm-question {
    padding: 6px 5px 5px;
    margin: 0 5px;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    font-size: 1.05rem;
    font-weight: bold;
    line-height: 1.5;
}

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