.vdm-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
}

.vdm-overlay--blur {
    backdrop-filter: blur(4px);
}

.vdm-modal {
    position: fixed;
    padding: 24px 24px 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    z-index: 9999;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.vdm-modal--centered {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 480px;
    width: 90%;
}

.vdm-modal--bottom-right {
    right: 24px;
    bottom: 24px;
    max-width: 360px;
    width: 90%;
}

.vdm-modal--fullscreen {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 16px 24px;
}

.vdm-modal-title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.vdm-modal-message {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 18px;
    text-align: justify;
}

.vdm-modal-button {
    display: inline-block;
    border: none;
    border-radius: 999px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease, opacity 0.1s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.vdm-anim-fade-scale {
    opacity: 0;
    transform: scale(0.9);
    animation: vdm-fade-scale-in 220ms ease-out forwards;
}

.vdm-anim-slide-up {
    opacity: 0;
    transform: translateY(24px);
    animation: vdm-slide-up-in 220ms ease-out forwards;
}

.vdm-anim-slide-right {
    opacity: 0;
    transform: translateX(32px);
    animation: vdm-slide-right-in 220ms ease-out forwards;
}

@keyframes vdm-fade-scale-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes vdm-slide-up-in {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes vdm-slide-right-in {
    from {
        opacity: 0;
        transform: translateX(32px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.vdm-modal-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.vdm-modal-button:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

body.vdm-modal-open {
    overflow: hidden;
}

