/*
Theme Name: Vanilla Kindergarten Theme
Description: پوسته اختصاصی مهدکودک وانیلا با فونت ایران‌سنس و استایل اختصاصی برای گرویتی فرم شماره ۱.
Version: 2.7.1
Text Domain: vanilla
*/

/* ۱. تعریف فونت ایران‌سنس (نسخه متغیر) */
@font-face {
    font-family: 'IRANSans';
    src: url('fonts/IRANSansXV.woff2') format('woff2'),
         url('fonts/IRANSansXV.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ۲. اعمال فونت سراسری */
body {
    direction: rtl;
    text-align: right;
    font-family: 'IRANSans', sans-serif ;
}

.font-sans {
    font-family: 'IRANSans', sans-serif ;
}

/* ۱. تعریف فونت آوینی (نسخه متغیر) */

@font-face {
    font-family: 'aviny';
    src: url('fonts/aviny.woff2') format('woff2'),
        url('fonts/aviny.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}



.aviny {
    font-family: 'aviny' !important;
}



/* ۳. استایل اختصاصی و مدرن Gravity Forms - فقط برای فرم آی‌دی ۱ */

/* ظرف کلی فرم ۱ */
#gform_wrapper_1 {
    direction: rtl !important;
    max-width: 100% !important;
}

/* حذف حاشیه‌های پیش‌فرض */
#gform_wrapper_1 .gform_footer {
    border: none !important;
    padding: 0 !important;
    margin-top: 25px !important;
}

/* لیبل‌ها (عنوان فیلدها) */
#gform_wrapper_1 .gfield_label {
    font-family: 'IRANSans', sans-serif !important;
    font-weight: 800 !important;
    color: #2D3436 !important;
    font-size: 0.95rem !important;
    margin-bottom: 12px !important;
    display: block !important;
    padding-right: 10px !important;
}

/* استایل ورودی‌ها (Bubbly Style) - محدود به فرم ۱ */
#gform_1 input[type="text"],
#gform_1 input[type="tel"],
#gform_1 input[type="email"],
#gform_1 select,
#gform_1 textarea {
    background-color: #F8FAFC !important;
    border: 2px solid #F1F5F9 !important;
    border-radius: 2rem !important;
    padding: 16px 24px !important;
    font-family: 'IRANSans', sans-serif !important;
    font-size: 0.9rem !important;
    color: #475569 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* حالت هاور فیلدها */
#gform_1 input:hover,
#gform_1 textarea:hover {
    border-color: #E2E8F0 !important;
    background-color: #ffffff !important;
}

/* حالت فوکوس حرفه‌ای */
#gform_1 input:focus,
#gform_1 textarea:focus {
    background-color: #ffffff !important;
    border-color: #FF85A2 !important;
    box-shadow: 0 10px 25px -5px rgba(255, 133, 162, 0.15), 0 8px 10px -6px rgba(255, 133, 162, 0.1) !important;
    outline: none !important;
    transform: translateY(-2px) !important;
}

/* استایل دکمه ارسال (Submit Button) */
#gform_wrapper_1 .gform_button {
    background: linear-gradient(135deg, #FF85A2 0%, #ff6b8f 100%) !important;
    color: #ffffff !important;
    font-family: 'IRANSans', sans-serif !important;
    font-weight: 900 !important;
    font-size: 1.1rem !important;
    padding: 18px 40px !important;
    border-radius: 2.5rem !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    box-shadow: 0 10px 20px -5px rgba(255, 133, 162, 0.5) !important;
    width: 100% !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
    margin-top: 15px !important;
}

#gform_wrapper_1 .gform_button:hover {
    transform: translateY(-5px) scale(1.01) !important;
    box-shadow: 0 20px 35px -10px rgba(255, 133, 162, 0.6) !important;
    filter: brightness(1.05) !important;
}

/* پیام‌های خطا */
#gform_wrapper_1 .validation_error {
    background-color: #FFF1F2 !important;
    color: #E11