/* Button Styles */
.sifency-modal-trigger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}
.sifency-modal-overlay-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Open State */
.sifency-modal-overlay-wrapper.is-open {
    display: flex !important;
    opacity: 1;
}

/* Backdrop */
.sifency-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

/* Container */
.sifency-modal-container {
    position: relative;
    width: 600px;
    z-index: 10;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 50px;
}

/* Scrollable Content */
.sifency-modal-body {
    overflow-y: auto;
    width: 100%;
    box-sizing: border-box; 
}

/* Close Button */
.sifency-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 20;
    padding: 5px;
    line-height: 1;
}

body.sifency-noscroll {
    overflow: hidden !important;
}
.sifency-anim-zoom .sifency-modal-container {
    transform: scale(0.7);
    transition: transform 0.3s ease;
}
.sifency-anim-zoom.is-open .sifency-modal-container {
    transform: scale(1);
}

.sifency-anim-slide_up .sifency-modal-container {
    transform: translateY(50px);
    transition: transform 0.3s ease;
}
.sifency-anim-slide_up.is-open .sifency-modal-container {
    transform: translateY(0);
}
/* Slide Down Effect */
.sifency-anim-slide_down .sifency-modal-container {
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}
.sifency-anim-slide_down.is-open .sifency-modal-container {
    transform: translateY(0);
}