.nd-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 9000;
    opacity: 0;
    transition: opacity .18s;
}

.nd-overlay.show {
    opacity: 1;
}

.nd-box {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 320px;
    max-width: 90vw;
    padding: 32px 28px 24px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .22);
    text-align: center;
    transform: translate(-50%, -50%) translateY(10px);
    transition: transform .18s;
}

.nd-overlay.show .nd-box {
    transform: translate(-50%, -50%);
}

.nd-icon {
    margin-bottom: 14px;
    font-size: 40px;
}

.nd-icon.ok { color: #1ab394; }
.nd-icon.warn { color: #f39c12; }
.nd-icon.err { color: #e74c3c; }

.nd-title {
    margin-bottom: 8px;
    color: #222;
    font-size: 17px;
    font-weight: 700;
}

.nd-msg {
    margin-bottom: 24px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.nd-btns {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.nd-btn {
    flex: 1;
    max-width: 120px;
    height: 42px;
    border: 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.nd-btn-ok {
    background: #1ab394;
    color: #fff;
}

.nd-btn-cancel {
    background: #f0f0f0;
    color: #555;
}

.nd-btn-danger {
    background: #e74c3c;
    color: #fff;
}
