.dvp-preview-link-wrap {
    margin-top: 6px;
    margin-bottom: 8px;
    text-align: center;
}

.dvp-preview-link,
.dvp-preview-button {
    display: inline-block;
    padding: 9px 16px;
    border: 2px solid #7E00B2;
    border-radius: 4px;
    background: #7E00B2;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dvp-preview-link:hover,
.dvp-preview-link:focus,
.dvp-preview-button:hover,
.dvp-preview-button:focus {
    background: #ffffff;
    color: #7E00B2 !important;
    border-color: #7E00B2;
    text-decoration: none !important;
    outline: none;
}

.dvp-preview-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
}

.dvp-preview-modal--open {
    display: block;
}

.dvp-preview-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.dvp-preview-modal__dialog {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(900px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    transform: translate(-50%, -50%);
    background: #000;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.dvp-preview-modal__video {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 80px);
    background: #000;
}

.dvp-preview-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: inline-block;
    padding: 7px 12px;
    border: 2px solid #7E00B2;
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    background: #7E00B2 !important;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dvp-preview-modal__close:hover,
.dvp-preview-modal__close:focus {
    background: #ffffff !important;
    color: #7E00B2 !important;
    border-color: #7E00B2 !important;
    outline: none;
}

.dvp-preview-modal-open {
    overflow: hidden;
}
