[x-cloak] { display: none !important; }

.scroll-mt-24 { scroll-margin-top: 6rem; }

.ic-widget {
    --ic-green: #7000ff;
    --ic-green-dark: #5b00d6;
    --ic-green-light: #f3ebff;
    --ic-green-tint: rgba(112, 0, 255, 0.08);
    --ic-ink: #1f2937;
    --ic-muted: #4b5563;
    --ic-soft: #9ca3af;
    --ic-line: #e5e7eb;
    --ic-line-soft: #f3f4f6;
    --ic-card: #ffffff;
    --ic-input-bg: #f9fafb;
    --ic-error: #dc2626;
    width: 100%;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}
.ic-widget.ic-widget--cal {
    max-width: min(900px, 100%);
}

.ic-card {
    width: 100%;
    max-width: none;
    background: var(--ic-card);
    border: 1px solid var(--ic-line);
    border-radius: 12px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 32px -12px rgba(15, 23, 42, 0.1);
    overflow: hidden;
}

/* Steps dot layout */
.ic-steps {
    display: flex;
    justify-content: center;
    gap: 24px;
    border-bottom: 1px solid var(--ic-line);
    padding: 16px 20px;
    background: #fff;
    flex-wrap: wrap;
}
.ic-step {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--ic-soft);
    line-height: 1;
}
.ic-step .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ic-line);
    display: inline-block;
    margin-right: 8px;
}
.ic-step.active {
    color: var(--ic-ink);
}
.ic-step.active .dot {
    background: var(--ic-green);
}
.ic-step.done {
    color: var(--ic-ink);
}
.ic-step.done .dot {
    background: var(--ic-green);
}

.ic-body { display: block; }

.ic-form-pane {
    padding: 24px 24px 28px;
    border-bottom: 0;
}
.ic-form-pane h1 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
    color: var(--ic-ink);
    line-height: 1.3;
}
.ic-event-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--ic-muted);
    margin: 8px 0 12px;
}
.ic-event-meta span { display: inline-flex; align-items: center; gap: 5px; }
.ic-event-meta svg { width: 13px; height: 13px; stroke: var(--ic-green); }
.ic-summary {
    font-size: 13px;
    color: var(--ic-muted);
    line-height: 1.55;
    margin: 0 0 4px;
}

.ic-fields { margin-top: 14px; }
.ic-field {
    margin-bottom: 14px;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 350ms ease, transform 350ms ease;
}
.ic-field.is-visible { opacity: 1; transform: translateY(0); }
.ic-field[hidden] { display: none !important; }

.ic-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ic-ink);
    margin-bottom: 6px;
    line-height: 1.4;
}
.ic-label .req { color: var(--ic-error); margin-left: 2px; }

.ic-input, .ic-select {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    background: var(--ic-input-bg);
    border: 1px solid var(--ic-line);
    border-radius: 8px;
    font-size: 14px;
    color: var(--ic-ink);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
}
.ic-input::placeholder { color: #9ca3af; }
.ic-input:focus, .ic-select:focus {
    border-color: var(--ic-green);
    box-shadow: 0 0 0 3px rgba(112, 0, 255, 0.12);
}
.ic-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 36px;
}
.ic-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) {
    .ic-row-2 { grid-template-columns: 1fr; }
}

.blink-border {
    border-color: var(--ic-green) !important;
    box-shadow: 0 0 0 3px rgba(112, 0, 255, 0.18);
    animation: icBlinkBorder 1.8s ease-in-out infinite;
}
@keyframes icBlinkBorder {
    0%, 100% { box-shadow: 0 0 0 3px rgba(112, 0, 255, 0.18); }
    50%      { box-shadow: 0 0 0 5px rgba(112, 0, 255, 0.05); }
}

.ic-help { font-size: 11px; color: var(--ic-soft); margin-top: 6px; line-height: 1.4; }
.ic-field.has-error .ic-input,
.ic-field.has-error .ic-select { border-color: var(--ic-error); }
.ic-error { font-size: 12px; color: var(--ic-error); margin-top: 4px; }

.ic-phone-wrap { position: relative; display: flex; align-items: stretch; }
.ic-phone-flag {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--ic-line);
    background: var(--ic-input-bg);
    border-radius: 8px 0 0 8px;
    pointer-events: none;
    font-size: 12px;
    font-weight: 500;
    color: var(--ic-soft);
    gap: 4px;
    padding-left: 4px;
}
.ic-phone-flag .flag-emoji { font-size: 16px; line-height: 1; }
.ic-phone-input { padding-left: 68px; }

.ic-consent { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 14px; }
.ic-consent input { margin-top: 3px; width: 14px; height: 14px; accent-color: var(--ic-green); flex-shrink: 0; }
.ic-consent p { margin: 0; font-size: 11px; color: var(--ic-muted); line-height: 1.45; }
.ic-consent a { color: var(--ic-green); text-decoration: underline; font-weight: 600; }

.ic-submit {
    width: 100%;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--ic-green);
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    box-shadow: none;
    transition: background 0.15s, opacity 0.12s;
}
.ic-submit:hover:not(:disabled) { background: var(--ic-green-dark); }
.ic-submit:disabled { opacity: 0.55; cursor: not-allowed; }
.ic-progress {
    font-size: 11px;
    color: var(--ic-soft);
    text-align: center;
    margin-top: 10px;
}

.ic-cal-pane {
    position: relative;
    padding: 24px;
    background: #fff;
    min-height: 380px;
    border-top: 1px solid var(--ic-line-soft);
}
.ic-cal-pane h2 { font-size: 14px; font-weight: 700; color: var(--ic-soft); margin: 0 0 14px; text-align: center; }

.ic-qualified {
    padding: 32px 22px 36px;
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
}
@media (min-width: 640px) { .ic-qualified { padding: 40px 28px 44px; } }
.ic-qualified__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(180deg, #41a07f 0%, #2f6e57 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 30px -10px rgba(53, 121, 96, 0.55);
}
.ic-qualified__icon svg { width: 26px; height: 26px; }
.ic-qualified h2 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
    color: var(--ic-ink);
    line-height: 1.25;
    letter-spacing: -0.01em;
}
@media (min-width: 640px) { .ic-qualified h2 { font-size: 22px; } }
.ic-qualified p {
    margin: 0 auto 22px;
    font-size: 14px;
    color: var(--ic-muted);
    line-height: 1.55;
    max-width: 380px;
}
.ic-book-cta {
    width: 100%;
    height: 52px;
    font-size: 16px;
    border-radius: 12px;
    max-width: 320px;
    margin: 0 auto;
}
.ic-qualified__meta {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 12px;
    color: var(--ic-soft);
}
.ic-qualified__meta li { display: inline-flex; align-items: center; gap: 6px; }
.ic-qualified__meta svg { width: 13px; height: 13px; stroke: var(--ic-green); }

.ic-locked-wrap { position: relative; max-width: 320px; margin: 0 auto; }
.ic-locked-cal { opacity: 0.32; pointer-events: none; user-select: none; }
.ic-locked-cal .month { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ic-locked-cal .month p { margin: 0; font-size: 14px; font-weight: 600; color: var(--ic-soft); }
.ic-locked-cal .arrows { display: flex; gap: 6px; }
.ic-locked-cal .arrows button {
    width: 28px;
    height: 28px;
    border: 1px solid var(--ic-line);
    background: #fff;
    border-radius: 6px;
    color: var(--ic-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ic-locked-cal .dow, .ic-locked-cal .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.ic-locked-cal .dow span {
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    color: var(--ic-soft);
    text-transform: uppercase;
    padding: 6px 0;
}
.ic-locked-cal .days button {
    aspect-ratio: 1;
    border: 0;
    background: transparent;
    font-size: 13px;
    color: var(--ic-ink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    width: 36px;
    height: 36px;
    margin: 0 auto;
    padding: 0;
}
.ic-locked-cal .days .available {
    background: var(--ic-green-tint) !important;
    color: var(--ic-green) !important;
    font-weight: 600;
}
.ic-locked-cal .days .available .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--ic-green);
    margin-top: 1px;
}
.ic-locked-cal .days .today {
    outline: 2px solid var(--ic-green);
    outline-offset: -2px;
}

.ic-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-radius: 8px;
}
.ic-overlay-card {
    background: #fff;
    border: 1px solid var(--ic-line);
    border-radius: 10px;
    padding: 14px 18px;
    box-shadow: 0 8px 24px -8px rgba(15,23,42,0.18);
    max-width: 280px;
    text-align: center;
}
.ic-overlay-card p { margin: 0; font-size: 14px; font-weight: 500; color: var(--ic-ink); line-height: 1.45; }

.ic-foot {
    text-align: center;
    border-top: 1px solid var(--ic-line-soft);
    padding: 12px 16px;
    font-size: 11px;
    color: var(--ic-soft);
    background: #fafbfc;
}
.ic-foot strong { color: var(--ic-green); font-weight: 700; }

.ic-trust {
    margin: 18px auto 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 22px;
    font-size: 12px;
    color: var(--ic-soft);
}
.ic-trust span { display: inline-flex; align-items: center; gap: 6px; }
.ic-trust svg { width: 14px; height: 14px; stroke: var(--ic-green); }

.ic-success { text-align: center; padding: 12px 0 6px; }
.ic-success-check {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(180deg, #41a07f 0%, #2f6e57 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 30px -10px rgba(53,121,96,0.55);
}
.ic-success-check svg { width: 28px; height: 28px; color: #fff; }
.ic-success h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: var(--ic-ink); }
.ic-success p { margin: 0; font-size: 13px; color: var(--ic-muted); line-height: 1.5; }

.ic-prebook-video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.ic-prebook-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.ic-resources { padding: 28px 24px 36px; max-width: 760px; margin: 0 auto; }
@media (min-width: 900px) { .ic-resources { padding: 40px 36px 48px; } }
.ic-resources h2 { margin: 14px 0 8px; font-size: 22px; font-weight: 700; color: var(--ic-ink); text-align: center; line-height: 1.3; }
.ic-resources .sub { text-align: center; font-size: 14px; color: var(--ic-muted); line-height: 1.55; margin: 0 auto 22px; max-width: 520px; }
.ic-res-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 22px; }
@media (min-width: 720px) { .ic-res-grid { grid-template-columns: 1fr 1fr; } }
.ic-res-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--ic-line-soft);
    border-radius: 12px;
    text-decoration: none;
    color: var(--ic-ink);
    transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.ic-res-card:hover { border-color: var(--ic-green); transform: translateY(-2px); box-shadow: 0 12px 28px -14px rgba(53,121,96,0.4); }
.ic-res-card .ico {
    width: 36px;
    height: 36px;
    background: var(--ic-green-light);
    color: var(--ic-green-dark);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ic-res-card .ico svg { width: 18px; height: 18px; }
.ic-res-card h3 { margin: 0; font-size: 15px; font-weight: 700; color: var(--ic-ink); line-height: 1.3; }
.ic-res-card p { margin: 0; font-size: 13px; color: var(--ic-muted); line-height: 1.5; }
.ic-res-card .arrow { font-size: 13px; color: var(--ic-green); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; margin-top: auto; }
.ic-resources .post-note { text-align: center; font-size: 12px; color: var(--ic-soft); margin: 8px auto 0; max-width: 520px; line-height: 1.5; }
.ic-resources .post-note a { color: var(--ic-green); font-weight: 600; text-decoration: underline; }

.ic-thanks { padding: 32px 24px 40px; max-width: 720px; margin: 0 auto; text-align: center; }
@media (min-width: 900px) { .ic-thanks { padding: 44px 32px 52px; } }
.ic-thanks h2 { margin: 14px 0 8px; font-size: 24px; font-weight: 800; color: var(--ic-ink); line-height: 1.25; }
.ic-thanks .sub { font-size: 14px; color: var(--ic-muted); margin: 0 auto 20px; line-height: 1.55; max-width: 480px; }
.ic-thanks .booking-meta {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: center;
    padding: 10px 16px;
    background: var(--ic-green-light);
    border: 1px solid rgba(53,121,96,0.18);
    border-radius: 8px;
    font-size: 12px;
    color: var(--ic-green-dark);
    font-weight: 600;
    margin-bottom: 24px;
}
