.elementor-117 .elementor-element.elementor-element-303e702c{--display:flex;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}/* Start custom CSS for text-editor, class: .elementor-element-13ea00d4 *//* ===== فونت و جهت کلی فرم ===== */
.wpcf7-form,
.wpcf7-form * {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    direction: rtl;
    text-align: right;
}

/* ===== باکس اصلی فرم (اختیاری - اگه فرم رو توی یه کارت جدا می‌ذاری) ===== */
.wpcf7 {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 10px;
    border: none;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
    padding: 20px;
}
/* ===== عنوان بالای فرم (اگه جدا از CF7 خودت می‌نویسی، این استایل رو بهش بده) ===== */
.form-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: right;
}

/* ===== استایل مشترک فیلدهای متنی (نام، ایمیل، موضوع) ===== */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"] {
    width: 100%;
    background-color: #f0f0f0;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px 18px;
    font-size: 15px;
    color: #333;
    margin-bottom: 10px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wpcf7-form input[type="text"]::placeholder,
.wpcf7-form input[type="email"]::placeholder {
    color: #9a9a9a;
    text-align: right;
}

/* ===== فیلد پیام (تکست‌اریا) ===== */
.wpcf7-form textarea {
    width: 100%;
    background-color: #ffffff;
    border: 1.5px solid #2196f3;
    border-radius: 12px;
    padding: 16px 18px;
    font-size: 15px;
    color: #333;
    min-height: 140px;
    resize: vertical;
    box-sizing: border-box;
    margin-bottom: 10px;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.12);
}

.wpcf7-form textarea::placeholder {
    color: #9a9a9a;
    text-align: right;
}

/* ===== حالت فوکوس روی فیلدهای متنی (وقتی کاربر کلیک می‌کنه) ===== */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #2196f3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.15);
}

/* ===== دکمه ارسال ===== */
.wpcf7-form input[type="submit"] {
    width: 100%;
    background-color: #ffe600;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    position: relative;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #ffd900;
}

.wpcf7-form input[type="submit"]:active {
    transform: scale(0.98);
}

/* ===== اضافه کردن آیکون هواپیمای کاغذی کنار متن دکمه ===== */

.wpcf7-form input[type="submit"] {
    text-align: center;
    padding: 16px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><line x1='22' y1='2' x2='11' y2='13'></line><polygon points='22 2 15 22 11 13 2 9 22 2'></polygon></svg>");
    background-repeat: no-repeat;
    background-position: calc(50% - 62px) center;
}

/* ===== حالت لودینگ CF7 (اسپینر پیش‌فرض رو مخفی می‌کنیم چون چپ‌چین میاد) ===== */
.wpcf7-spinner {
    margin: 0 8px 0 0;
}

/* ===== پیام موفقیت / خطا ===== */
.wpcf7-form.sent .wpcf7-response-output {
    border-color: #4caf50 !important;
    color: #2e7d32;
    border-radius: 10px;
    text-align: right;
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output {
    border-color: #f44336 !important;
    color: #c62828;
    border-radius: 10px;
    text-align: right;
}

/* ===== پیام خطای هر فیلد (زیر فیلدها) ===== */
.wpcf7-not-valid-tip {
    text-align: right;
    font-size: 13px;
    margin-top: -12px;
    margin-bottom: 12px;
    display: block;
}

/* ===== حذف حاشیه قرمز پیش‌فرض دور فیلدهای نامعتبر (اختیاری، برای ظاهر تمیزتر) ===== */
.wpcf7-form-control.wpcf7-not-valid {
    border-color: #f44336 !important;
}
.wpcf7-form p {
    margin: 0 0 10px 0;
}

.wpcf7-form p:last-of-type {
    margin-bottom: 0;
}/* End custom CSS */