.elementor-1309 .elementor-element.elementor-element-42779c4{--display:flex;--min-height:100vh;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;}@media(min-width:768px){.elementor-1309 .elementor-element.elementor-element-42779c4{--content-width:100%;}}/* Start custom CSS for shortcode, class: .elementor-element-ff83c3f *//* ============================================
   RAGA DENTAL CLINIC - SURVEY FORM CSS (SCOPED)
   Brand Palette:
   - Background Cream:   #fcf8f3
   - Card White:         #fefefd
   - Logo Green:         #326b1b
   - Deep Teal:          #035356
   - Gold Accent:        #dfb078
   - Sage Green:         #92a38a
   - Olive Green:        #6a7a54
   - Dark Text:          #1a1a1a
   ============================================ */

/* Helper Variables */
:root {
  --raga-cream:       #fcf8f3;
  --raga-white:       #fefefd;
  --raga-green:       #326b1b;
  --raga-green-light: #4a8a2e;
  --raga-green-dark:  #1e4a0f;
  --raga-teal:        #035356;
  --raga-gold:        #dfb078;
  --raga-gold-dark:   #c4945a;
  --raga-sage:        #92a38a;
  --raga-olive:       #6a7a54;
  --raga-text:        #1a1a1a;
  --raga-text-muted:  #5a5a5a;
  --raga-border:      rgba(3, 83, 86, 0.12);
  --raga-shadow:      0 4px 24px rgba(3, 83, 86, 0.06);
  --raga-radius:      18px;
  --raga-radius-sm:   12px;
}

/* ============================================
   GLOBAL FORM SCOPING
   ============================================ */
.form_poll_custom .form_custom {
  max-width: 720px;
  margin: 0 auto;
  direction: rtl;

  color: var(--raga-text);
  line-height: 1.8;
  box-sizing: border-box;
}

.form_poll_custom .form_custom * {
  box-sizing: border-box;
}

/* Form Body Wrapper */
.form_poll_custom .gform-body {
  background: var(--raga-white);
  border-radius: var(--raga-radius);
  padding: 2.5rem;
  box-shadow: var(--raga-shadow);
  border: 1px solid var(--raga-border);
}

@media (max-width: 768px) {
  .form_poll_custom .gform-body {
    padding: 1.25rem;
    border-radius: var(--raga-radius-sm);
  }
}

/* ============================================
   PROGRESS BAR
   ============================================ */
.form_poll_custom .gf_progressbar_wrapper {
  margin-bottom: 2rem;
  text-align: center;
}

.form_poll_custom .gf_progressbar_title {
  font-size: 0.9rem;
  color: var(--raga-text-muted);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.form_poll_custom .gf_progressbar {
  height: 8px;
  background: #e8e4df;
  border-radius: 100px;
  overflow: hidden;
}

.form_poll_custom .gf_progressbar_percentage {
  height: 100%;
  background: linear-gradient(90deg, var(--raga-green), var(--raga-teal)) !important;
  border-radius: 100px;
  transition: width 0.5s ease;
  font-size: 0;
}

/* ============================================
   NAVIGATION BUTTONS
   ============================================ */
.form_poll_custom .gform-page-footer {
  display: flex;
  gap: 1.5rem; /* Increased gap for better spacing */
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--raga-border);
  flex-direction: row-reverse; /* Next on Right (in RTL), Prev on Left */
  justify-content: space-between; /* Default: Spread out */
}

.form_poll_custom .gform-theme-button,
.form_poll_custom .gform_button {
  flex: 1; /* Default: Take equal width */
  padding: 0.875rem 1.5rem;
  border-radius: var(--raga-radius-sm);
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
  white-space: nowrap; /* Prevent text wrapping */
}

/* Hide Gravity Forms default icons inside buttons */
.form_poll_custom .gform-theme-button::before,
.form_poll_custom .gform-theme-button::after,
.form_poll_custom .gform_button::before,
.form_poll_custom .gform_button::after {
  display: none !important;
  content: none !important;
}

.form_poll_custom .gform_next_button,
.form_poll_custom .gform_button {
  background: linear-gradient(135deg, var(--raga-teal), var(--raga-green));
  color: #fff;
  box-shadow: 0 4px 16px rgba(3, 83, 86, 0.25);
}

.form_poll_custom .gform_next_button:hover,
.form_poll_custom .gform_button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(3, 83, 86, 0.35);
}

.form_poll_custom .gform_previous_button {
  background: var(--raga-cream);
  color: var(--raga-text-muted);
  border: 1px solid var(--raga-border);
}

.form_poll_custom .gform_previous_button:hover {
  background: #f0ebe4;
  color: var(--raga-text);
}

/* ============================================
   MOBILE NAVIGATION FIX (Centered & Neat)
   ============================================ */
@media (max-width: 600px) {
  .form_poll_custom .gform-page-footer {
    flex-direction: row; /* Keep Next on Right, Prev on Left */
    justify-content: center !important; /* CENTER BUTTONS AS REQUESTED */
    gap: 1rem; /* Clean gap between buttons */
  }

  .form_poll_custom .gform-theme-button,
  .form_poll_custom .gform_button {
    flex: none; /* Remove equal width stretch */
    min-width: 140px; /* Ensure buttons are large enough to tap */
    padding: 0.875rem 2rem; /* Add padding for better touch target */
    font-size: 0.95rem;
  }
}

/* ============================================
   LABELS & DESCRIPTIONS
   ============================================ */
.form_poll_custom .gfield_label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--raga-text);
  margin-bottom: 0.5rem;
  display: block;
}

.form_poll_custom .gfield_description {
  font-size: 0.95rem;
  color: var(--raga-text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

/* ============================================
   INTRO SECTION
   ============================================ */
.form_poll_custom .first_field_custom .survey-intro {
  text-align: center;
  padding: 1rem 0.5rem;
}

.form_poll_custom .first_field_custom .survey-intro h2 {
  font-size: 1.75rem;
  color: var(--raga-green);
  margin-bottom: 1rem;
  font-weight: 800;
}

.form_poll_custom .first_field_custom .survey-intro p {
  font-size: 1rem;
  color: var(--raga-text-muted);
  margin-bottom: 1rem;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.form_poll_custom .first_field_custom .survey-intro strong {
  color: var(--raga-teal);
  font-weight: 700;
}

/* ============================================
   TEXT / PHONE / TEXTAREA INPUTS
   ============================================ */
.form_poll_custom input[type="text"],
.form_poll_custom input[type="tel"],
.form_poll_custom textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--raga-border);
  border-radius: var(--raga-radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--raga-text);
  background: var(--raga-cream);
  transition: all 0.3s ease;
  outline: none;
}

.form_poll_custom input[type="text"]:focus,
.form_poll_custom input[type="tel"]:focus,
.form_poll_custom textarea:focus {
  border-color: var(--raga-teal);
  background: var(--raga-white);
  box-shadow: 0 0 0 4px rgba(3, 83, 86, 0.08);
}

.form_poll_custom textarea {
  min-height: 140px;
  resize: vertical;
}

/* ============================================
   RADIO / CHECKBOX CARDS - GENERAL RESET
   ============================================ */
.form_poll_custom .gfield_radio,
.form_poll_custom .gfield_checkbox {
  display: grid;
justify-content:center;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  width: 100%;
}

.form_poll_custom .gchoice {
  position: relative;
  margin: 0;
}

/* Hide standard Radio Inputs visually */
.form_poll_custom .gfield-choice-input {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

/* Hide ANY default icons or pseudo-elements GF adds */
.form_poll_custom .gfield-choice-input + label::before,
.form_poll_custom .gfield-choice-input + label::after,
.form_poll_custom .gchoice::before,
.form_poll_custom .gchoice::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}

.form_poll_custom .gfield-choice-input + label svg,
.form_poll_custom .gfield-choice-input + label .gform-icon {
  display: none !important;
}

/* Card Label Styling */
.form_poll_custom .gfield-choice-input + label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--raga-cream);
  border: 2px solid var(--raga-border);
  border-radius: var(--raga-radius-sm);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--raga-text);
  width: 100%;
  height: 100%;
  text-align: center;
}

/* Hover State */
.form_poll_custom .gfield-choice-input + label:hover {
  border-color: var(--raga-sage);
  background: var(--raga-white);
  transform: translateX(-3px);
}

/* Selected State - Base */
.form_poll_custom .gfield-choice-input:checked + label {
  background: linear-gradient(135deg, rgba(3, 83, 86, 0.08), rgba(50, 107, 27, 0.08));
  border-color: var(--raga-teal);
  color: var(--raga-teal);
  font-weight: 700;
  box-shadow: 0 0 0 1px var(--raga-teal);
}

/* ============================================
   SPECIFIC FIELD OVERRIDES
   ============================================ */

/* 1. MOBILE FIELD (LTR) */
.form_poll_custom .mobile_Field_custom input[type="tel"] {
  text-align: left;
  direction: ltr;
  letter-spacing: 0.5px;
  font-family: monospace, inherit;
  font-size: 1.1rem;
}

/* 2. NAME FIELD */
.form_poll_custom .name_Field_custom label.gform-field-label--type-sub {
  font-size: 0.8rem;
  color: var(--raga-text-muted);
  margin-bottom: 0.35rem;
  display: block;
  font-weight: 500;
}

/* 3. SATISFACTION (Emojis) - Flex Column */
.form_poll_custom .rezayat_field_custom .gfield_radio {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}
.form_poll_custom .rezayat_field_custom .gfield-choice-input + label {
  flex-direction: column;
  padding: 1.5rem 1rem;
  gap: 0.5rem;
  font-size: 1.05rem;
}
.form_poll_custom .rezayat_field_custom .gfield-choice-input:checked + label {
  background: linear-gradient(135deg, rgba(223, 176, 120, 0.15), rgba(223, 176, 120, 0.25));
  border-color: var(--raga-gold);
  color: var(--raga-gold-dark);
  box-shadow: 0 0 0 1px var(--raga-gold);
  transform: scale(1.03);
}

/* 4. REASON (Reason Field) */
.form_poll_custom .reason_field_custom .gfield_radio {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

/* 5. DELAY (Timing) */
.form_poll_custom .taekhir_field_custom .gfield-choice-input:checked + label {
  background: linear-gradient(135deg, rgba(3, 83, 86, 0.08), rgba(3, 83, 86, 0.12));
  border-color: var(--raga-teal);
  color: var(--raga-teal);
}

/* 6. WELCOME */
.form_poll_custom .welcome_field_custom .gfield-choice-input:checked + label {
  background: linear-gradient(135deg, rgba(146, 163, 138, 0.12), rgba(146, 163, 138, 0.18));
  border-color: var(--raga-sage);
  color: var(--raga-olive);
}

/* 7. GUIDANCE */
.form_poll_custom .guidance_field_custom .gfield-choice-input:checked + label {
  background: linear-gradient(135deg, rgba(50, 107, 27, 0.08), rgba(50, 107, 27, 0.14));
  border-color: var(--raga-green);
  color: var(--raga-green);
}

/* 8. HARDNESS (Pain) - 2 Columns Force */
.form_poll_custom .hardness_filed_custom .gfield_radio {
  grid-template-columns: repeat(2, 1fr);
}
.form_poll_custom .hardness_filed_custom .gfield-choice-input:checked + label {
  background: linear-gradient(135deg, rgba(193, 94, 94, 0.08), rgba(193, 94, 94, 0.14));
  border-color: #c15e5e;
  color: #a04040;
}
@media (max-width: 480px) {
  .form_poll_custom .hardness_filed_custom .gfield-radio {
    grid-template-columns: 1fr;
  }
}

/* 9. FEEDBACK (Team) */
.form_poll_custom .feedback_field_custom .gfield-choice-input:checked + label {
  background: linear-gradient(135deg, rgba(106, 122, 84, 0.10), rgba(106, 122, 84, 0.16));
  border-color: var(--raga-olive);
  color: var(--raga-olive);
}

/* 10. CLEANLINESS (Stars) - Force 5 Columns */
.form_poll_custom .clean_field_custom .gfield_radio {
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}
.form_poll_custom .clean_field_custom .gfield-choice-input + label {
  padding: 1rem 0.5rem;
  font-size: 1.25rem;
  letter-spacing: 2px;
  justify-content: center;
}
.form_poll_custom .clean_field_custom .gfield-choice-input:checked + label {
  background: linear-gradient(135deg, rgba(223, 176, 120, 0.15), rgba(223, 176, 120, 0.25));
  border-color: var(--raga-gold);
  color: var(--raga-gold-dark);
  transform: scale(1.08);
}
@media (max-width: 480px) {
  .form_poll_custom .clean_field_custom .gfield_radio {
    grid-template-columns: repeat(5, 1fr);
  }
  .form_poll_custom .clean_field_custom .gfield-choice-input + label {
    padding: 0.75rem 0.1rem;
    font-size: 1rem;
  }
}

/* 11. PRICE */
.form_poll_custom .price_field_custom .gfield-choice-input:checked + label {
  background: linear-gradient(135deg, rgba(223, 176, 120, 0.10), rgba(223, 176, 120, 0.18));
  border-color: var(--raga-gold);
  color: var(--raga-gold-dark);
}

/* 12. NPS (0-10) - Force 11 Columns */
.form_poll_custom .Introduction_field_custom .gfield_radio {
  grid-template-columns: repeat(11, 1fr);
  gap: 0.4rem;
}
.form_poll_custom .Introduction_field_custom .gfield-choice-input + label {
  padding: 0.75rem 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--raga-radius-sm);
  justify-content: center;
}
.form_poll_custom .Introduction_field_custom .gfield-choice-input:checked + label {
  background: var(--raga-teal);
  color: #fff;
  border-color: var(--raga-teal);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(3, 83, 86, 0.3);
}

/* NPS Low Scores (0-3) */
.form_poll_custom .Introduction_field_custom .gchoice:nth-child(-n+4) .gfield-choice-input:checked + label {
  background: #b85c5c;
  border-color: #b85c5c;
}
/* NPS Mid Scores (4-6) */
.form_poll_custom .Introduction_field_custom .gchoice:nth-child(n+5):nth-child(-n+7) .gfield-choice-input:checked + label {
  background: var(--raga-gold-dark);
  border-color: var(--raga-gold-dark);
}
/* NPS High Scores (7-10) */
.form_poll_custom .Introduction_field_custom .gchoice:nth-child(n+8) .gfield-choice-input:checked + label {
  background: var(--raga-green);
  border-color: var(--raga-green);
}

@media (max-width: 640px) {
  .form_poll_custom .Introduction_field_custom .gfield_radio {
    gap: 0.25rem;
  }
  .form_poll_custom .Introduction_field_custom .gfield-choice-input + label {
    padding: 0.6rem 0.1rem;
    font-size: 0.85rem;
    border-radius: 8px;
  }
}

/* 13. SUGGESTION (Textarea) */
.form_poll_custom .suggest_field_custom textarea:focus {
  border-color: var(--raga-green);
  box-shadow: 0 0 0 4px rgba(50, 107, 27, 0.08);
}

/* ============================================
   UTILITIES & VALIDATION
   ============================================ */
.form_poll_custom .gfield_required {
  color: #c15e5e;
  font-size: 0.75em;
  margin-right: 4px;
}

.form_poll_custom .gform_validation_error .gfield_error input,
.form_poll_custom .gform_validation_error .gfield_error textarea {
  border-color: #c15e5c !important;
  background: #fdf5f5 !important;
}

.form_poll_custom .hidden_label .gfield_label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Page Transition Animation */
.form_poll_custom .gform_page {
  animation: fadeIn 0.4s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* "Other" Input Field Style */
.form_poll_custom .gchoice_other_control {
  margin-top: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--raga-border);
  border-radius: var(--raga-radius-sm);
  font-family: inherit;
  background: var(--raga-white);
  color: var(--raga-text);
}
.form_poll_custom .gchoice_other_control:focus {
  border-color: var(--raga-teal);
  outline: none;
  box-shadow: 0 0 0 3px rgba(3, 83, 86, 0.08);
}


/* ================================
   Gravity Forms - Final Success
================================ */

#gform_confirmation_wrapper_2 {
    width: 100%;
    min-height: 520px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 20px;

    direction: rtl;
}

/* کارت اصلی */
#gform_confirmation_message_2 {
    position: relative;

    width: min(620px, 100%);

    padding: 55px 45px 50px;

    text-align: center;

    background: #fffdf8;

    border: 1px solid rgba(65, 107, 14, 0.12);

    border-radius: 28px;

    box-shadow:
        0 20px 60px rgba(65, 107, 14, 0.08),
        0 4px 15px rgba(0, 0, 0, 0.03);

    animation: successCardIn 0.7s ease forwards;
}

/* دایره تیک */
#gform_confirmation_message_2::before {
    content: "✓";

    display: flex;
    align-items: center;
    justify-content: center;

    width: 82px;
    height: 82px;

    margin: 0 auto 28px;

    border-radius: 50%;

    background: #416b0e;
    color: #ffffff;

    font-size: 42px;
    font-weight: 700;

    box-shadow:
        0 10px 25px rgba(65, 107, 14, 0.22);

    animation: successCheck 0.6s ease 0.3s both;
}

/* عنوان */
#gform_confirmation_message_2 h3 {
    margin: 0 0 20px;

    color: #26351d;

    font-size: 30px;
    font-weight: 800;

    line-height: 1.6;
}

/* متن */
#gform_confirmation_message_2 .isSelectedEnd {
    margin: 0 auto 25px;

    max-width: 500px;

    color: #626b5d;

    font-size: 17px;
    font-weight: 400;

    line-height: 2.1;
}

/* متن پایانی */
#gform_confirmation_message_2 strong {
    display: inline-block;

    margin-top: 5px;

    padding: 10px 20px;

    border-radius: 50px;

    background: rgba(65, 107, 14, 0.08);

    color: #416b0e;

    font-size: 16px;
    font-weight: 700;
}

/* حذف br های اضافی */
#gform_confirmation_message_2 > br {
    display: none;
}


/* ================================
   Animations
================================ */

@keyframes successCardIn {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes successCheck {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    70% {
        transform: scale(1.08);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* ================================
   Mobile
================================ */

@media (max-width: 600px) {

    #gform_confirmation_wrapper_2 {
        min-height: 450px;
        padding: 25px 15px;
    }

    #gform_confirmation_message_2 {
        padding: 40px 22px 35px;
        border-radius: 22px;
    }

    #gform_confirmation_message_2::before {
        width: 70px;
        height: 70px;

        margin-bottom: 22px;

        font-size: 34px;
    }

    #gform_confirmation_message_2 h3 {
        font-size: 25px;
    }

    #gform_confirmation_message_2 .isSelectedEnd {
        font-size: 15px;
        line-height: 2;
    }

    #gform_confirmation_message_2 strong {
        font-size: 14px;
    }
}/* End custom CSS */