.sifency-age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.elementor-editor-active .sifency-age-gate-overlay {
    position: relative;
    height: 500px;
    display: flex;
    z-index: 1;
    background-color: rgba(0, 0, 0, .05);
    backdrop-filter: none
}

@keyframes sifencyAgPopIn {
    0% {
        opacity: 0;
        transform: scale(.95) translateY(15px)
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0)
    }
}

.sifency-ag-box {
    background: var(--sifency-addons-whitecolor, #fff);
    width: 100%;
    max-width: 540px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
    animation: .5s cubic-bezier(.16, 1, .3, 1) forwards sifencyAgPopIn;
    will-change: transform, opacity
}

.sifency-ag-logo img {
    max-width: 120px;
    height: auto;
    margin-bottom: 24px
}

.sifency-ag-title {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2
}

.sifency-ag-desc {
    margin-bottom: 32px;
    color: #4b5563;
    line-height: 1.6;
    font-size: 16px
}

.sifency-ag-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 10px
}

.sifency-ag-btn {
    padding: 14px 32px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: .3s;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.sifency-ag-submit,
.sifency-ag-yes {
    background-color: var(--e-global-color-primary, #007bff);
    color: var(--sifency-addons-whitecolor, #fff);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1)
}

.sifency-ag-submit:hover,
.sifency-ag-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
    opacity: .95
}

.sifency-ag-no {
    background-color: #f3f4f6;
    color: #374151
}

.sifency-ag-no:hover {
    background-color: #e5e7eb;
    color: #111827
}

.sifency-ag-inputs-wrap {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
    width: 100%
}

.sifency-ag-input {
    padding: 14px 10px;
    border: 1px solid #d1d5db;
    width: 30%;
    text-align: center;
    font-size: 16px;
    transition: border-color .3s, box-shadow .3s;
    background: #fff;
    color: #111
}

.sifency-ag-input:focus {
    outline: 0;
    border-color: var(--e-global-color-primary, #007bff);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, .15)
}

.sifency-ag-input::-webkit-inner-spin-button,
.sifency-ag-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0
}

.sifency-ag-input[type=number] {
    -moz-appearance: textfield
}

.sifency-ag-error-msg {
    color: #b91c1c;
    background: #fef2f2;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid #fecaca;
    font-weight: 500
}

.sifency-ag-layout-blur {
    background-color: rgba(0, 0, 0, .5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px)
}

.sifency-ag-layout-blur .sifency-ag-box {
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(255, 255, 255, .6);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, .1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px)
}

.sifency-ag-layout-split .sifency-ag-box {
    display: flex;
    padding: 0;
    max-width: 850px;
    text-align: left
}

.sifency-ag-split-img {
    width: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat
}

.sifency-ag-layout-split .sifency-ag-content {
    width: 50%;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.sifency-ag-layout-split .sifency-ag-actions {
    justify-content: flex-start
}

.sifency-ag-layout-split .sifency-ag-logo img {
    margin-bottom: 0
}

.sifency-ag-layout-neon {
    background-color: rgba(10, 10, 10, .95)
}

.sifency-ag-layout-neon .sifency-ag-box {
    background: #111827;
    border: 1px solid #374151;
    box-shadow: 0 25px 50px rgba(0, 0, 0, .5)
}

.sifency-ag-layout-neon .sifency-ag-title {
    color: var(--sifency-addons-whitecolor, #fff)
}

.sifency-ag-layout-neon .sifency-ag-desc {
    color: #9ca3af
}

.sifency-ag-layout-neon .sifency-ag-submit,
.sifency-ag-layout-neon .sifency-ag-yes {
    background: 0 0;
    color: #10b981;
    border: 1px solid #10b981;
    box-shadow: 0 0 12px rgba(16, 185, 129, .2), inset 0 0 8px rgba(16, 185, 129, .1)
}

.sifency-ag-layout-neon .sifency-ag-submit:hover,
.sifency-ag-layout-neon .sifency-ag-yes:hover {
    background: #10b981;
    color: #000;
    box-shadow: 0 0 20px rgba(16, 185, 129, .5)
}

.sifency-ag-layout-neon .sifency-ag-no {
    background: 0 0;
    border: 1px solid #4b5563;
    color: #e5e7eb
}

.sifency-ag-layout-neon .sifency-ag-no:hover {
    background: #374151;
    color: #fff
}

.sifency-ag-layout-neon .sifency-ag-input {
    background: #1f2937;
    border-color: #374151;
    color: #fff
}

.sifency-ag-layout-neon .sifency-ag-error-msg {
    background: rgba(239, 68, 68, .1);
    border-color: rgba(239, 68, 68, .2);
    color: #fca5a5
}

@media (max-width:767px) {
    .sifency-ag-box {
        padding: 40px 24px
    }

    .sifency-ag-title {
        font-size: 24px
    }

    .sifency-ag-layout-split .sifency-ag-box {
        flex-direction: column
    }

    .sifency-ag-split-img {
        width: 100%;
        min-height: 200px
    }

    .sifency-ag-layout-split .sifency-ag-content {
        width: 100%;
        padding: 40px 24px;
        text-align: center
    }

    .sifency-ag-layout-split .sifency-ag-actions {
        justify-content: center
    }

    .sifency-ag-btn {
        width: 100%
    }

    .sifency-ag-inputs-wrap {
        gap: 8px
    }

    .sifency-ag-input {
        width: 33%
    }
}