/* v1.13.3: responsive rules are confined to forms rendered by this plugin.
   Elementor, Bookly and other form plugins retain their own native layout and styling. */
.tb24-native-form{box-sizing:border-box}
.tb24-native-form *:not(.bookly-form):not(.bookly-form *),.tb24-native-form *:not(.bookly-form):not(.bookly-form *)::before,.tb24-native-form *:not(.bookly-form):not(.bookly-form *)::after{box-sizing:border-box}
.tb24-native-form{width:100%;max-width:100%;min-width:0}
.tb24-native-form img{max-width:100%;height:auto}
.tb24-native-form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=file]),
.tb24-native-form select,
.tb24-native-form textarea{max-width:100%;min-width:0;box-sizing:border-box}
.tb24-native-form .tb24-native-field,
.tb24-native-form .tb24-native-field-wide,
.tb24-native-form .tb24-doctor-form-section,
.tb24-native-form .tb24-doctor-schedule{min-width:0;max-width:100%}
.tb24-native-form .tb24-native-field input[type=file]{width:100%;max-width:100%}
@media(max-width:767px){
  .tb24-native-form{padding:clamp(12px,4vw,18px);margin-inline:0;border-radius:14px}
  .tb24-native-form .tb24-native-form-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;width:100%;max-width:100%}
  .tb24-native-form .tb24-native-field,
  .tb24-native-form .tb24-native-field-wide,
  .tb24-native-form .tb24-native-field.is-wide{grid-column:1/-1;width:100%;max-width:100%;min-width:0;margin-inline:0}
  .tb24-native-form .tb24-native-field input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=file]),
  .tb24-native-form .tb24-native-field select,
  .tb24-native-form .tb24-native-field textarea{display:block;width:100%;max-width:100%;min-width:0;font-size:16px;line-height:1.6}
  .tb24-native-form label{max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal}
  .tb24-native-form .tb24-native-form-submit{width:100%;max-width:100%;min-height:44px;white-space:normal;overflow-wrap:anywhere}
  .tb24-native-form .tb24-native-form-heading h2{font-size:clamp(18px,5vw,22px);line-height:1.55;overflow-wrap:anywhere}
  .tb24-native-form .tb24-native-form-heading p,
  .tb24-native-form .tb24-native-form-privacy,
  .tb24-native-form .tb24-native-field small{overflow-wrap:anywhere}
  .tb24-native-form .tb24-doctor-form-section{padding:clamp(10px,3.5vw,14px)}
  .tb24-native-form .tb24-doctor-day-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .tb24-native-form .tb24-doctor-day-list label{white-space:normal}
}


/* v1.15.7: light teal/blue design for native contact, complaint and lab forms.
   Keep a single-column form flow to minimize responsive-layout regression risk. */
.tb24-native-form{max-width:760px;margin:22px auto;padding:clamp(16px,3vw,26px);border:1px solid #d9e8ed;border-radius:18px;background:linear-gradient(180deg,#fff 0%,#f7fbfc 100%);box-shadow:0 10px 30px rgba(22,72,91,.07);color:#243c4f;font-family:inherit;direction:rtl}
.tb24-native-form .tb24-native-form-heading{margin:0 0 20px;padding:0 0 16px;border-bottom:1px solid #deebef}
.tb24-native-form .tb24-native-form-heading h2{margin:0 0 7px;color:#174759;font-size:clamp(19px,2.8vw,24px);font-weight:850;line-height:1.6}
.tb24-native-form .tb24-native-form-heading p{margin:0;color:#5d7381;font-size:13px;line-height:1.9}
.tb24-native-form .tb24-native-form-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;width:100%;max-width:100%;min-width:0}
.tb24-native-form .tb24-native-field{min-width:0;margin:0;padding:0}
.tb24-native-form .tb24-native-field>label{display:block;margin:0 0 7px;color:#2d4d5d;font-size:13px;font-weight:750;line-height:1.8}
.tb24-native-form .tb24-native-field>label span{color:#bf3f4b}
.tb24-native-form .tb24-native-field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=submit]),.tb24-native-form .tb24-native-field select,.tb24-native-form .tb24-native-field textarea{display:block;width:100%;max-width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #cddfe6;border-radius:10px;background:#fff;color:#223e50;box-shadow:none;font:inherit;font-size:14px;line-height:1.7;transition:border-color .18s ease,box-shadow .18s ease}
.tb24-native-form .tb24-native-field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=submit]):hover,.tb24-native-form .tb24-native-field select:hover,.tb24-native-form .tb24-native-field textarea:hover{border-color:#a5cbd5}
.tb24-native-form .tb24-native-field input:focus,.tb24-native-form .tb24-native-field select:focus,.tb24-native-form .tb24-native-field textarea:focus{outline:0;border-color:#188b99;box-shadow:0 0 0 3px rgba(24,139,153,.12)}
.tb24-native-form .tb24-native-field textarea{min-height:110px;resize:vertical}
.tb24-native-form .tb24-native-field input[type=file]{display:block;width:100%;max-width:100%;min-width:0;padding:10px;border:1px dashed #bad5df;border-radius:10px;background:#f8fcfd;font:inherit;font-size:13px;overflow-wrap:anywhere}
.tb24-native-form .tb24-native-form-submit{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin-top:18px;padding:11px 20px;border:0;border-radius:11px;background:linear-gradient(135deg,#188f88,#237f9a);color:#fff;font:inherit;font-size:14px;font-weight:850;cursor:pointer;box-shadow:0 6px 16px rgba(24,143,136,.16)}
.tb24-native-form .tb24-native-form-submit:hover{filter:brightness(1.04)}
.tb24-native-form .tb24-native-form-success{margin:0 0 16px;padding:14px 16px;border:1px solid #b6dfcc;border-right:4px solid #168458;border-radius:11px;background:#f0faf5;color:#176546;line-height:1.9}
.tb24-native-form .tb24-native-form-error{margin:0 0 16px;padding:14px 16px;border:1px solid #edc4c7;border-right:4px solid #c83b45;border-radius:11px;background:#fff7f6;color:#852e36;line-height:1.9}
.tb24-native-form .tb24-native-form-privacy{margin:14px 0 0;color:#68808d;font-size:11px;line-height:1.9}
.tb24-native-form .tb24-native-form-privacy a{color:#087e83;font-weight:700;text-decoration:underline;text-underline-offset:2px}
.tb24-native-form .tb24-native-form-honey{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:767px){.tb24-native-form{margin:14px 0;padding:16px 13px;border-radius:14px}.tb24-native-form .tb24-native-form-heading{margin-bottom:16px;padding-bottom:13px}.tb24-native-form .tb24-native-form-grid{grid-template-columns:minmax(0,1fr);gap:12px}.tb24-native-form .tb24-native-form-submit{width:100%;min-height:46px}.tb24-native-form .tb24-native-field label{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.tb24-native-form *{transition:none!important}}
