
.lml-form-wrap.lml-isolated,
.lml-form-wrap.lml-isolated *{
  box-sizing:border-box !important;
}

.lml-form-wrap.lml-isolated{
  color-scheme:light;
}

.lml-form-wrap.lml-isolated,
.lml-form-wrap.lml-isolated :where(input, textarea, select, button, label, a, span, p, h1, h2, h3, h4, h5, h6){
  font-family:var(--lml-font-family, inherit) !important;
}
.lml-form-wrap.lml-isolated :where(.lml-smart-select-panel, .lml-country-dropdown, .lml-smart-select-option, .lml-country-item, .lml-smart-select-option-label, .lml-smart-select-option-meta, .lml-country-name, .lml-country-dial, .lml-smart-select-search input, .lml-country-search input){
  font-family:var(--lml-dropdown-font-family, var(--lml-font-family, inherit)) !important;
}

.lml-form-wrap.lml-isolated :where(input, textarea, select, button){
  margin:0;
  -webkit-tap-highlight-color:transparent;
}

.lml-form-wrap.lml-isolated :where(input, textarea, select, button):focus{
  outline:none;
}

.lml-form-wrap.lml-isolated :where(input, textarea, select, button, .lml-smart-select-trigger, .lml-country-toggle, .lml-phone-field, .lml-choice-card, .lml-rating label, .lml-switch){
  background-clip:padding-box;
}

.lml-form-wrap{
  --lml-page-bg:#f8fafc;
  --lml-card-bg:#ffffff;
  --lml-field-bg:#ffffff;
  --lml-field-text:#0f172a;
  --lml-border:#dbe2ea;
  --lml-muted:#94a3b8;
  --lml-accent:#0f172a;
  --lml-button-bg:#0f172a;
  --lml-button-text:#ffffff;
  --lml-dropdown-bg:#ffffff;
  --lml-dropdown-text:#0f172a;
  --lml-dropdown-hover-bg:#f8fafc;
  --lml-dropdown-meta-text:#64748b;
  --lml-dropdown-search-bg:#f8fafc;
  --lml-dropdown-border:#dbe2ea;
  --lml-font-family:inherit;
  --lml-dropdown-font-family:inherit;
  --lml-dropdown-size:15px;
  --lml-country-size:15px;
  --lml-choice-size:15px;
  --lml-dropdown-weight:500;
  --lml-country-weight:500;
  --lml-choice-weight:600;
  --lml-title-size:28px;
  --lml-label-size:15px;
  --lml-input-size:16px;
  --lml-button-size:18px;
  --lml-helper-size:13px;
  --lml-font-weight:700;
  --lml-radius:22px;
  --lml-shadow:0 20px 60px rgba(15,23,42,.08);
  max-width:1120px;
  margin:0 auto;
  padding:24px;
  background:var(--lml-page-bg);
  font-family:var(--lml-font-family, inherit) !important;
  border:1px solid rgba(148,163,184,.18);
  border-radius:calc(var(--lml-radius) + 8px);
  box-shadow:var(--lml-shadow);
  box-sizing:border-box;
  position:relative;
  z-index:0;
  overflow:visible;
  isolation:isolate;
}


.lml-form{
  color:var(--lml-field-text);
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:16px;
}

.lml-field{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-bottom:0;
  position:relative;
  min-width:0;
}

.lml-field.is-hidden{
  display:none !important;
}

.lml-col-33{grid-column:span 4;}
.lml-col-50{grid-column:span 6;}
.lml-col-75{grid-column:span 9;}
.lml-col-100{grid-column:span 12;}
.lml-form .lml-field-type-submit,
.lml-form .lml-response{grid-column:1/-1;}

.lml-field.is-invalid .lml-smart-select-trigger,
.lml-field.is-invalid .lml-phone-field,
.lml-field.is-invalid input,
.lml-field.is-invalid textarea{
  border-color:#ef4444 !important;
  box-shadow:0 0 0 4px rgba(239,68,68,.10) !important;
}

.lml-field label{
  font-size:var(--lml-label-size);
  font-weight:var(--lml-font-weight);
  letter-spacing:-.01em;
  color:var(--lml-field-text);
}

.lml-field label span,
.lml-field label strong{
  color:var(--lml-accent);
}
.lml-field-label-inner{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.lml-field-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  border-radius:999px;
  background:rgba(15,23,42,.06);
  color:var(--lml-accent);
  flex:0 0 auto;
  font-size:15px;
}
.lml-field-icon i{
  line-height:1;
}

.lml-field input,
.lml-field textarea,
.lml-smart-select-trigger,
.lml-country-toggle,
.lml-country-search input,
.lml-phone-field,
.lml-option-group .lml-choice-card,
.lml-rating label,
.lml-switch{
  border:1px solid var(--lml-border);
  background:var(--lml-field-bg);
  color:var(--lml-field-text);
}

.lml-field input,
.lml-field textarea,
.lml-smart-select-trigger,
.lml-country-toggle,
.lml-phone-field{
  width:100%;
  box-sizing:border-box;
  border-radius:var(--lml-radius);
  font-size:var(--lml-input-size);
  outline:none;
  transition:.2s ease;
  box-shadow:0 1px 0 rgba(15,23,42,.02), 0 8px 22px rgba(15,23,42,.03);
  display:flex;
  align-items:stretch;
  overflow:hidden;
  font-family:var(--lml-font-family, inherit) !important;
  color:var(--lml-field-text) !important;
  background:var(--lml-field-bg) !important;
  border-color:var(--lml-border) !important;
}

.lml-field input,
.lml-field textarea{
  min-height:56px;
  padding:16px 18px;
  color:var(--lml-field-text) !important;
  background:var(--lml-field-bg) !important;
  border:1px solid var(--lml-border) !important;
}

.lml-field input::placeholder,
.lml-field textarea::placeholder,
.lml-country-search input::placeholder{
  color:var(--lml-muted);
  font-weight:500;
}

.lml-field input:focus,
.lml-field textarea:focus,
.lml-smart-select-trigger:focus,
.lml-country-toggle:focus,
.lml-country-search input:focus,
.lml-phone-field:focus-within{
  border-color:var(--lml-accent) !important;
  box-shadow:0 0 0 4px rgba(15,23,42,.10), 0 10px 28px rgba(15,23,42,.08) !important;
}

.lml-field textarea{
  min-height:160px;
  resize:vertical;
  line-height:1.6;
}

.lml-smart-select{
  position:relative;
  overflow:visible;
}

.lml-smart-select-trigger{
  min-height:56px;
  padding:0 18px;
  font-family:var(--lml-dropdown-font-family, var(--lml-font-family, inherit)) !important;
  font-size:var(--lml-dropdown-size);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  cursor:pointer;
  text-align:left;
  appearance:none;
}

.lml-smart-select-trigger-left{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.lml-smart-select--select .lml-smart-select-icon{display:none;}
.lml-smart-select--select .lml-smart-select-trigger-left{gap:0;}

.lml-smart-select-icon{
  width:30px;
  height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(15,23,42,.06);
  flex:0 0 auto;
  font-size:16px;
}

.lml-smart-select-label{
  font-weight:var(--lml-dropdown-weight);
  font-size:var(--lml-dropdown-size);
  color:var(--lml-field-text);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.lml-smart-select-label.is-placeholder{
  color:var(--lml-muted);
}

.lml-smart-select-caret{
  color:var(--lml-field-text);
  font-size:18px;
  line-height:1;
}

.lml-smart-select-panel{
  position:absolute;
  pointer-events:auto;
  z-index:9999;
  top:100%;
  left:0;
  right:0;
  margin-top:10px;
  border:1px solid var(--lml-dropdown-border);
  border-radius:24px;
  background:var(--lml-dropdown-bg);
  box-shadow:0 24px 70px rgba(15,23,42,.16);
  overflow:hidden;
  max-height:min(360px, calc(100vh - 40px));
}
.lml-smart-select.is-drop-up .lml-smart-select-panel{
  top:auto;
  bottom:100%;
  margin-top:0;
  margin-bottom:10px;
}

.lml-floating-panel{
  position:fixed !important;
  margin:0 !important;
  z-index:2147483647 !important;
  left:0;
  top:0;
  right:auto;
  bottom:auto;
  width:min(420px, calc(100vw - 32px));
  max-width:calc(100vw - 32px);
  pointer-events:auto;
  transform:none !important;
}

.lml-floating-panel.lml-smart-select-panel,
.lml-floating-panel.lml-country-dropdown{
  background:var(--lml-dropdown-bg);
  color:var(--lml-dropdown-text);
}

.lml-smart-select-panel[hidden],
.lml-country-dropdown[hidden]{
  display:none !important;
}

.lml-smart-select-search{
  padding:12px;
  border-bottom:1px solid var(--lml-dropdown-border);
  background:var(--lml-dropdown-search-bg);
}

.lml-smart-select-search input{
  width:100%;
  min-height:48px;
  padding:0 14px;
  border-radius:16px;
  border:1px solid var(--lml-dropdown-border);
  outline:none;
  box-sizing:border-box;
  background:var(--lml-field-bg);
  color:var(--lml-dropdown-text);
}

.lml-smart-select-list{
  max-height:min(320px, calc(100vh - 140px));
  overflow:auto;
}

.lml-smart-select-option{
  width:100%;
  font-size:var(--lml-dropdown-size);
  font-family:var(--lml-dropdown-font-family, var(--lml-font-family, inherit)) !important;
  border:0;
  background:transparent;
  padding:12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  cursor:pointer;
  text-align:left;
  border-bottom:1px solid rgba(148,163,184,.10);
  color:var(--lml-dropdown-text);
}

.lml-smart-select-option:hover{
  background:var(--lml-dropdown-hover-bg);
}

.lml-smart-select-option-left{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.lml-smart-select-flag{
  width:32px;
  height:32px;
  border-radius:999px;
  background:rgba(15,23,42,.06);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  flex:0 0 auto;
}

.lml-smart-select-option-label{
  font-weight:var(--lml-dropdown-weight);
  font-size:var(--lml-dropdown-size);
  color:var(--lml-field-text);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.lml-smart-select-option-meta{
  font-size:calc(var(--lml-dropdown-size) - 2px);
  font-weight:var(--lml-dropdown-weight);
  color:var(--lml-dropdown-meta-text);
  flex:0 0 auto;
}

.lml-country-empty{
  padding:14px;
  color:#64748b;
  font-weight:700;
}

.lml-phone-field{
  display:grid;
  grid-template-columns:90px minmax(0, 1fr);
  gap:10px;
  position:relative;
  padding:0;
  overflow:visible;
  width:100%;
}

.lml-country-toggle{
  min-height:56px;
  padding:0 10px;
  font-family:var(--lml-dropdown-font-family, var(--lml-font-family, inherit)) !important;
  font-size:var(--lml-country-size);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  cursor:pointer;
  text-align:left;
}

.lml-phone-input{
  flex:1 1 auto;
  min-width:0;
  border:0;
  border-radius:0;
  box-shadow:none;
  background:transparent;
}

.lml-country-flag{
  width:30px;
  height:30px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(15,23,42,.06);
  flex:0 0 auto;
  font-size:18px;
}

.lml-country-dial{
  color:var(--lml-dropdown-meta-text);
  font-weight:var(--lml-country-weight);
  font-size:calc(var(--lml-country-size) - 1px);
}

.lml-country-search{
  padding:0;
}

.lml-country-search input{
  width:100%;
  min-height:48px;
  border-radius:16px;
  padding:0 14px;
  border:1px solid var(--lml-dropdown-border);
  outline:none;
  background:var(--lml-field-bg);
  color:var(--lml-dropdown-text);
}

.lml-country-dropdown{
  position:absolute;
  pointer-events:auto;
  z-index:10000;
  top:100%;
  left:0;
  width:min(100%, 400px);
  margin-top:10px;
  border:1px solid var(--lml-dropdown-border);
  border-radius:24px;
  background:var(--lml-dropdown-bg);
  box-shadow:0 24px 70px rgba(15,23,42,.16);
  overflow:hidden;
  max-height:min(360px, calc(100vh - 40px));
}
.lml-phone-field.is-drop-up .lml-country-dropdown{
  top:auto;
  bottom:100%;
  margin-top:0;
  margin-bottom:10px;
}

.lml-country-list{
  max-height:min(320px, calc(100vh - 140px));
  overflow:auto;
}

.lml-country-item{
  width:100%;
  font-size:var(--lml-country-size);
  font-family:var(--lml-dropdown-font-family, var(--lml-font-family, inherit)) !important;
  border:0;
  background:transparent;
  padding:12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  cursor:pointer;
  text-align:left;
  border-bottom:1px solid rgba(148,163,184,.10);
  color:var(--lml-dropdown-text);
}

.lml-country-item:hover{
  background:var(--lml-dropdown-hover-bg);
}

.lml-country-left{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.lml-country-name{
  font-weight:var(--lml-country-weight);
  font-size:var(--lml-country-size);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.lml-option-group{
  display:grid;
  gap:12px;
}

.lml-choice-card{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border-radius:20px;
  cursor:pointer;
  transition:.2s ease;
  box-shadow:0 1px 0 rgba(15,23,42,.02), 0 8px 22px rgba(15,23,42,.03);
}

.lml-choice-card:hover{
  border-color:var(--lml-accent);
  box-shadow:0 0 0 4px rgba(15,23,42,.06), 0 10px 28px rgba(15,23,42,.08);
}

.lml-choice-card input{
  width:18px;
  height:18px;
  accent-color:var(--lml-accent);
  margin:0;
  flex:0 0 auto;
}

.lml-choice-card-text{
  font-weight:var(--lml-choice-weight);
  font-size:var(--lml-choice-size);
  line-height:1.35;
}

.lml-option-group--radio{
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
}

.lml-option-group--checkbox{
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
}

.lml-rating{
  display:flex;
  flex-direction:row-reverse;
  justify-content:flex-end;
  gap:8px;
}

.lml-rating input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.lml-rating label{
  width:54px;
  height:54px;
  border-radius:16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-size:24px;
  line-height:1;
  font-weight:900;
  transition:.2s ease;
  box-shadow:0 1px 0 rgba(15,23,42,.02), 0 8px 22px rgba(15,23,42,.03);
}

.lml-rating label:hover,
.lml-rating label:hover ~ label,
.lml-rating input:checked ~ label{
  border-color:var(--lml-accent);
  background:rgba(15,23,42,.04);
}

.lml-switch{
  display:inline-flex;
  align-items:center;
  gap:12px;
  width:fit-content;
  min-height:56px;
  padding:10px 14px;
  border-radius:999px;
  cursor:pointer;
}

.lml-switch input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.lml-switch-ui{
  width:52px;
  height:30px;
  border-radius:999px;
  position:relative;
  background:#cbd5e1;
  transition:.2s ease;
  flex:0 0 auto;
}

.lml-switch-ui::after{
  content:'';
  position:absolute;
  top:4px;
  left:4px;
  width:22px;
  height:22px;
  border-radius:999px;
  background:#fff;
  box-shadow:0 4px 12px rgba(15,23,42,.18);
  transition:.2s ease;
}

.lml-switch input:checked + .lml-switch-ui{
  background:var(--lml-accent);
}

.lml-switch input:checked + .lml-switch-ui::after{
  transform:translateX(22px);
}

.lml-switch-label{
  font-weight:700;
}

.lml-html{
  font-size:14px;
  color:#475569;
  line-height:1.7;
}

.lml-title{
  margin:0;
  font-size:24px;
  font-weight:900;
  letter-spacing:-.02em;
  color:var(--lml-field-text);
}

.lml-sep{
  border:0;
  border-top:1px solid var(--lml-border);
  margin:8px 0;
}

.lml-submit{
  width:100%;
  border:0;
  min-height:64px;
  border-radius:999px;
  background:var(--lml-button-bg) !important;
  color:var(--lml-button-text) !important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  font-size:16px;
  font-weight:800;
  cursor:pointer;
  transition:.2s ease;
  box-shadow:0 18px 40px rgba(15,23,42,.18);
}

.lml-submit,
.lml-submit *{
  color:var(--lml-button-text) !important;
}

.lml-submit:hover{
  transform:translateY(-1px);
  filter:brightness(1.03);
}

.lml-submit:active{
  transform:translateY(0);
}

.lml-submit-icon{
  display:inline-flex;
  width:30px;
  height:30px;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  font-size:14px;
  line-height:1;
}

.lml-response{
  margin-top:6px;
  min-height:24px;
  font-size:14px;
  font-weight:700;
}

.lml-response.is-success{
  color:#15803d;
}

.lml-response.is-error{
  color:#dc2626;
}

.lml-form-wrap.lml-isolated input,
.lml-form-wrap.lml-isolated textarea,
.lml-form-wrap.lml-isolated select{
  color:var(--lml-field-text) !important;
}

.lml-form-wrap.lml-isolated button,
.lml-form-wrap.lml-isolated .lml-submit,
.lml-form-wrap.lml-isolated .lml-submit *{
  color:var(--lml-button-text) !important;
}


.lml-turnstile{
  grid-column:1/-1;
  display:flex;
  justify-content:flex-start;
  margin:6px 0 2px;
}

.lml-turnstile .cf-turnstile{
  transform-origin:left top;
}

@media (max-width: 640px){
  .lml-turnstile{
    overflow-x:auto;
  }
}

.lml-notice{
  padding:16px 18px;
  border:1px solid #fde68a;
  background:#fffbeb;
  border-radius:18px;
  color:#92400e;
}

.lml-select{
  width:100%;
  min-height:46px;
  padding:12px 14px;
  border:1px solid #d6dce4;
  border-radius:14px;
  background:#fff;
  box-sizing:border-box;
  box-shadow:none;
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  background-image:none;
}

.lml-select:focus{
  border-color:var(--lml-accent);
  box-shadow:0 0 0 4px rgba(15,23,42,.10), 0 10px 28px rgba(15,23,42,.08);
}

.lml-success-screen{
  margin-top:24px;
  border:1px solid rgba(148,163,184,.18);
  border-radius:24px;
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96));
  box-shadow:var(--lml-shadow);
  padding:24px;
}

.lml-success-card{
  max-width:620px;
  margin:0 auto;
  text-align:center;
  display:grid;
  gap:14px;
  justify-items:center;
}

.lml-success-icon{
  width:90px;
  height:90px;
  border-radius:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#e8f5ee;
  color:#16a34a;
  font-size:42px;
}

.lml-success-title{
  margin:0;
  font-size:clamp(28px, 4vw, 44px);
  line-height:1.08;
  letter-spacing:-.03em;
  color:#111827;
  font-weight:900;
}

.lml-success-text{
  margin:0;
  max-width:56ch;
  color:#4b5563;
  font-size:16px;
  line-height:1.7;
}

.lml-success-ref{
  margin:0;
  color:#334155;
  font-weight:800;
  font-size:14px;
}

.lml-success-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
  margin-top:8px;
}

.lml-success-close,
.lml-success-home{
  min-height:48px;
  padding:0 18px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  text-decoration:none;
  cursor:pointer;
  border:1px solid #d0d7de;
  transition:.2s ease;
}

.lml-success-close{
  background:#fff;
  color:#111827;
}

.lml-success-home{
  background:#111827;
  color:#fff;
  border-color:#111827;
}

.lml-success-close:hover,
.lml-success-home:hover{
  transform:translateY(-1px);
}


@media (max-width: 1024px){
  .lml-phone-field{
    grid-template-columns:100px minmax(0, 1fr);
  }

  .lml-country-dropdown{
    width:100%;
  }
}

@media (max-width: 768px){
  .lml-col-33,.lml-col-50,.lml-col-75,.lml-col-100{grid-column:1/-1;}
  .lml-smart-select-trigger{padding:0 14px;}
  .lml-phone-field{
    grid-template-columns:1fr;
    gap:8px;
  }
  .lml-country-toggle{
    width:100%;
    border-radius:var(--lml-radius);
    min-height:52px;
  }
  .lml-smart-select-trigger,.lml-country-toggle{
    font-size:15px;
  }
  .lml-phone-input{
    width:100%;
    padding:16px 18px;
    border-radius:var(--lml-radius);
    border-top:1px solid var(--lml-border);
  }
  .lml-country-toggle .lml-country-dial{
    font-size:14px;
    font-weight:500;
  }
}

@media (max-width: 640px){
  .lml-form-wrap{
    padding:16px;
    border-radius:24px;
  }

  .lml-success-screen{
    padding:18px;
  }

  .lml-option-group--radio,
  .lml-option-group--checkbox{
    grid-template-columns:1fr;
  }

  .lml-rating label{
    width:48px;
    height:48px;
  }
}


.lml-form-wrap.lml-isolated select,
.lml-form-wrap.lml-isolated .lml-select{
  appearance:none !important;
  -webkit-appearance:none !important;
  -moz-appearance:none !important;
  background-image:none !important;
}
.lml-form-wrap.lml-isolated select::-ms-expand{
  display:none;
}
.lml-form-wrap.lml-isolated .lml-phone-field .lml-phone-input{
  background:transparent !important;
}
@media (max-width: 767px){
  .lml-phone-field{
    grid-template-columns:1fr;
  }
  .lml-country-toggle{
    width:100%;
  }
}



.lml-form-wrap.lml-isolated .lml-smart-select-panel,
.lml-form-wrap.lml-isolated .lml-country-dropdown,
.lml-form-wrap.lml-isolated .lml-floating-panel.lml-smart-select-panel,
.lml-form-wrap.lml-isolated .lml-floating-panel.lml-country-dropdown{
  color:var(--lml-dropdown-text) !important;
  background:var(--lml-dropdown-bg) !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-option,
.lml-form-wrap.lml-isolated .lml-smart-select-option *,
.lml-form-wrap.lml-isolated .lml-country-option,
.lml-form-wrap.lml-isolated .lml-country-option *{
  color:var(--lml-dropdown-text) !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-option-meta,
.lml-form-wrap.lml-isolated .lml-country-option-meta,
.lml-form-wrap.lml-isolated .lml-smart-select-option-label,
.lml-form-wrap.lml-isolated .lml-country-option-label{
  color:var(--lml-dropdown-text) !important;
}

.lml-form-wrap.lml-isolated .lml-submit,
.lml-form-wrap.lml-isolated .lml-submit span,
.lml-form-wrap.lml-isolated .lml-submit .lml-submit-icon{
  color:var(--lml-button-text) !important;
}


/* Hide technical values for normal select lists */
.lml-smart-select--select .lml-smart-select-option-meta{
  display:none !important;
}
.lml-smart-select--select .lml-smart-select-option{
  justify-content:flex-start;
}


.lml-consent{
  align-items:flex-start;
  gap:12px;
}
.lml-consent .lml-switch-label{
  line-height:1.5;
}


/* ===== PREMIUM FRONTEND UPGRADE ===== */
.lml-form-wrap.lml-premium-shell{
  position:relative;
  overflow:clip;
  padding:28px;
  background:
    radial-gradient(circle at top left, rgba(37,99,235,.08), transparent 30%),
    radial-gradient(circle at top right, rgba(14,165,233,.08), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.lml-form-wrap.lml-premium-shell .lml-form-hero{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);
  gap:18px;
  align-items:stretch;
  margin-bottom:20px;
}

.lml-form-hero .lml-hero-copy,
.lml-form-hero .lml-context-card{
  background:rgba(255,255,255,.78);
  border:1px solid rgba(148,163,184,.18);
  border-radius:28px;
  box-shadow:0 18px 50px rgba(15,23,42,.06);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

.lml-form-hero .lml-hero-copy{
  padding:28px 28px 24px;
}

.lml-hero-badge,
.lml-context-card-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  background:linear-gradient(135deg, rgba(37,99,235,.10), rgba(37,99,235,.04));
  color:#1d4ed8;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.lml-hero-title{
  margin:14px 0 10px;
  font-size:clamp(28px, 4vw, 48px);
  line-height:1.03;
  letter-spacing:-.04em;
  color:#0f172a;
  font-weight:800;
}

.lml-hero-text,
.lml-context-card-text{
  margin:0;
  color:#475569;
  font-size:15px;
  line-height:1.75;
}

.lml-trust-chips,
.lml-context-card-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.lml-chip,
.lml-context-card-tags span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.18);
  background:#fff;
  color:#0f172a;
  font-size:12px;
  font-weight:700;
  box-shadow:0 8px 20px rgba(15,23,42,.04);
}

.lml-chip i{color:#1d4ed8;}

.lml-context-card{
  padding:24px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.lml-context-card-title{
  margin:12px 0 10px;
  font-size:22px;
  line-height:1.15;
  letter-spacing:-.03em;
  color:#0f172a;
}

.lml-form-main{
  position:relative;
  z-index:1;
}

.lml-form-wrap.lml-premium-shell .lml-form{
  background:rgba(255,255,255,.86);
  border:1px solid rgba(148,163,184,.16);
  border-radius:26px;
  padding:22px;
  box-shadow:0 18px 50px rgba(15,23,42,.08);
}

.lml-form-wrap.lml-premium-shell .lml-field label{
  font-weight:650;
}

.lml-form-wrap.lml-premium-shell .lml-switch,
.lml-form-wrap.lml-premium-shell .lml-consent{
  border-radius:18px;
  padding:14px 16px;
  background:linear-gradient(180deg,#fff,#f8fbff);
  border-color:rgba(148,163,184,.16);
}

.lml-form-wrap.lml-premium-shell .lml-switch-label{
  font-weight:500;
  line-height:1.55;
}

.lml-form-wrap.lml-premium-shell .lml-consent-links a{
  color:#1d4ed8;
  text-decoration:none;
  font-weight:700;
}

.lml-form-wrap.lml-premium-shell .lml-submit{
  min-height:58px;
  border-radius:18px;
  background:linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
  box-shadow:0 18px 40px rgba(37,99,235,.22);
}

.lml-form-wrap.lml-premium-shell .lml-response{
  border-radius:18px;
}

.lml-form-wrap.lml-premium-shell .lml-success-card{
  border-radius:28px;
}

@media (max-width: 960px){
  .lml-form-wrap.lml-premium-shell{padding:18px;}
  .lml-form-wrap.lml-premium-shell .lml-form-hero{
    grid-template-columns:1fr;
  }
  .lml-form-wrap.lml-premium-shell .lml-form,
  .lml-form-hero .lml-hero-copy,
  .lml-form-hero .lml-context-card{
    border-radius:24px;
  }
}

@media (max-width: 640px){
  .lml-form-wrap.lml-premium-shell{padding:12px;}
  .lml-form-wrap.lml-premium-shell .lml-form{
    padding:16px;
  }
  .lml-form-hero .lml-hero-copy,
  .lml-context-card{
    padding:18px;
  }
  .lml-hero-title{font-size:clamp(24px, 9vw, 34px);}
}


/* ===== UX REVAMP v4.4.1 ===== */
.lml-form-wrap.lml-isolated{
  --lml-input-radius:var(--lml-radius, 18px);
  --lml-field-gap:14px;
}

.lml-form-wrap.lml-isolated .lml-form{
  gap:18px;
}

.lml-form-wrap.lml-isolated .lml-field{
  gap:8px;
}

.lml-form-wrap.lml-isolated .lml-field label{
  font-size:var(--lml-label-size) !important;
  font-weight:var(--lml-font-weight) !important;
  line-height:1.35 !important;
  letter-spacing:-.01em;
  color:var(--lml-field-text) !important;
}

.lml-form-wrap.lml-isolated .lml-field input,
.lml-form-wrap.lml-isolated .lml-field textarea,
.lml-form-wrap.lml-isolated .lml-smart-select-trigger,
.lml-form-wrap.lml-isolated .lml-country-toggle,
.lml-form-wrap.lml-isolated .lml-select{
  min-height:52px !important;
  border-radius:var(--lml-input-radius) !important;
}

.lml-form-wrap.lml-isolated .lml-field input,
.lml-form-wrap.lml-isolated .lml-field textarea{
  padding:14px 16px !important;
  font-weight:var(--lml-font-weight) !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-trigger{
  padding:0 16px !important;
  font-weight:var(--lml-dropdown-weight) !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-label,
.lml-form-wrap.lml-isolated .lml-smart-select-option-label{
  font-weight:var(--lml-dropdown-weight) !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-option-meta{
  font-weight:var(--lml-dropdown-weight) !important;
}

.lml-form-wrap.lml-isolated .lml-country-dial{
  font-weight:var(--lml-country-weight) !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-icon,
.lml-form-wrap.lml-isolated .lml-country-flag,
.lml-form-wrap.lml-isolated .lml-field-icon{
  width:28px;
  height:28px;
  font-size:15px;
}

.lml-form-wrap.lml-isolated .lml-phone-field{
  grid-template-columns:84px minmax(0,1fr) !important;
  gap:8px !important;
}

.lml-form-wrap.lml-isolated .lml-country-toggle{
  min-height:52px !important;
  padding:0 8px !important;
  justify-content:space-between !important;
}

.lml-form-wrap.lml-isolated .lml-country-toggle .lml-country-dial{
  font-size:calc(var(--lml-country-size) - 1px) !important;
}

.lml-form-wrap.lml-isolated .lml-country-dropdown{
  width:min(100%, 360px) !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-panel,
.lml-form-wrap.lml-isolated .lml-country-dropdown{
  border-radius:20px !important;
  box-shadow:0 24px 60px rgba(15,23,42,.14) !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-search,
.lml-form-wrap.lml-isolated .lml-country-search{
  padding:10px !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-search input,
.lml-form-wrap.lml-isolated .lml-country-search input{
  min-height:44px !important;
  border-radius:14px !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-option,
.lml-form-wrap.lml-isolated .lml-country-item{
  padding:11px 14px !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-option-label{
  font-size:var(--lml-dropdown-size) !important;
}

.lml-form-wrap.lml-isolated .lml-consent{
  padding:14px 16px !important;
  border-radius:18px !important;
  align-items:flex-start !important;
  gap:10px !important;
}

.lml-form-wrap.lml-isolated .lml-switch-label{
  font-size:calc(var(--lml-label-size) + 0px) !important;
  line-height:1.55 !important;
}

.lml-form-wrap.lml-isolated .lml-submit{
  min-height:58px !important;
  border-radius:18px !important;
  font-size:16px !important;
  font-weight:700 !important;
  box-shadow:0 16px 34px rgba(15,23,42,.16) !important;
}

.lml-form-wrap.lml-isolated .lml-response{
  font-size:13px !important;
  min-height:20px;
}

.lml-form-wrap.lml-isolated .lml-success-screen{
  border-radius:22px;
}

.lml-form-wrap.lml-isolated .lml-success-title{
  font-weight:900;
}

.lml-form-wrap.lml-isolated .lml-field.is-invalid .lml-smart-select-trigger,
.lml-form-wrap.lml-isolated .lml-field.is-invalid .lml-phone-field,
.lml-form-wrap.lml-isolated .lml-field.is-invalid input,
.lml-form-wrap.lml-isolated .lml-field.is-invalid textarea{
  box-shadow:0 0 0 4px rgba(239,68,68,.08) !important;
}

@media (max-width: 768px){
  .lml-form-wrap.lml-isolated{
    padding:14px;
  }

  .lml-form-wrap.lml-isolated .lml-form{
    gap:14px;
  }

  .lml-form-wrap.lml-isolated .lml-phone-field{
    grid-template-columns:1fr !important;
  }

  .lml-form-wrap.lml-isolated .lml-country-toggle{
    width:100%;
  }

  .lml-form-wrap.lml-isolated .lml-country-dropdown{
    width:100% !important;
  }

  .lml-form-wrap.lml-isolated .lml-smart-select-trigger,
  .lml-form-wrap.lml-isolated .lml-country-toggle{
    min-height:50px !important;
  }

  .lml-form-wrap.lml-isolated .lml-submit{
    min-height:56px !important;
  }
}


/* --- FIX: dropdown contrast / theme conflicts --- */
.lml-form-wrap.lml-isolated,
.lml-form-wrap.lml-isolated *{
  color-scheme: light !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-panel,
.lml-form-wrap.lml-isolated .lml-country-dropdown{
  background: var(--lml-dropdown-bg) !important;
  background-color: var(--lml-dropdown-bg) !important;
  color: var(--lml-dropdown-text) !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-search,
.lml-form-wrap.lml-isolated .lml-country-search{
  background: var(--lml-dropdown-search-bg) !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-search input,
.lml-form-wrap.lml-isolated .lml-country-search input{
  background: #fff !important;
  color: var(--lml-dropdown-text) !important;
  -webkit-text-fill-color: var(--lml-dropdown-text) !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-option,
.lml-form-wrap.lml-isolated .lml-country-item{
  background: #fff !important;
  background-color: #fff !important;
  color: var(--lml-dropdown-text) !important;
  -webkit-text-fill-color: var(--lml-dropdown-text) !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-option:hover,
.lml-form-wrap.lml-isolated .lml-country-item:hover{
  background: var(--lml-dropdown-hover-bg) !important;
  background-color: var(--lml-dropdown-hover-bg) !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-option-label,
.lml-form-wrap.lml-isolated .lml-country-name{
  color: var(--lml-dropdown-text) !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-option-meta,
.lml-form-wrap.lml-isolated .lml-country-dial,
.lml-form-wrap.lml-isolated .lml-country-empty{
  color: var(--lml-dropdown-meta-text) !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-option,
.lml-form-wrap.lml-isolated .lml-country-item{
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* ===========================
   FIX COMPLET : DROPDOWNS BLANCS
   Texte foncé + contraste propre
=========================== */

.lml-form-wrap.lml-isolated,
.lml-form-wrap.lml-isolated *{
  color-scheme: light !important;
}

/* Panels */
.lml-form-wrap.lml-isolated .lml-smart-select-panel,
.lml-form-wrap.lml-isolated .lml-country-dropdown,
.lml-form-wrap.lml-isolated .lml-floating-panel.lml-smart-select-panel,
.lml-form-wrap.lml-isolated .lml-floating-panel.lml-country-dropdown{
  background:#ffffff !important;
  background-color:#ffffff !important;
  color:#111827 !important;
  border:1px solid #e5e7eb !important;
  box-shadow:0 20px 60px rgba(0,0,0,.12) !important;
}

/* List containers */
.lml-form-wrap.lml-isolated .lml-smart-select-list,
.lml-form-wrap.lml-isolated .lml-country-list{
  background:#ffffff !important;
}

/* Search area */
.lml-form-wrap.lml-isolated .lml-smart-select-search,
.lml-form-wrap.lml-isolated .lml-country-search{
  background:#ffffff !important;
  border-bottom:1px solid #e5e7eb !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-search input,
.lml-form-wrap.lml-isolated .lml-country-search input{
  background:#ffffff !important;
  color:#111827 !important;
  -webkit-text-fill-color:#111827 !important;
  border:1px solid #d1d5db !important;
  outline:none !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-search input::placeholder,
.lml-form-wrap.lml-isolated .lml-country-search input::placeholder{
  color:#94a3b8 !important;
}

/* Options */
.lml-form-wrap.lml-isolated .lml-smart-select-option,
.lml-form-wrap.lml-isolated .lml-country-item{
  width:100% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  background:#ffffff !important;
  background-color:#ffffff !important;
  color:#111827 !important;
  -webkit-text-fill-color:#111827 !important;
  border:0 !important;
  border-bottom:1px solid #f1f5f9 !important;
  box-shadow:none !important;
  text-shadow:none !important;
  text-decoration:none !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-option:hover,
.lml-form-wrap.lml-isolated .lml-country-item:hover{
  background:#f3f4f6 !important;
  background-color:#f3f4f6 !important;
  color:#111827 !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-option:active,
.lml-form-wrap.lml-isolated .lml-country-item:active,
.lml-form-wrap.lml-isolated .lml-smart-select-option:focus,
.lml-form-wrap.lml-isolated .lml-country-item:focus{
  background:#e5e7eb !important;
  background-color:#e5e7eb !important;
  color:#111827 !important;
  outline:none !important;
}

/* Text inside options */
.lml-form-wrap.lml-isolated .lml-smart-select-option *,
.lml-form-wrap.lml-isolated .lml-country-item *{
  color:#111827 !important;
  -webkit-text-fill-color:#111827 !important;
  fill:#111827 !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-option-label,
.lml-form-wrap.lml-isolated .lml-country-name{
  color:#111827 !important;
  font-weight:600 !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-option-meta,
.lml-form-wrap.lml-isolated .lml-country-dial{
  color:#6b7280 !important;
  font-weight:500 !important;
}

/* Icons / flags */
.lml-form-wrap.lml-isolated .lml-smart-select-flag,
.lml-form-wrap.lml-isolated .lml-country-flag,
.lml-form-wrap.lml-isolated .lml-smart-select-icon,
.lml-form-wrap.lml-isolated .lml-field-icon{
  background:#f3f4f6 !important;
  color:#111827 !important;
}

/* Empty state */
.lml-form-wrap.lml-isolated .lml-country-empty{
  background:#ffffff !important;
  color:#6b7280 !important;
}

/* Remove any theme weirdness on buttons/divs inside dropdowns */
.lml-form-wrap.lml-isolated .lml-smart-select-panel button,
.lml-form-wrap.lml-isolated .lml-country-dropdown button,
.lml-form-wrap.lml-isolated .lml-smart-select-panel div,
.lml-form-wrap.lml-isolated .lml-country-dropdown div{
  background-color:transparent !important;
  color:#111827 !important;
}

/* Prevent dark styles from theme */
.lml-form-wrap.lml-isolated .lml-smart-select-panel,
.lml-form-wrap.lml-isolated .lml-country-dropdown,
.lml-form-wrap.lml-isolated .lml-smart-select-search input,
.lml-form-wrap.lml-isolated .lml-country-search input,
.lml-form-wrap.lml-isolated .lml-smart-select-option,
.lml-form-wrap.lml-isolated .lml-country-item{
  font-family:var(--lml-dropdown-font-family, var(--lml-font-family, inherit)) !important;
  appearance:none !important;
  -webkit-appearance:none !important;
  -moz-appearance:none !important;
}

/* Strong fallback for any nested text */
.lml-form-wrap.lml-isolated .lml-smart-select-panel *,
.lml-form-wrap.lml-isolated .lml-country-dropdown *{
  color:#111827 !important;
}

/* Keep the main field text clean */
.lml-form-wrap.lml-isolated .lml-smart-select-trigger,
.lml-form-wrap.lml-isolated .lml-country-toggle{
  background:#ffffff !important;
  color:#111827 !important;
}

/* Selected label */
.lml-form-wrap.lml-isolated .lml-smart-select-label{
  color:#111827 !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-label.is-placeholder{
  color:#94a3b8 !important;
}

/* Optional: make dropdown more premium */
.lml-form-wrap.lml-isolated .lml-smart-select-panel,
.lml-form-wrap.lml-isolated .lml-country-dropdown{
  overflow:hidden !important;
  border-radius:20px !important;
}



/* ===== FINAL HARD OVERRIDE: WHITE DROPDOWNS / DARK TEXT ===== */
.lml-form-wrap.lml-isolated .lml-smart-select-panel,
.lml-form-wrap.lml-isolated .lml-country-dropdown,
.lml-form-wrap.lml-isolated .lml-floating-panel.lml-smart-select-panel,
.lml-form-wrap.lml-isolated .lml-floating-panel.lml-country-dropdown{
  background:#ffffff !important;
  background-color:#ffffff !important;
  color:#111827 !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-search,
.lml-form-wrap.lml-isolated .lml-country-search,
.lml-form-wrap.lml-isolated .lml-smart-select-search input,
.lml-form-wrap.lml-isolated .lml-country-search input{
  background:#ffffff !important;
  color:#111827 !important;
  -webkit-text-fill-color:#111827 !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-option,
.lml-form-wrap.lml-isolated .lml-country-item{
  background:#ffffff !important;
  background-color:#ffffff !important;
  color:#111827 !important;
  -webkit-text-fill-color:#111827 !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-option *,
.lml-form-wrap.lml-isolated .lml-country-item *{
  color:#111827 !important;
  -webkit-text-fill-color:#111827 !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-option:hover,
.lml-form-wrap.lml-isolated .lml-country-item:hover{
  background:#f3f4f6 !important;
  background-color:#f3f4f6 !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-flag,
.lml-form-wrap.lml-isolated .lml-country-flag{
  background:#f3f4f6 !important;
  color:#111827 !important;
}

.lml-form-wrap.lml-isolated .lml-smart-select-option-meta,
.lml-form-wrap.lml-isolated .lml-country-dial{
  color:#6b7280 !important;
}

.lml-form-wrap.lml-isolated .lml-country-empty{
  background:#ffffff !important;
  color:#6b7280 !important;
}
