/**
 * Luxee WidgetKit — Cover Undangan Widget CSS
 */

/* ===== WRAPPER ===== */
.lxwdk-cover-wrap {
    position: fixed;
    z-index: 2000;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateY(0);
}

/* ===== OVERLAY ===== */
.lxwdk-cover-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2001;
    top: 0;
    left: 0;
    pointer-events: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ===== INNER CONTENT WRAPPER =====
   Ini adalah flex container untuk semua elemen konten.
   gap & padding diatur via Elementor controls.
   Semua children langsung akan merespons gap yang diset.
*/
.lxwdk-cover-inner {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 2002;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow-y: auto;
}

/* ===== TEKS COVER =====
   TIDAK ADA: color, text-align, margin, atau width hardcode di sini.
   Semua diatur via Elementor Typography & Color controls.
   Hanya perlu max-width agar teks tidak meluber keluar container.
*/
.lxwdk-the-wedding,
.lxwdk-couple-name,
.lxwdk-cover-date,
.lxwdk-dear,
.lxwdk-guest-name,
.lxwdk-invitation,
.lxwdk-note {
    box-sizing: border-box;
    max-width: 100%;
}

/* ===== FOTO MEMPELAI ===== */
.lxwdk-cover-image {
    text-align: center;
}

.lxwdk-cover-image img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

/* ===== TOMBOL ===== */
.lxwdk-cover-button-wrap {
    display: flex;
    justify-content: center;
}

.lxwdk-cover-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.lxwdk-cover-button:hover {
    background-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.lxwdk-btn-icon {
    display: flex;
    align-items: center;
    line-height: 1;
}

.lxwdk-btn-icon i {
    font-size: 1em;
}

.lxwdk-btn-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

/* ===== ANIMASI KELUAR ===== */
.lxwdk-cover-remove {
    transform: translateY(200%);
    transition: 0.4s ease-in-out;
}

/* ===== CONTAINER MODE WRAPPER OVERRIDES ===== */
.lxwdk-cover-mode-container {
    position: relative !important;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
}

.lxwdk-cover-mode-container .lxwdk-cover-wrap {
    position: absolute !important;
    z-index: 1000 !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
}

.lxwdk-cover-mode-container .lxwdk-cover-inner {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    inset: 0 !important;
}