.elementor-22741 .elementor-element.elementor-element-e6f3f80{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--background-transition:0.3s;--margin-top:20px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-22741 .elementor-element.elementor-element-e6f3f80.e-con{--align-self:center;}#elementor-popup-modal-22741{background-color:rgba(0,0,0,.8);justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-22741 .dialog-message{width:500px;height:450px;align-items:center;}#elementor-popup-modal-22741 .dialog-close-button{display:flex;}#elementor-popup-modal-22741 .dialog-widget-content{box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}@media(max-width:767px){.elementor-22741 .elementor-element.elementor-element-e6f3f80{--margin-top:20px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}#elementor-popup-modal-22741 .dialog-message{width:340px;height:400px;}#elementor-popup-modal-22741{justify-content:center;align-items:center;}}/* Start custom CSS *//* ۱. تنظیم فونت و بدنه اصلی */
.sms-notif-form, 
.sms-notif-form *,
.sms-notif-mobile::placeholder {
    font-family: var(--e-global-typography-primary-font-family), sans-serif !important;
}

.sms-notif-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    direction: rtl;
    text-align: right;
    overflow: hidden;
}

/* ۲. کادر انیمیشنی دور گزینه "به من اطلاع بده" */
.sms-notif-enable-p {
    position: relative;
    display: flex !important;
    align-items: center !important;
    padding: 18px !important;
    margin-bottom: 25px !important;
    background: #fff;
    border-radius: 15px;
    z-index: 1;
    overflow: hidden; /* این برای بریدن نورهای اضافه حیاتی است */
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

/* لایه نوری که به صورت ماری می‌چرخد */
.sms-notif-enable-p::before {
    content: '';
    position: absolute;
    z-index: -2;
    left: -50%;
    top: -50%;
    width: 200%;
    height: 200%;
    background-color: transparent;
    background-repeat: no-repeat;
    /* رنگ نور در حال حرکت - می‌توانید غلظت سبز را اینجا تغییر دهید */
    background-image: conic-gradient(
        transparent, 
        transparent, 
        #27ae60, 
        #27ae60, 
        transparent 30%
    );
    animation: rotate-snake 3s linear infinite;
}

/* لایه پوششی برای ایجاد ضخامت خط (ماسک داخلی) */
.sms-notif-enable-p::after {
    content: '';
    position: absolute;
    z-index: -1;
    left: 3px; /* ضخامت خط انیمیشن اینجا مشخص می‌شود */
    top: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    background: white;
    border-radius: 12px;
}

@keyframes rotate-snake {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ۳. استایل گزینه‌های داخلی (شگفت‌انگیز و موجود شد) */
.sms-notif-groups-label {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 25px !important;
    cursor: pointer;
    font-size: 15px;
    color: #444;
    gap: 15px;
    padding-right: 10px;
}

.sms-notif-enable-label {
    display: flex !important;
    align-items: center !important;
    gap: 15px;
    margin: 0 !important;
    width: 100%;
}

/* ۴. استایل تیک‌ها (چک‌باکس) */
.sms-notif-form input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    height: 24px;
    width: 24px;
    background-color: #f8f8f8;
    border-radius: 7px;
    border: 1.5px solid #ddd;
    margin: 0 !important;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
}

.sms-notif-form input[type="checkbox"]:checked {
    background-color: #27ae60;
    border-color: #27ae60;
}

.sms-notif-form input[type="checkbox"]:checked::after {
    content: "✓";
    color: white;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
}

/* ۵. شماره موبایل (وسط‌چین) */
.sms-notif-mobile {
    width: 100% !important;
    height: 55px !important;
    border-radius: 12px !important;
    border: 2px solid #f0f0f0 !important;
    text-align: center !important; 
    font-size: 19px !important;
    font-weight: bold !important;
    color: #333 !important;
    background: #fdfdfd !important;
    margin-top: 15px !important;
    outline: none !important;
}

/* ۶. دکمه ثبت */
.sms-notif-submit {
    width: 100% !important;
    height: 55px !important;
    background-color: #27ae60 !important;
    color: #fff !important;
    border-radius: 12px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    border: none !important;
    margin-top: 20px !important;
    cursor: pointer !important;
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.2) !important;
}

/* ۷. پیام موفقیت و تراز آیکون */
.sms-notif-result {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;
    margin-top: 25px;
    width: 100%;
}

.sms-notif-result img {
    margin: 0 !important;
    width: 20px !important;
    height: 20px !important;
    transform: translateY(5px) !important;
}

.sms-notif-form br, #sms-notif-content br { display: none !important; }/* End custom CSS */