/* NS-ETALON lead dialogs. Isolated from the existing Extreme and Junior forms. */
.iig-etalon-modal-mount { display: none !important; }
body.iig-etalon-modal-open { overflow: hidden !important; }
.iig-etalon-modal[hidden], .iig-etalon-modal [hidden] { display: none !important; }
.iig-etalon-modal, .iig-etalon-modal * { box-sizing: border-box; }
.iig-etalon-modal {
    position: fixed; inset: 0; z-index: 2147483000;
    display: flex; align-items: center; justify-content: center;
    padding: 24px; color: #414446; font-family: inherit;
    line-height: 1.55; overscroll-behavior: contain;
}
.iig-etalon-backdrop { position: absolute; inset: 0; background: rgba(31, 40, 47, .62); }
.iig-etalon-dialog {
    position: relative; width: min(100%, 780px); max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain;
    padding: 38px 40px; border-radius: 24px; background: #fff;
    box-shadow: 0 24px 80px rgba(20, 34, 42, .24); scrollbar-gutter: stable;
}
.iig-etalon-dialog h2 { margin: 0 40px 14px 0; font-size: 28px; line-height: 1.25; font-weight: 700; color: #383d40; }
.iig-etalon-dialog .iig-etalon-description { margin: 0 0 26px; font-size: 15px; line-height: 1.65; color: #697476; }
.iig-etalon-close {
    position: absolute; top: 15px; right: 15px; display: grid; place-items: center;
    width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
    background: #f2f5f5; color: #52686c; cursor: pointer; font: 32px/1 Arial, sans-serif;
}
.iig-etalon-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 19px 18px; }
.iig-etalon-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; margin: 0; font-size: 13px; font-weight: 600; }
.iig-etalon-field-wide { grid-column: 1 / -1; }
.iig-etalon-field small { display: inline; font-size: 11px; font-weight: 400; color: #7b8588; }
.iig-etalon-field input, .iig-etalon-field select, .iig-etalon-field textarea {
    display: block; width: 100%; min-width: 0; min-height: 48px; margin: 0;
    padding: 12px 14px; border: 1px solid #d8e1e2; border-radius: 10px;
    background: #fff; color: #384448; font-family: inherit; font-size: 16px; font-weight: 400;
    line-height: 1.4; outline: none; box-shadow: none;
}
.iig-etalon-field select { padding-right: 28px; }
.iig-etalon-field textarea { min-height: 108px; resize: vertical; }
.iig-etalon-field input::placeholder, .iig-etalon-field textarea::placeholder { color: #8b969a; opacity: 1; }
.iig-etalon-field input:focus, .iig-etalon-field select:focus, .iig-etalon-field textarea:focus { border-color: #50929b; box-shadow: 0 0 0 3px rgba(80, 146, 155, .13); }
.iig-etalon-consent { display: flex; align-items: flex-start; gap: 10px; margin: 23px 0; color: #707a7e; font-size: 12px; line-height: 1.6; }
.iig-etalon-consent input { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #50929b; }
.iig-etalon-consent a { color: #477f87; text-decoration: underline; text-underline-offset: 2px; }
.iig-etalon-submit { display: block; width: 100%; min-height: 48px; padding: 13px 24px; border: 0; border-radius: 26px; background: #50929b; color: #fff; font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1.5; text-align: center; cursor: pointer; box-shadow: 0 9px 23px rgba(80, 146, 155, .15); }
.iig-etalon-submit:hover { background: #427e87; }
.iig-etalon-submit:disabled { opacity: .65; cursor: wait; }
.iig-etalon-close:focus-visible, .iig-etalon-submit:focus-visible, .iig-etalon-consent input:focus-visible { outline: 3px solid #8bbcc2; outline-offset: 3px; }
.iig-etalon-dialog .iig-etalon-error { margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; background: #fff1ef; color: #a83b34; font-size: 14px; }
.iig-etalon-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; }
.iig-etalon-success { padding: 16px 0 6px; text-align: center; }
.iig-etalon-success h2 { margin: 0 0 14px; }
.iig-etalon-success p { margin: 0 0 22px; }
.iig-etalon-success-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: #edf7f6; color: #50929b; font-size: 32px; }
.iig-etalon-reference { color: #697476; font-size: 13px; }
@media (max-width: 767px) {
    .iig-etalon-modal { padding: 12px; }
    .iig-etalon-dialog { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 28px 22px 24px; border-radius: 18px; scrollbar-gutter: auto; }
    .iig-etalon-dialog h2 { font-size: 24px; }
}
@media (max-width: 575px) {
    .iig-etalon-modal { padding: 8px; }
    .iig-etalon-dialog { max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); padding: 26px 18px 22px; border-radius: 16px; }
    .iig-etalon-dialog h2 { margin-right: 30px; font-size: 22px; }
    .iig-etalon-dialog .iig-etalon-description { margin-bottom: 20px; font-size: 14px; }
    .iig-etalon-close { top: 10px; right: 8px; }
    .iig-etalon-fields { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .iig-etalon-field-wide { grid-column: auto; }
    .iig-etalon-consent { margin: 20px 0; }
}
