/* Ease My Hotel – Free Trial Form (Pro)
   Scoped to prevent conflicts with theme CSS. */
.emh-form-wrap{
  /* Variables can be overridden per form via inline style */
  --emh-card: #FFFFFF;
  --emh-brand: #9769FF;
  --emh-brand2: #B19CFF;
  --emh-brand3: #8B5CF6;
  --emh-btn: #9769FF;
  --emh-btntext: #FFFFFF;
  --emh-text: #121826;
  --emh-muted: #6B7280;
  --emh-stroke: rgba(18,24,38,.12);
  --emh-shadow: 0 18px 50px rgba(18, 24, 38, .10);
  --emh-radius: 20px;

  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", Helvetica, sans-serif !important;
  color: var(--emh-text) !important;
}

.emh-form-wrap * { box-sizing: border-box; }

.emh-form-wrap .emh-form-section{ width: min(980px, 100%); }

.emh-form-wrap .emh-form-head{ text-align:center; margin-bottom: 18px; }

.emh-form-wrap .emh-form-title{
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
  color: var(--emh-text);
}

.emh-form-wrap .emh-form-subtitle{
  margin:0;
  color: var(--emh-muted);
  font-size: 15px;
}

.emh-form-wrap .emh-form-card{
  background: var(--emh-card);
  border: 1px solid var(--emh-stroke);
  border-radius: var(--emh-radius);
  box-shadow: var(--emh-shadow);
  padding: 22px;
  overflow:hidden;
  position:relative;
}

.emh-form-wrap .emh-form-card::before{
  content:"";
  position:absolute;
  inset:-2px -2px auto -2px;
  height: 7px;
  background: linear-gradient(90deg, var(--emh-brand), var(--emh-brand2), var(--emh-brand3));
}

.emh-form-wrap .emh-form{ margin-top: 10px; }

.emh-form-wrap .emh-form-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 720px){
  .emh-form-wrap .emh-form-grid{ grid-template-columns: 1fr; }
}

.emh-form-wrap .emh-form-field{ position:relative; }

.emh-form-wrap .emh-form-label{
  display:block;
  font-size: 13px;
  color: var(--emh-muted);
  margin: 0 0 6px 2px;
}

.emh-form-wrap .emh-form-input{
  width:100%;
  border: 1px solid rgba(18,24,38,.14);
  background: #fff;
  border-radius: 14px;
  padding: 14px 14px 14px 52px;
  font-size: 14px;
  outline: none;
  transition: border .15s ease, box-shadow .15s ease;
  color: var(--emh-text);
}

.emh-form-wrap .emh-form-input:focus{
  border-color: rgba(151,105,255,.65);
  box-shadow: 0 0 0 4px rgba(151,105,255,.15);
}

.emh-form-wrap .emh-form-icon{
  position:absolute;
  left: 16px;
  top: 38px;
  width: 18px;
  height: 18px;
  color: rgba(18,24,38,.60);
  pointer-events:none;
}

.emh-form-wrap .emh-form-actions{
  display:flex;
  justify-content:center;
  margin-top: 18px;
}

.emh-form-wrap .emh-form-btn{
  border: none;
  cursor:pointer;
  background: var(--emh-btn);
  color: var(--emh-btntext);
  font-weight: 800;
  letter-spacing: .06em;
  padding: 14px 26px;
  border-radius: 999px;
  box-shadow: 0 16px 30px rgba(151,105,255,.25);
  transition: transform .12s ease, filter .12s ease, opacity .12s ease;
  text-transform: uppercase;
  font-size: 13px;
  min-width: 190px;
}

.emh-form-wrap .emh-form-btn:hover{ transform: translateY(-1px); filter: brightness(1.02); }
.emh-form-wrap .emh-form-btn:active{ transform: translateY(0px); }
.emh-form-wrap .emh-form-btn:disabled{ opacity:.7; cursor:not-allowed; }

.emh-form-wrap .emh-form-note{
  text-align:center;
  font-size: 12px;
  color: var(--emh-muted);
  margin-top: 10px;
}

.emh-form-wrap .emh-form-error{
  margin-top: 10px;
  text-align:center;
  color: #B91C1C;
  font-size: 13px;
}

/* Toast */
.emh-form-wrap .emh-form-toast{
  position: fixed;
  inset: auto 16px 16px auto;
  max-width: 420px;
  background: #111827;
  color:#fff;
  padding: 14px 16px;
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
  transform: translateY(10px);
  opacity: 0;
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 9999;
}

.emh-form-wrap .emh-form-toast.emh-show{
  opacity: 1;
  transform: translateY(0);
}

.emh-form-wrap .emh-form-toast b{ display:block; margin-bottom:4px; }
.emh-form-wrap .emh-form-toast small{ color: rgba(255,255,255,.8); }
