/* Ixoric lead forms (ix-forms.php / ix-forms.js) */
.ixf { --ixf-accent: var(--primary, #5427e6); --ixf-ink: #17142b; --ixf-muted: #5f5b72; --ixf-line: #d9d4ee; --ixf-bg: #fff; width: 100%; text-align: left; }
.ixf-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.ixf--inline .ixf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ixf-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ixf-field label { font-family: var(--font-heading, inherit); font-size: 13.5px; font-weight: 600; color: var(--ixf-ink); }
.ixf-opt { font-weight: 500; color: var(--ixf-muted); }
.ixf-field input { width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--ixf-line); border-radius: 12px; background: var(--ixf-bg); font: inherit; font-size: 15.5px; color: var(--ixf-ink); outline: none; transition: border-color .15s, box-shadow .15s; }
.ixf-field input::placeholder { color: #9a96ab; }
.ixf-field input:focus { border-color: var(--ixf-accent); box-shadow: 0 0 0 3px rgba(84, 39, 230, .14); }
.ixf-field input[aria-invalid="true"] { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, .12); }
.ixf .iti { width: 100%; display: block; }
.ixf .iti__selected-country { border-radius: 12px 0 0 12px; padding: 0 8px 0 12px; }
.ixf .iti__selected-country-primary { gap: 6px; }
.ixf .iti__selected-dial-code { font-size: 15px; color: var(--ixf-ink); }
.ixf .iti__dropdown-content { border-radius: 12px; border: 1px solid var(--ixf-line); box-shadow: 0 16px 40px rgba(23, 20, 43, .16); overflow: hidden; }
.ixf .iti__search-input { height: 42px; padding: 0 12px; border: 0; border-bottom: 1px solid var(--ixf-line); font-size: 15px; }
.ixf .iti__country { padding: 9px 12px; font-size: 14.5px; color: var(--ixf-ink); }
.ixf .iti__country.iti__highlight { background: rgba(84, 39, 230, .08); }
.iti--fullscreen-popup.iti--container { z-index: 100000; }
.ixf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ixf-btn { margin-top: 18px; width: 100%; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; background: var(--ixf-accent); color: #fff !important; font-family: var(--font-heading, inherit); font-size: 16px; font-weight: 700; cursor: pointer; transition: transform .15s, box-shadow .15s, opacity .15s; }
.ixf-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(84, 39, 230, .28); }
.ixf-btn:disabled { opacity: .7; cursor: wait; transform: none; box-shadow: none; }
.ixf-btn .material-symbols-outlined { font-size: 19px; }
.ixf-error { margin: 10px 0 0; min-height: 0; font-size: 14px; font-weight: 600; color: #c0392b; }
.ixf-error:empty { display: none; }
.ixf-legal { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ixf-muted); }
.ixf-legal a { color: inherit; text-decoration: underline; }
.ixf-done { padding: 26px 8px; text-align: center; outline: none; }
.ixf-done .material-symbols-outlined { font-size: 44px; color: #16a34a; }
.ixf-done-title { margin: 8px 0 4px; font-family: var(--font-heading, inherit); font-size: 20px; font-weight: 800; color: var(--ixf-ink); }
.ixf-done-text { margin: 0; font-size: 15px; color: var(--ixf-muted); }

/* Compact: sidebar widgets on dark/purple backgrounds */
.ixf--compact { --ixf-ink: #fff; --ixf-muted: rgba(255, 255, 255, .78); --ixf-line: rgba(255, 255, 255, .35); --ixf-bg: rgba(255, 255, 255, .1); }
.ixf--compact .ixf-grid { gap: 10px; }
.ixf--compact .ixf-field label { font-size: 12.5px; color: #fff; }
.ixf--compact .ixf-field input { height: 44px; color: #fff; }
.ixf--compact .ixf-field input:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .2); }
.ixf--compact .iti__selected-dial-code { color: #fff; }
.ixf--compact .iti__arrow { border-top-color: #fff; }
.ixf--compact .iti__dropdown-content, .ixf--compact .iti__country { color: #17142b; }
.ixf--compact .ixf-btn { background: #fff; color: var(--primary, #5427e6) !important; min-height: 46px; margin-top: 14px; }
.ixf--compact .ixf-done-title, .ixf--compact .ixf-done .material-symbols-outlined { color: #fff; }

/* Card wrapper for forms placed on coloured bands */
.ixf-card { max-width: 640px; margin: 24px auto 0; padding: 26px 26px 20px; border-radius: 20px; background: #fff; box-shadow: 0 18px 44px rgba(23, 20, 43, .18); }

@media (max-width: 640px) {
  .ixf--inline .ixf-grid { grid-template-columns: 1fr; }
  .ixf-card { padding: 20px 16px 16px; }
}

/* Blog checklist form (template-parts/lead-magnet.php) uses the same picker */
.bl-lm .iti { width: 100%; display: block; }
.bl-lm .iti__dropdown-content { border-radius: 12px; box-shadow: 0 16px 40px rgba(23, 20, 43, .16); }

/* End-of-post subscribe card (template-parts/follow.php) */
.bl-content .bl-follow, .bl-follow { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 40px 0 8px; }
.bl-content .bl-follow > div { padding: 0; border: 0; background: none; }
.bl-content .bl-follow > .bl-follow-sub-card, .bl-follow-sub-card { padding: 26px 26px 20px; border: 1px solid #e3def5; border-radius: 20px; background: linear-gradient(180deg, #faf8ff 0%, #fff 100%); }
.bl-follow-sub-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.bl-follow-sub-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: rgba(84, 39, 230, .1); color: var(--primary, #5427e6); display: flex; align-items: center; justify-content: center; }
.bl-follow-sub-icon .material-symbols-outlined { font-size: 24px; }
.bl-content .bl-follow > .bl-follow-g, .bl-follow-g { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 18px 22px; border: 1px solid #e3def5; border-radius: 16px; background: #fff; }
.bl-follow-g-text { flex: 1 1 260px; }
@media (max-width: 640px) { .bl-content .bl-follow > .bl-follow-sub-card, .bl-follow-sub-card { padding: 20px 16px 16px; } }
.bl-content .ixf p { margin-bottom: 0; }
.bl-content .ixf label { margin: 0; }
.bl-content .ixf .ixf-legal { font-size: 12.5px; line-height: 1.5; margin-top: 10px; }
.bl-content .ixf .ixf-error { font-size: 14px; }
.bl-content .ixf .ixf-done-text { font-size: 15px; }
.bl-lm .bl-lm-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bl-lm .bl-lm-fields label:last-child { grid-column: 1 / -1; }
@media (max-width: 640px) { .bl-lm .bl-lm-fields { grid-template-columns: 1fr; } }
