.tdbe-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-family: inherit;
}

.tdbe-modal--visible {
    display: flex;
}

.tdbe-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.tdbe-modal__dialog {
    position: relative;
    max-width: 420px;
    width: calc(100% - 32px);
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    padding: 32px 28px;
    text-align: center;
    z-index: 1;
}

.tdbe-modal__title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 600;
}

.tdbe-modal__message {
    margin: 0 0 24px;
    color: #4a4a4a;
    font-size: 15px;
}

.tdbe-modal__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.tdbe-modal__action {
    border: none;
    border-radius: 4px;
    padding: 10px 18px;
    font-size: 14px;
    cursor: pointer;
}

.tdbe-modal__action--primary {
    background: #222;
    color: #fff;
}

.tdbe-modal__action--secondary {
    background: #f2f2f2;
    color: #333;
}

.tdbe-modal__close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
