/* v17 — Cartão do formulário e formulário nativo.
   Medidas e cores iguais às de assets/kommo-formulario.css, para os dois parecerem um só. */
.ns-form-card { background: var(--ns-surface); border: 1px solid var(--ns-border); border-radius: 16px; padding: 24px; text-align: left; }
.ns-form-card h3 { font-family: var(--ns-display); font-size: 20px; font-weight: 700; color: var(--ns-white); line-height: 1.25; }
.ns-form-card > p { font-size: 14px; color: var(--ns-gray); margin-top: 6px; }
.ns-form-card .ns-lgpd { font-size: 12.5px; color: var(--ns-gray); text-align: center; margin-top: 12px; }
.ns-form-slot { margin-top: 14px; min-height: 380px; }
.ns-kommo-wrap { min-height: 380px; }
.ns-kommo-wrap iframe { width: 100% !important; max-width: 100% !important; border: none !important; background: transparent !important; }

.ns-fm { display: flex; flex-direction: column; gap: 14px; }
.ns-fm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ns-fm-c { position: relative; display: flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 16px; background: var(--ns-bg-dark); border: 1px solid var(--ns-border); border-radius: 8px; transition: border-color .2s; }
.ns-fm-c:focus-within { border-color: var(--ns-gold); }
.ns-fm-c.invalido { border-color: #ff8a8a; }
.ns-fm-c input, .ns-fm-c select { flex: 1; min-width: 0; height: 48px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ns-white); font: 400 15px var(--ns-font); -webkit-appearance: none; appearance: none; }
.ns-fm-c input::placeholder { color: var(--ns-gray); opacity: 1; }
.ns-fm-c input:-webkit-autofill { -webkit-text-fill-color: var(--ns-white); box-shadow: inset 0 0 0 40px var(--ns-bg-dark); caret-color: var(--ns-white); }
.ns-fm-c > i { font-style: normal; font-size: 16px; color: var(--ns-amber-2); }
.ns-fm-tel b { font-weight: 500; font-size: 15px; color: var(--ns-white); }
.ns-fm-sel select { cursor: pointer; padding-right: 22px; }
.ns-fm-sel select.vazio { color: var(--ns-gray); }
.ns-fm-sel select option { color: #fff; background: #1d1230; }
.ns-fm-sel::after { content: ''; position: absolute; right: 18px; top: 21px; width: 8px; height: 8px; border-right: 1.5px solid var(--ns-gray); border-bottom: 1.5px solid var(--ns-gray); transform: rotate(45deg); pointer-events: none; }
.ns-fm-isca { position: absolute; left: -9999px; }
.ns-fm .ns-btn { width: 100%; }
.ns-fm .ns-btn:disabled { opacity: .7; cursor: wait; }
.ns-fm-erro { font-size: 13.5px; color: #ff8a8a; }
.ns-fm-ok { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 340px; text-align: center; }
.ns-fm-ok span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(37,211,102,.14); color: var(--ns-wa); font-size: 26px; }
.ns-fm-ok p { max-width: 340px; font-size: 16px; color: var(--ns-white); }
@media (min-width: 900px) { .ns-form-card { padding: 32px; } }
