/**
 * TTY Meet - Consult Landing Styles
 *
 * Styles for the [tty_meet_consult_landing] booking landing page.
 * Loaded by TTY_Meet_Consult_Landing::render(); the shared tty-meet.css
 * (spinner, notices) is loaded by TTY_Meet_Core.
 *
 * @package TTY_Meet
 */

.tty-cl-landing {
    --tty-cl-primary: #247772;
    --tty-cl-primary-dark: #005F5F;
    --tty-cl-border: #eaeaea;
    --tty-cl-text: #2C2C2C;
    --tty-cl-muted: #56778f;
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 20px 0;
    position: relative;
    z-index: 2;
    color: var(--tty-cl-text);
}

/* Hero */
.tty-cl-hero {
    background: linear-gradient(135deg, #247772 0%, #005F5F 100%);
    border-radius: 20px;
    padding: 28px 28px 76px;
    margin-bottom: 0;
    color: #fff;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0, 95, 95, 0.25);
}

.tty-cl-hero-title {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
}

.tty-cl-hero-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
}

/* Steps */
.tty-cl-step {
    margin-bottom: 28px;
}

.tty-cl-step-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    margin: 0 0 16px;
    color: var(--tty-cl-text);
}

.tty-cl-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--tty-cl-primary);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
}

.tty-cl-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #247772 0%, #005F5F 100%);
    color: #fff;
    font-size: 0.95rem;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(0, 95, 95, 0.22);
}

/* Step head row: title left, FAQ quick-link right (added in 1.4.5) */
.tty-cl-step-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.tty-cl-step-head .tty-cl-step-title {
    margin: 0;
}

.tty-cl-faq-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--tty-cl-border);
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tty-cl-primary);
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.tty-cl-faq-link:hover {
    color: #fff;
    background: var(--tty-cl-primary);
    border-color: var(--tty-cl-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 11px rgba(0, 0, 0, 0.1);
}

/* Kind cards */
.tty-cl-kind-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.tty-cl-kind-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 24px;
    background: #fff;
    border: 2px solid var(--tty-cl-border);
    border-radius: 20px;
    cursor: pointer;
    text-align: left;
    /* Explicit text color: iOS Safari renders button text blue otherwise */
    color: var(--tty-cl-text);
    transition: all 0.3s ease;
}

.tty-cl-kind-card:hover {
    border-color: var(--tty-cl-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.tty-cl-kind-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(36, 119, 114, 0.1);
    color: var(--tty-cl-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.tty-cl-kind-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--tty-cl-text);
}

.tty-cl-kind-desc {
    font-size: 0.875rem;
    color: var(--tty-cl-muted);
    line-height: 1.5;
}

/* Discipline cards */
.tty-cl-discipline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.tty-cl-discipline-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: #fff;
    border: 2px solid var(--tty-cl-border);
    border-radius: 16px;
    cursor: pointer;
    text-align: left;
    /* Explicit text color: iOS Safari renders button text blue otherwise */
    color: var(--tty-cl-text);
    transition: all 0.3s ease;
}

.tty-cl-discipline-card:hover {
    border-color: var(--tty-cl-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.tty-cl-discipline-icon {
    color: var(--tty-cl-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.tty-cl-discipline-name {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Booking panel */
.tty-cl-panel {
    background: #fff;
    border: 1px solid var(--tty-cl-border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.tty-cl-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--tty-cl-border);
}

.tty-cl-panel-title {
    margin: 0 0 4px;
    font-size: 1.2rem;
    color: var(--tty-cl-text);
}

.tty-cl-panel-discipline {
    font-size: 0.85rem;
    color: var(--tty-cl-muted);
}

.tty-cl-panel-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tty-cl-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--tty-cl-primary-dark);
}

.tty-cl-duration {
    font-size: 0.85rem;
    color: var(--tty-cl-muted);
}

.tty-cl-discount-badge {
    background: linear-gradient(135deg, #E5924C 0%, #f1a968 100%);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 4px 11px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(229, 146, 76, 0.35);
}

/* Locked states */
.tty-cl-panel-locked {
    text-align: center;
    padding: 28px 20px;
}

.tty-cl-panel-locked i {
    font-size: 1.8rem;
    color: var(--tty-cl-primary);
    margin-bottom: 10px;
    display: block;
}

.tty-cl-panel-locked p {
    color: var(--tty-cl-muted);
    max-width: 520px;
    margin: 0 auto 16px;
    line-height: 1.6;
}

/* Substeps */
.tty-cl-substep {
    margin-top: 22px;
}

.tty-cl-substep-title {
    margin: 0 0 12px;
    font-size: 1rem;
    color: var(--tty-cl-text);
}

/* Doctor options */
.tty-cl-doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px;
}

.tty-cl-doctor-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tty-cl-doctor-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #fff;
    border: 2px solid var(--tty-cl-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tty-cl-doctor-option:hover .tty-cl-doctor-inner {
    border-color: var(--tty-cl-primary);
}

.tty-cl-doctor-option input:checked + .tty-cl-doctor-inner {
    border-color: var(--tty-cl-primary);
    background: rgba(36, 119, 114, 0.06);
    box-shadow: 0 0 0 3px rgba(36, 119, 114, 0.15);
}

/* The theme's image filter may rewrite the avatar <img> into a <picture>
   wrapper carrying the same class, leaving the inner <img> unconstrained.
   Size and clip the wrapper, and constrain any inner img, so the avatar
   renders correctly in both forms. */
.tty-cl-doctor-avatar {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    overflow: hidden;
    flex-shrink: 0;
}

.tty-cl-doctor-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.tty-cl-doctor-name {
    display: block;
    font-size: 0.95rem;
}

.tty-cl-doctor-specialty {
    display: block;
    font-size: 0.8rem;
    color: var(--tty-cl-muted);
}

/* Date / time options */
.tty-cl-dates-container,
.tty-cl-times-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tty-cl-date-option input,
.tty-cl-time-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tty-cl-date-option,
.tty-cl-time-option {
    position: relative;
}

.tty-cl-date-option span,
.tty-cl-time-option span {
    display: block;
}

.tty-cl-date-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 14px;
    border: 2px solid var(--tty-cl-border);
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
    transition: all 0.15s ease;
    min-width: 92px;
    text-align: center;
}

.tty-cl-time-option span {
    padding: 9px 16px;
    border: 2px solid var(--tty-cl-border);
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
    transition: all 0.15s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.tty-cl-date-option:hover,
.tty-cl-time-option:hover span {
    border-color: var(--tty-cl-primary);
}

.tty-cl-date-option:has(input:checked),
.tty-cl-time-option input:checked + span {
    border-color: var(--tty-cl-primary);
    background: rgba(36, 119, 114, 0.06);
    box-shadow: 0 0 0 3px rgba(36, 119, 114, 0.15);
}

.tty-cl-date-day {
    font-weight: 700;
    font-size: 0.95rem;
}

.tty-cl-date-full {
    font-size: 0.75rem;
    color: var(--tty-cl-muted);
}

.tty-cl-no-results {
    color: var(--tty-cl-muted);
    font-size: 0.9rem;
}

.tty-cl-loading {
    color: var(--tty-cl-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
    flex-direction: column;
    width: 100%;
    text-align: center;
    align-items: center;
    display: flex;
}

/* Summary + confirm */
.tty-cl-summary {
    background: #f9f9f9;
    border: 1px solid var(--tty-cl-border);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 14px;
    display: grid;
    gap: 6px;
}

.tty-cl-summary-item span {
    color: var(--tty-cl-muted);
    margin-right: 6px;
}

.tty-cl-reason-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.tty-cl-reason {
    width: 100%;
    border: 1px solid var(--tty-cl-border);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 14px;
    font-family: inherit;
}

/* Buttons */
.tty-cl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tty-cl-btn-primary {
    background: linear-gradient(135deg, #247772 0%, #005F5F 100%);
    color: #fff;
}

.tty-cl-btn-primary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 11px rgba(0, 0, 0, 0.1);
}

/* Breadcrumb (removed in 1.4.1 — replaced by the .tty-cl-stepper) */

/* Responsive */
@media (max-width: 600px) {
    .tty-cl-hero {
        padding: 22px 16px 64px;
    }
    
    .tty-cl-hero-title {
        font-size: 1.35rem;
    }
    
    .tty-cl-panel {
        padding: 16px;
    }
    
    .tty-cl-panel-header {
        flex-direction: column;
    }
}

/* Doctor country / language filters */
.tty-cl-doctor-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 14px;
    padding: 12px 14px;
    background: #f9f9f9;
    border: 1px solid var(--tty-cl-border);
    border-radius: 10px;
}

.tty-cl-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}

.tty-cl-filter-label {
    color: var(--tty-cl-muted);
    font-weight: 600;
    white-space: nowrap;
}

.tty-cl-filter select {
    border: 1px solid var(--tty-cl-border);
    border-radius: 8px;
    padding: 7px 10px;
    background: #fff;
    font-size: 0.875rem;
}

.tty-cl-doctor-langs {
    display: block;
    font-size: 0.75rem;
    color: var(--tty-cl-muted);
    margin-top: 2px;
}

/* .tty-cl-no-doctors-match: restyled as a country-aware empty state in the
   1.5.0 section at the end of this file */

/* In-cart banner */
.tty-cl-cart-banner {
    background: #ecfdf5;
    border: 2px solid #10b981;
    border-radius: 20px;
    padding: 18px 20px;
    margin-bottom: 22px;
}

.tty-cl-cart-banner-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    color: #065f46;
    margin-bottom: 12px;
}

.tty-cl-cart-banner-head i {
    font-size: 1.3rem;
}

.tty-cl-cart-items {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.tty-cl-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #a7f3d0;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.9rem;
}

.tty-cl-cart-item-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--tty-cl-text);
}

.tty-cl-cart-item-when {
    color: var(--tty-cl-muted);
}

.tty-cl-cart-item-remove {
    color: #b91c1c;
    text-decoration: none;
    font-size: 0.85rem;
    white-space: nowrap;
}

.tty-cl-cart-item-remove:hover {
    text-decoration: underline;
    color: #b91c1c;
}

.tty-cl-cart-banner-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.tty-cl-cart-banner-note {
    font-size: 0.8rem;
    color: #047857;
}

/* ========================================
   Booking confirm: how-it-works + required
   reason field (added in 1.3.3)
   ======================================== */

/* How it works */
.tty-cl-howto {
    background: #f9f9f9;
    border: 1px solid var(--tty-cl-border);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.tty-cl-howto-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-size: 0.9rem;
    color: var(--tty-cl-text);
}

.tty-cl-howto-title i {
    color: var(--tty-cl-primary);
}

.tty-cl-howto-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.tty-cl-howto-step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--tty-cl-border);
    border-radius: 10px;
    padding: 10px 12px;
}

.tty-cl-howto-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(36, 119, 114, 0.1);
    color: var(--tty-cl-primary);
    flex-shrink: 0;
}

.tty-cl-howto-text {
    font-size: 0.8rem;
    color: var(--tty-cl-muted);
    line-height: 1.45;
}

/* Required reason field */
.tty-cl-reason-section {
    margin-bottom: 16px;
}

.tty-cl-reason-section .tty-cl-reason-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.tty-cl-reason-label i {
    color: var(--tty-cl-primary);
}

.tty-cl-required {
    color: #b91c1c;
    font-weight: 700;
}

.tty-cl-reason-hint {
    margin: 0 0 8px;
    font-size: 0.8rem;
    color: var(--tty-cl-muted);
}

.tty-cl-reason-section .tty-cl-reason {
    min-height: 110px;
    margin-bottom: 8px;
    font-size: 16px; /* 16px prevents iOS zoom-on-focus */
    line-height: 1.5;
    resize: vertical;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tty-cl-reason-section .tty-cl-reason:focus {
    outline: none;
    border-color: var(--tty-cl-primary);
    box-shadow: 0 0 0 3px rgba(36, 119, 114, 0.15);
}

.tty-cl-reason.has-error {
    border-color: #b91c1c;
    background: #fef2f2;
}

.tty-cl-reason-counter {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--tty-cl-muted);
    margin-bottom: 8px;
}

.tty-cl-reason-counter.invalid {
    color: #b91c1c;
}

.tty-cl-reason-counter.valid {
    color: #047857;
}

.tty-cl-reason-min {
    opacity: 0.8;
}

.tty-cl-reason-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.tty-cl-reason-privacy {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 14px;
    font-size: 0.78rem;
    color: var(--tty-cl-muted);
}

.tty-cl-reason-privacy i {
    color: var(--tty-cl-primary);
}

/* Book button disabled state */
.tty-cl-btn-book:disabled,
.tty-cl-btn-book.tty-cl-btn-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Mobile */
@media (max-width: 600px) {
    .tty-cl-howto-steps {
        grid-template-columns: 1fr;
    }
    
    .tty-cl-reason-section .tty-cl-reason {
        min-height: 130px;
    }
    
    .tty-cl-btn-book {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   Conversion landing: hero chips, page-level
   how-it-works, layout grid, info rail, FAQ
   (added in 1.4.0)
   ======================================== */

/* Hero: slim trust line (replaces the 1.4.0 price pill + chips in 1.4.3) */
.tty-cl-hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    margin-top: 14px;
}

.tty-cl-hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.92);
}

.tty-cl-hero-trust i {
    color: #a7f3d0;
    font-size: 0.75rem;
}

/* How-it-works journey: vertical timeline inside the info rail card,
   gradient icon bubbles connected by a fading line */
.tty-cl-journey {
    display: grid;
    gap: 16px;
}

.tty-cl-journey-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tty-cl-journey-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, #247772 0%, #005F5F 100%);
    color: #fff;
    font-size: 0.95rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 95, 95, 0.25);
}

/* Connecting line between the step icons */
.tty-cl-journey-step::before {
    content: '';
    position: absolute;
    top: 38px;
    bottom: -16px;
    left: 19px;
    width: 2px;
    background: linear-gradient(180deg, rgba(36, 119, 114, 0.35), rgba(36, 119, 114, 0.12));
}

.tty-cl-journey-step:last-child::before {
    display: none;
}

.tty-cl-journey-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tty-cl-journey-body strong {
    font-size: 0.85rem;
    color: var(--tty-cl-text);
}

.tty-cl-journey-body span {
    font-size: 0.78rem;
    color: var(--tty-cl-muted);
    line-height: 1.45;
}

/* Layout grid: flow + sticky info rail. The negative top margin pulls the
   stepper and first cards up over the hero's gradient bottom edge. */
.tty-cl-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    margin-top: -60px;
    padding: 0 16px;
}

.tty-cl-main {
    min-width: 0;
}

.tty-cl-aside {
    display: grid;
    gap: 16px;
    align-content: start;
}

@media (min-width: 1024px) {
    .tty-cl-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
        align-items: start;
    }
    
    .tty-cl-aside {
        position: sticky;
        top: 96px;
    }
}

/* Info rail cards */
.tty-cl-info-card {
    background: #edf4f6;
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 20px;
}

.tty-cl-info-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 0.95rem;
    color: var(--tty-cl-text);
}

.tty-cl-info-card-title i {
    color: var(--tty-cl-primary);
}

.tty-cl-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.tty-cl-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--tty-cl-text);
    line-height: 1.5;
}

.tty-cl-info-list li i {
    color: var(--tty-cl-primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.tty-cl-info-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 10px;
    padding: 10px 12px;
    margin: 12px 0 0;
    font-size: 0.8rem;
    color: #92400e;
    line-height: 1.5;
}

.tty-cl-info-note i {
    color: #d97706;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Kind card: upfront pricing meta */
.tty-cl-kind-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.tty-cl-kind-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--tty-cl-primary-dark);
}

.tty-cl-kind-price .woocommerce-Price-amount {
    color: var(--tty-cl-primary-dark);
}

.tty-cl-kind-duration {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--tty-cl-muted);
}

.tty-cl-kind-validity {
    font-size: 0.75rem;
    color: var(--tty-cl-muted);
}

/* FAQ */
.tty-cl-faq {
    margin-top: 36px;
}

.tty-cl-faq-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    font-size: 1.2rem;
    color: var(--tty-cl-text);
}

.tty-cl-faq-title i {
    color: var(--tty-cl-primary);
}

.tty-cl-faq-item {
    background: #fff;
    border: 1px solid var(--tty-cl-border);
    border-radius: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    margin-bottom: 10px;
    overflow: hidden;
}

.tty-cl-faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--tty-cl-text);
    list-style: none;
}

.tty-cl-faq-item summary::-webkit-details-marker {
    display: none;
}

.tty-cl-faq-item summary::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--tty-cl-primary);
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.tty-cl-faq-item[open] summary::after {
    transform: rotate(45deg);
}

.tty-cl-faq-item summary:hover {
    color: var(--tty-cl-primary);
}

.tty-cl-faq-answer {
    padding: 0 18px 14px;
    font-size: 0.9rem;
    color: var(--tty-cl-muted);
    line-height: 1.6;
}

@media (max-width: 600px) {
    .tty-cl-landing {
        padding: 16px 20px 0;
    }
    
    .tty-cl-step-head {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .tty-cl-faq-link {
        justify-content: center;
        padding: 10px 16px;
    }
    
    .tty-cl-hero-trust {
        gap: 0 10px;
        margin-bottom: 15px;
    }
    
    .tty-cl-hero-trust span {
        font-size: 0.76rem;
    }
    
    .tty-cl-layout {
        padding: 0 10px;
    }
    
    .tty-cl-faq-item summary {
        padding: 13px 14px;
        font-size: 0.9rem;
    }
    
    .tty-cl-faq-answer {
        padding: 0 14px 13px;
    }
}

/* ========================================
   Stepper navigation + interactive card
   affordance (added in 1.4.1)
   ======================================== */

/* Stepper */
.tty-cl-stepper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    /* Reserve the two-line pill height (label + chosen-value sublabel) so a
       completed step growing its sublabel never shifts the content below —
       the pills themselves may still grow, only the row height is constant. */
    min-height: 49px;
}

.tty-cl-stepper-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--tty-cl-border);
    border-radius: 999px;
    padding: 7px 16px 7px 8px;
    cursor: default;
    text-align: left;
    transition: all 0.15s ease;
}

.tty-cl-stepper-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f3f4f6;
    color: var(--tty-cl-muted);
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.tty-cl-stepper-num i {
    font-size: 0.75rem;
}

.tty-cl-stepper-num .fa-duotone.fa-check {
    display: none !important;
}

.tty-cl-stepper-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.tty-cl-stepper-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--tty-cl-muted);
    line-height: 1.2;
}

.tty-cl-stepper-value {
    font-size: 0.72rem;
    color: var(--tty-cl-muted);
    line-height: 1.2;
}

.tty-cl-stepper-value:empty {
    display: none;
}

/* Current step */
.tty-cl-stepper-item.is-current {
    border-color: var(--tty-cl-primary);
    box-shadow: 0 0 0 3px rgba(36, 119, 114, 0.12);
}

.tty-cl-stepper-item.is-current .tty-cl-stepper-num {
    background: var(--tty-cl-primary);
    color: #fff;
}

.tty-cl-stepper-item.is-current .tty-cl-stepper-label {
    color: var(--tty-cl-text);
}

/* Completed step: clickable to go back */
.tty-cl-stepper-item.is-done {
    cursor: pointer;
    border-color: var(--tty-cl-primary);
}

.tty-cl-stepper-item.is-done:hover {
    background: rgba(36, 119, 114, 0.06);
}

.tty-cl-stepper-item.is-done .tty-cl-stepper-num {
    background: #ecfdf5;
    color: #047857;
}

.tty-cl-stepper-item.is-done .tty-cl-stepper-num .tty-cl-stepper-digit {
    display: none;
}

.tty-cl-stepper-item.is-done .fa-duotone.fa-check {
    display: flex !important;
}

.tty-cl-stepper-item.is-done .tty-cl-stepper-label {
    color: var(--tty-cl-text);
}

.tty-cl-stepper-sep {
    width: 18px;
    height: 2px;
    background: var(--tty-cl-border);
    flex-shrink: 0;
}

/* Interactive cards: clear select affordance */
.tty-cl-kind-card,
.tty-cl-discipline-card {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.tty-cl-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    color: var(--tty-cl-primary);
    font-weight: 700;
    font-size: 0.875rem;
}

.tty-cl-card-cta i {
    transition: transform 0.15s ease;
}

.tty-cl-kind-card:hover .tty-cl-card-cta i {
    transform: translateX(3px);
}

.tty-cl-discipline-chevron {
    margin-left: auto;
    color: var(--tty-cl-primary);
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.tty-cl-discipline-card:hover .tty-cl-discipline-chevron {
    transform: translateX(3px);
}

/* Stepper: mobile — three equal columns, stacked pill content, no wrapping */
@media (max-width: 600px) {
    .tty-cl-stepper {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        min-height: 0;
    }
    
    .tty-cl-stepper-sep {
        display: none;
    }
    
    .tty-cl-stepper-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 10px 6px;
        border-radius: 14px;
        text-align: center;
    }
    
    .tty-cl-stepper-body {
        align-items: center;
    }
    
    .tty-cl-stepper-num {
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
    }
    
    .tty-cl-stepper-value {
        display: none;
    }
    
    .tty-cl-stepper-label {
        font-size: 0.75rem;
        line-height: 1.15;
    }
}

/* ========================================
   Delivery-country strip + locked country
   doctor matching (added in 1.5.0)
   ======================================== */

.tty-cl-delivery {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #edf4f6;
    border: 1px solid transparent;
    border-radius: 16px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.tty-cl-delivery-flag {
    width: 28px;
    height: 21px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.tty-cl-delivery-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.tty-cl-delivery-text strong {
    font-size: 0.9rem;
    color: var(--tty-cl-text);
}

.tty-cl-delivery-text span {
    font-size: 0.78rem;
    color: var(--tty-cl-muted);
    line-height: 1.4;
}

.tty-cl-change-country {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    background: #fff;
    border: 1px solid var(--tty-cl-border);
    border-radius: 30px;
    padding: 7px 15px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--tty-cl-primary);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.tty-cl-change-country:hover {
    color: #fff;
    background: var(--tty-cl-primary);
    border-color: var(--tty-cl-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 11px rgba(0, 0, 0, 0.1);
}

/* Warning variant: no delivery country known yet */
.tty-cl-delivery-warning {
    background: #fffbeb;
    border-color: #fcd34d;
}

.tty-cl-delivery-warnicon {
    color: #d97706;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.tty-cl-delivery-warning .tty-cl-delivery-text strong {
    color: #92400e;
}

/* Country-aware empty state in the doctor grid */
.tty-cl-no-doctors-match {
    background: #f9f9f9;
    border: 1px dashed var(--tty-cl-border);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
}

.tty-cl-no-doctors-match p {
    margin: 0 0 12px;
    font-size: 0.9rem;
    color: var(--tty-cl-muted);
}

.tty-cl-no-doctors-match .tty-cl-change-country {
    margin-left: 0;
}

@media (max-width: 600px) {
    .tty-cl-delivery {
        flex-wrap: wrap;
        padding: 12px 14px;
        /* Full width: cancels the mobile layout side padding (10px) */
        margin: 0 -10px 20px;
    }
    
    .tty-cl-step,
    .tty-cl-aside {
        margin: 0 -10px 20px;
    }
    
    .tty-cl-change-country {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        padding: 9px 15px;
    }
}

/* ========================================
   Booking confirmation + date cards
   (added in 1.5.6)
   ======================================== */

.tty-cl-summary-flag {
    width: 18px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
    vertical-align: -2px;
    margin-right: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* Mobile: two date cards side by side (the weekday now lives on its own
   line and the formatted date is bare, so half-width fits) */
@media (max-width: 600px) {
    .tty-cl-dates-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tty-cl-date-option {
        min-width: 0;
        padding: 10px 8px;
    }
}
