.dialog-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.dialog-overlay.active {
    display: flex;
}

.dialog-box {
    background: white;
    border-radius: 12px;
    padding: 32px 28px 24px;
    width: 340px;
    max-width: 90vw;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: dialog-in 0.18s ease;
}

@keyframes dialog-in {
    from { transform: scale(0.93); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.dialog-box .dialog-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eef0fb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.dialog-box .dialog-icon img {
    width: 20px;
    cursor: default;
}

.dialog-box h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1F1F1F;
}

.dialog-box p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
}

.dialog-btn-cancel {
    padding: 9px 22px;
    border: 1px solid #d0d0d0;
    background: white;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    cursor: pointer;
    color: #444;
    font-weight: 500;
}

.dialog-btn-cancel:hover {
    background: #f5f5f5;
}

.dialog-btn-confirm {
    padding: 9px 22px;
    border: none;
    background: #2E3D96;
    color: white;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.dialog-btn-confirm:hover {
    background: #283684;
}
