
.eesy-dialog-overlay {

    position: fixed;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0,0,0,.45);

    z-index: var(--z-dialog);
}

.eesy-dialog {

    width: 420px;
    max-width: 92vw;

    background: white;

    border-radius: 10px;

    overflow: hidden;

    box-shadow: 0 15px 45px rgba(0,0,0,.25);
}

.eesy-dialog-header {

    padding: 16px 20px;

    border-bottom: 1px solid var(--border-color);

    font-size: 18px;
    font-weight: 600;
}

.eesy-dialog-header h3{

    margin:0;
}

.eesy-dialog-body {

    padding:20px;

    line-height:1.5;
}

.eesy-dialog-footer {

    display:flex;

    justify-content:flex-end;

    gap:10px;

    padding:16px 20px;

    border-top:1px solid var(--border-color);
}

.eesy-btn{

    min-width:110px;

    padding:9px 18px;

    border:none;

    border-radius:6px;

    cursor:pointer;

    transition:.2s;
}

.eesy-btn-secondary{

    background:var(--background-light);
    color:var(--text-color);
}

.eesy-btn-secondary:hover{

    background:#e9edf2;
}

.eesy-btn-danger{

    background:var(--danger-color);
    color:white;
}

.eesy-btn-danger:hover{

    filter:brightness(.92);
}