
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ==========================================
   CRICKET - INBOUND WORKSPACE
   WHITE / BLUE / BLACK
   ========================================== */

:root {
    color-scheme: light;

    --bg: #f7f9fc;
    --white: #ffffff;

    --black: #111827;
    --text: #111827;
    --muted: #64748b;

    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --blue-light: #3b82f6;
    --blue-soft: #eff6ff;

    --border: #e2e8f0;
    --border-blue: #bfdbfe;

    --shadow: 0 4px 24px rgba(15, 23, 42, 0.04);

    --radius: 16px;
}

/* ==========================================
   GLOBAL
   ========================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    min-height: 100vh;

    display: flex;
    flex-direction: column;

    background: var(--bg);
    color: var(--text);

    font-family: 'DM Sans', sans-serif;

    -webkit-font-smoothing: antialiased;
}

button {
    font: inherit;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
}

[hidden] {
    display: none !important;
}

/* ==========================================
   HEADER
   ========================================== */

.topbar {
    width: 100%;
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 max(36px, calc((100vw - 1320px) / 2));

    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
}

.topbar-left {
    gap: 25px;
}

.topbar-right {
    gap: 28px;
}

/* ==========================================
   BRAND
   ========================================== */

.brand {
    display: flex;
    align-items: center;

    gap: 9px;

    font-family: 'Space Grotesk', sans-serif;
    font-size: 25px;
    font-weight: 700;

    letter-spacing: -1px;
}

.brand-icon {
    display: grid;
    place-items: center;

    width: 35px;
    height: 35px;

    border-radius: 10px;

    background: var(--blue);
    color: var(--white);

    font-size: 23px;

    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.brand-dot {
    color: var(--blue);
}

.header-divider {
    width: 1px;
    height: 25px;

    background: var(--border);
}

.workspace-name {
    display: flex;
    align-items: center;

    gap: 10px;

    font-size: 13px;
    font-weight: 700;

    color: var(--black);
}

.workspace-indicator {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--blue);

    box-shadow: 0 0 0 4px var(--blue-soft);
}

.version {
    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.3px;

    color: #94a3b8;
}

.home-button {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 10px 15px;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 9px;

    font-size: 12px;
    font-weight: 700;

    transition: 0.2s ease;
}

.home-button span {
    font-size: 17px;
}

.home-button:hover {
    background: var(--blue-soft);
    border-color: var(--border-blue);
    color: var(--blue);
}

/* ==========================================
   MAIN WORKSPACE
   ========================================== */

.workspace {
    width: 100%;
    max-width: 1250px;

    margin: 0 auto;

    padding: 34px 36px 80px;

    flex: 1;
}

/* ==========================================
   WORKFLOW TOP BAR
   ========================================== */

.workflow-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 35px;
    margin-bottom: 65px;
}

.breadcrumb {
    display: flex;
    align-items: center;

    flex-wrap: wrap;
    gap: 12px;

    font-size: 12px;
    font-weight: 600;
}

.breadcrumb a {
    color: var(--muted);
}

.breadcrumb a:hover {
    color: var(--blue);
}

.breadcrumb-separator {
    color: #cbd5e1;
}

.breadcrumb-current {
    padding: 0;
    border: 0;
    background: transparent;

    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
}

.route-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;

    color: var(--black);
}

.route-breadcrumb::before {
    content: "/";
    color: #cbd5e1;
}

.restart-button {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 10px 14px;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: var(--white);

    color: var(--muted);

    font-size: 12px;
    font-weight: 700;

    transition: 0.2s ease;
}

.restart-button span {
    font-size: 18px;
}

.restart-button:hover {
    border-color: var(--border-blue);
    color: var(--blue);
    background: var(--blue-soft);
}

/* ==========================================
   SCREEN TRANSITIONS
   ========================================== */

.screen {
    display: none;
}

.screen.active {
    display: block;
    animation: screenEnter 0.35s ease both;
}

@keyframes screenEnter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   WELCOME AREA
   ========================================== */

.welcome-area {
    max-width: 800px;
    margin-bottom: 70px;
}

.eyebrow {
    color: var(--blue);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.welcome-area h1 {
    margin: 19px 0;

    font-family: 'Space Grotesk', sans-serif;

    font-size: clamp(38px, 4.4vw, 59px);
    font-weight: 600;

    letter-spacing: -2.5px;
    line-height: 1.14;
}

.welcome-area h1 span {
    color: var(--blue);
}

.welcome-area p {
    margin: 0;

    font-size: 16px;
    line-height: 1.8;

    color: var(--muted);
}

/* ==========================================
   ROUTES SECTION HEADING
   ========================================== */

.routes-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;
    margin-bottom: 25px;
}

.routes-heading h2 {
    margin: 0 0 8px;

    font-family: 'Space Grotesk', sans-serif;

    font-size: 21px;
    font-weight: 600;

    letter-spacing: -0.6px;
}

.routes-heading p {
    margin: 0;

    color: var(--muted);
    font-size: 13px;

    line-height: 1.6;
}

.route-count {
    color: #94a3b8;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.4px;

    white-space: nowrap;
}

/* ==========================================
   ROUTE GRID
   ========================================== */

.route-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 18px;
}

/* ==========================================
   ROUTE CARDS
   ========================================== */

.route-card {
    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 315px;

    padding: 26px;

    text-align: left;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.route-card:hover {
    transform: translateY(-5px);

    border-color: #93c5fd;

    box-shadow:
        0 15px 40px rgba(15, 23, 42, 0.07),
        0 0 0 1px rgba(37, 99, 235, 0.04);
}

.route-card:active {
    transform: translateY(-2px);
}

.route-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    margin-bottom: 30px;
}

.route-icon {
    display: grid;
    place-items: center;

    width: 52px;
    height: 52px;

    border-radius: 13px;

    background: var(--blue-soft);
    color: var(--blue);

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.route-icon svg {
    width: 25px;
    height: 25px;
}

.route-card:hover .route-icon {
    color: var(--white);
    background: var(--blue);
}

.route-number {
    color: #cbd5e1;

    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.route-content {
    flex: 1;
}

.route-content h3 {
    margin: 0 0 12px;

    font-family: 'Space Grotesk', sans-serif;

    font-size: 20px;
    font-weight: 600;

    letter-spacing: -0.5px;

    color: var(--black);
}

.route-content p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.8;
}

/* ==========================================
   ROUTE CARD FOOTER
   ========================================== */

.route-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 30px;
    padding-top: 20px;

    border-top: 1px solid var(--border);

    color: var(--blue);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.3px;
}

.route-arrow {
    font-size: 20px;

    transition: transform 0.2s ease;
}

.route-card:hover .route-arrow {
    transform: translateX(5px);
}

/* ==========================================
   WORKFLOW INFORMATION BOX
   ========================================== */

.workflow-info {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    margin-top: 35px;
    padding: 20px 23px;

    background: var(--blue-soft);

    border: 1px solid #dbeafe;
    border-radius: 12px;
}

.info-icon {
    display: grid;
    place-items: center;

    width: 24px;
    height: 24px;

    flex-shrink: 0;

    background: #dbeafe;
    color: var(--blue);

    border-radius: 50%;

    font-size: 13px;
    font-weight: 800;
}

.workflow-info strong {
    display: block;

    font-size: 13px;
    font-weight: 800;

    color: #1e40af;

    margin-bottom: 5px;
}

.workflow-info p {
    margin: 0;

    color: #48658e;

    font-size: 12px;
    line-height: 1.7;
}

/* ==========================================
   ACTIVE ROUTE HEADER
   ========================================== */

.route-screen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 55px;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 0;

    border: none;
    background: transparent;

    color: var(--muted);

    font-size: 13px;
    font-weight: 700;

    transition: color 0.2s ease;
}

.back-button span {
    font-size: 20px;
}

.back-button:hover {
    color: var(--blue);
}

.active-route-label {
    display: flex;
    align-items: center;
    gap: 9px;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.5px;

    color: var(--muted);
}

.active-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--blue);

    box-shadow: 0 0 0 4px var(--blue-soft);
}

/* ==========================================
   ACTIVE ROUTE INTRO
   ========================================== */

.active-route-intro {
    margin-bottom: 35px;
}

.active-route-intro h1 {
    margin: 15px 0;

    font-family: 'Space Grotesk', sans-serif;

    font-size: clamp(35px, 4vw, 48px);
    font-weight: 600;

    letter-spacing: -2px;
    line-height: 1.2;
}

.active-route-intro p {
    margin: 0;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.8;
}

/* ==========================================
   WORKFLOW CONTAINER
   ========================================== */

.workflow-container {
    width: 100%;

    min-height: 350px;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow);

    overflow: hidden;
}

/* ==========================================
   WORKFLOW PLACEHOLDER
   ========================================== */

.workflow-placeholder {
    min-height: 350px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 45px 25px;

    text-align: center;
}

.placeholder-icon {
    width: 65px;
    height: 65px;

    display: grid;
    place-items: center;

    background: var(--blue-soft);
    color: var(--blue);

    border-radius: 18px;

    margin-bottom: 25px;
}

.placeholder-icon svg {
    width: 30px;
    height: 30px;
}

.placeholder-label {
    color: var(--blue);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.8px;

    margin-bottom: 12px;
}

.workflow-placeholder h2 {
    margin: 0 0 12px;

    font-family: 'Space Grotesk', sans-serif;

    font-size: 25px;
    font-weight: 600;

    letter-spacing: -0.8px;
}

.workflow-placeholder p {
    max-width: 440px;

    margin: 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.9;
}

.placeholder-status {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-top: 28px;
    padding: 10px 15px;

    border-radius: 30px;

    background: #f8fafc;
    border: 1px solid var(--border);

    color: var(--muted);

    font-size: 11px;
    font-weight: 600;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;
    background: #94a3b8;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    width: 100%;
    max-width: 1250px;

    margin: 0 auto;
    padding: 25px 36px;

    display: flex;
    justify-content: space-between;

    border-top: 1px solid var(--border);

    color: #94a3b8;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 1.4px;
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 1000px) {
    .route-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 700px) {
    .topbar {
        height: 72px;
        padding: 0 20px;
    }

    .topbar-left {
        gap: 12px;
    }

    .topbar-right {
        gap: 10px;
    }

    .version,
    .header-divider {
        display: none;
    }

    .brand {
        font-size: 21px;
    }

    .brand-icon {
        width: 31px;
        height: 31px;
        font-size: 21px;
    }

    .workspace-name {
        font-size: 11px;
    }

    .home-button {
        padding: 9px 11px;
        font-size: 11px;
    }

    .workspace {
        padding: 25px 20px 55px;
    }

    .workflow-top {
        margin-bottom: 45px;
    }

    .welcome-area {
        margin-bottom: 50px;
    }

    .welcome-area h1 {
        letter-spacing: -1.7px;
    }

    .welcome-area p {
        font-size: 14px;
    }

    .routes-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .route-grid {
        grid-template-columns: 1fr;
    }

    .route-card {
        min-height: 265px;
        padding: 23px;
    }

    .route-card-top {
        margin-bottom: 25px;
    }

    .route-screen-header {
        margin-bottom: 40px;
    }

    .active-route-label {
        display: none;
    }

    .active-route-intro h1 {
        letter-spacing: -1.3px;
    }

    .footer {
        padding: 25px 20px;
    }

    .footer span:last-child {
        display: none;
    }
}

/* ==========================================
   REDUCED MOTION
   ========================================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .screen.active {
        animation: none;
    }

    .route-card,
    .route-icon,
    .route-arrow,
    .home-button,
    .restart-button {
        transition: none;
    }
}



/* ==========================================
   CRICKET - CLINIC WORKFLOW COMPONENTS
   VERSION 1.1
========================================== */

/* ==========================================
   WORKFLOW CONTAINER
========================================== */

.clinic-workflow {
    width: 100%;
    animation: clinicEnter 0.3s ease both;
}

@keyframes clinicEnter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   STEP HEADER
========================================== */

.clinic-step-header {
    padding: 35px 40px 30px;
    border-bottom: 1px solid var(--border);
}

.clinic-step-category {
    color: var(--blue);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.8px;
    text-transform: uppercase;

    margin-bottom: 14px;
}

.clinic-step-title {
    margin: 0 0 12px;

    color: var(--black);

    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(24px, 3vw, 31px);
    font-weight: 600;

    letter-spacing: -1px;
    line-height: 1.25;
}

.clinic-step-description {
    margin: 0;

    max-width: 700px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.8;
}

/* ==========================================
   STEP BODY
========================================== */

.clinic-step-body {
    padding: 35px 40px 40px;
}

/* ==========================================
   SELECTABLE WORKFLOW OPTIONS
========================================== */

.clinic-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.clinic-option {
    width: 100%;
    min-height: 84px;

    display: flex;
    align-items: center;
    gap: 20px;

    padding: 20px 22px;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: 12px;

    text-align: left;
    color: var(--black);

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.clinic-option:hover {
    background: var(--blue-soft);
    border-color: #93c5fd;

    transform: translateX(3px);

    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.04);
}

.clinic-option:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

.clinic-option-number {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: #f1f5f9;
    color: #64748b;

    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.clinic-option:hover .clinic-option-number {
    background: #dbeafe;
    color: var(--blue);
}

.clinic-option-content {
    display: flex;
    flex-direction: column;

    gap: 7px;
    flex: 1;
    min-width: 0;
}

.clinic-option-content strong {
    font-size: 14px;
    font-weight: 700;

    color: #111827;
}

.clinic-option-content > span {
    color: var(--muted);

    font-size: 12px;
    line-height: 1.6;
}

.clinic-option-arrow {
    color: #94a3b8;

    font-size: 22px;
    font-weight: 400;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.clinic-option:hover .clinic-option-arrow {
    color: var(--blue);
    transform: translateX(4px);
}

/* ==========================================
   INFORMATION DETAIL CARDS
========================================== */

.clinic-details-grid {
    display: grid;

    grid-template-columns: repeat(
        auto-fit,
        minmax(min(100%, 230px), 1fr)
    );

    gap: 15px;

    margin-bottom: 28px;
}

.clinic-detail-card {
    padding: 23px;

    background: #f8fafc;

    border: 1px solid var(--border);
    border-radius: 12px;
}

.clinic-detail-label {
    margin-bottom: 15px;

    color: var(--muted);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.4px;
}

.clinic-detail-value-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    flex-wrap: wrap;
    gap: 15px;
}

.clinic-detail-value {
    color: var(--blue-dark);

    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(17px, 2vw, 23px);
    font-weight: 600;

    letter-spacing: -0.6px;
    overflow-wrap: anywhere;
}

.clinic-copy-button {
    padding: 8px 13px;

    border: 1px solid #bfdbfe;
    border-radius: 7px;

    background: #ffffff;
    color: var(--blue);

    font-size: 11px;
    font-weight: 700;

    transition: 0.2s ease;
}

.clinic-copy-button:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #ffffff;
}

/* ==========================================
   AGENT INSTRUCTIONS
========================================== */

.clinic-checklist-section {
    margin-bottom: 30px;
}

.clinic-section-heading {
    margin: 0 0 17px;

    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 600;

    letter-spacing: -0.4px;
}

.clinic-checklist {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.clinic-checklist-item {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    padding: 15px 17px;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: 9px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.clinic-checklist-item:hover {
    background: #f8fbff;
    border-color: #c5d8f7;
}

.clinic-checklist-item input {
    width: 17px;
    height: 17px;

    flex-shrink: 0;

    margin: 2px 0 0;

    accent-color: var(--blue);

    cursor: pointer;
}

.clinic-checklist-item > span {
    color: #475569;

    font-size: 13px;
    line-height: 1.65;

    transition: color 0.2s ease;
}

.clinic-checklist-item:has(input:checked) {
    background: #f0f7ff;
    border-color: #bfdbfe;
}

.clinic-checklist-item input:checked + span {
    color: #64748b;
}

/* ==========================================
   SUGGESTED AGENT SCRIPT
========================================== */

.clinic-script-card {
    margin-bottom: 25px;

    padding: 23px 25px;

    background: #eff6ff;

    border: 1px solid #dbeafe;
    border-left: 3px solid var(--blue);
    border-radius: 11px;
}

.clinic-script-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 15px;
}

.clinic-script-top > span {
    color: var(--blue);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.3px;
}

.clinic-script-copy {
    padding: 7px 11px;

    background: #ffffff;

    border: 1px solid #bfdbfe;
    border-radius: 7px;

    color: var(--blue);

    font-size: 11px;
    font-weight: 700;

    transition: 0.2s ease;
}

.clinic-script-copy:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #ffffff;
}

.clinic-script-text {
    margin: 0;

    color: #1e3a8a;

    font-size: 14px;
    font-weight: 500;

    line-height: 1.9;
}

/* ==========================================
   INFORMATION NOTICES
========================================== */

.clinic-notice {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    margin-bottom: 25px;
    padding: 17px 20px;

    background: #f8fafc;

    border: 1px solid var(--border);
    border-radius: 10px;
}

.clinic-notice-icon {
    display: grid;
    place-items: center;

    width: 21px;
    height: 21px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #e2e8f0;
    color: #475569;

    font-size: 12px;
    font-weight: 800;
}

.clinic-notice p {
    margin: 0;

    color: #64748b;

    font-size: 12px;
    line-height: 1.8;
}

/* ==========================================
   ACTION BUTTONS
========================================== */

.clinic-actions,
.clinic-completion-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;
}

.clinic-actions:empty {
    display: none;
}

.clinic-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 43px;

    padding: 12px 22px;

    background: var(--blue);
    border: 1px solid var(--blue);
    border-radius: 9px;

    color: #ffffff;

    font-size: 12px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.clinic-primary-button:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);

    transform: translateY(-2px);

    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.15);
}

.clinic-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 43px;

    padding: 12px 22px;

    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 9px;

    color: #475569;

    font-size: 12px;
    font-weight: 700;

    transition: 0.2s ease;
}

.clinic-secondary-button:hover {
    border-color: #bfdbfe;
    background: var(--blue-soft);
    color: var(--blue);
}

/* ==========================================
   ROUTE COMPLETION SCREEN
========================================== */

.clinic-completion {
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 55px 30px;

    text-align: center;
}

.clinic-completion-icon {
    display: grid;
    place-items: center;

    width: 72px;
    height: 72px;

    margin-bottom: 23px;

    background: #eff6ff;

    border: 1px solid #bfdbfe;
    border-radius: 50%;

    color: var(--blue);

    font-size: 31px;
    font-weight: 700;
}

.clinic-completion h3 {
    margin: 0 0 10px;

    font-family: 'Space Grotesk', sans-serif;
    font-size: 27px;
    font-weight: 600;

    letter-spacing: -0.8px;
}

.clinic-completion > p {
    max-width: 450px;

    margin: 0 0 30px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.8;
}

.clinic-completion .clinic-script-card {
    width: 100%;
    max-width: 600px;

    text-align: left;

    margin-bottom: 30px;
}

.clinic-completion-actions {
    justify-content: center;
}

/* ==========================================
   TABLET RESPONSIVENESS
========================================== */

@media (max-width: 900px) {
    .clinic-step-header {
        padding: 30px;
    }

    .clinic-step-body {
        padding: 30px;
    }
}

/* ==========================================
   MOBILE RESPONSIVENESS
========================================== */

@media (max-width: 600px) {
    .clinic-step-header {
        padding: 25px 20px;
    }

    .clinic-step-title {
        font-size: 24px;
        letter-spacing: -0.7px;
    }

    .clinic-step-body {
        padding: 23px 18px 30px;
    }

    .clinic-option {
        padding: 16px 14px;
        gap: 13px;
    }

    .clinic-option-number {
        width: 37px;
        height: 37px;
        font-size: 12px;
    }

    .clinic-option-content strong {
        font-size: 13px;
    }

    .clinic-option-content > span {
        font-size: 11px;
    }

    .clinic-option-arrow {
        font-size: 18px;
    }

    .clinic-detail-card {
        padding: 20px;
    }

    .clinic-detail-value {
        font-size: 19px;
    }

    .clinic-script-card {
        padding: 18px;
    }

    .clinic-script-top {
        align-items: flex-start;
    }

    .clinic-script-text {
        font-size: 13px;
    }

    .clinic-completion {
        padding: 40px 17px;
    }

    .clinic-completion h3 {
        font-size: 23px;
    }

    .clinic-completion-actions {
        flex-direction: column;
        width: 100%;
    }

    .clinic-completion-actions button {
        width: 100%;
    }
}

/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {
    .clinic-workflow {
        animation: none;
    }

    .clinic-option,
    .clinic-option-number,
    .clinic-option-arrow,
    .clinic-primary-button,
    .clinic-secondary-button,
    .clinic-copy-button,
    .clinic-script-copy {
        transition: none;
    }
}



/* ==========================================
   CRICKET - WORKFLOW BACK NAVIGATION
   VERSION 1.2
========================================== */

.clinic-back-navigation {
    display: flex;
    align-items: center;

    margin-top: 28px;
    padding-top: 22px;

    border-top: 1px solid var(--border);
}

.clinic-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 11px;

    min-height: 42px;
    padding: 11px 17px;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: 9px;

    color: #475569;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.clinic-back-button:hover {
    background: var(--blue-soft);

    border-color: #bfdbfe;
    color: var(--blue);

    transform: translateX(-2px);
}

.clinic-back-button:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

.clinic-back-arrow {
    font-size: 19px;
    line-height: 1;

    transition: transform 0.2s ease;
}

.clinic-back-button:hover .clinic-back-arrow {
    transform: translateX(-3px);
}

/* Completion screen back button */

.clinic-completion > .clinic-back-navigation {
    width: 100%;
    max-width: 600px;

    justify-content: center;
    margin-top: 30px;
}

/* Mobile */

@media (max-width: 600px) {
    .clinic-back-navigation {
        margin-top: 23px;
        padding-top: 19px;
    }

    .clinic-back-button {
        padding: 11px 15px;
        font-size: 12px;
    }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    .clinic-back-button,
    .clinic-back-arrow {
        transition: none;
    }
}



/* ==========================================
   CRICKET - APPOINTMENT WORKFLOW
   VERSION 1.3
========================================== */

/* ==========================================
   PATIENT VERIFICATION
========================================== */

.cricket-verification-banner {
    display: flex;
    align-items: center;
    gap: 17px;

    padding: 20px 23px;
    margin-bottom: 30px;

    background: #eff6ff;

    border: 1px solid #bfdbfe;
    border-radius: 12px;

    color: #1e40af;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.8;
}

.cricket-verification-icon {
    width: 39px;
    height: 39px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    background: #dbeafe;
    color: #2563eb;

    border-radius: 11px;

    font-size: 20px;
    font-weight: 800;
}

/* ==========================================
   DISABLED VERIFICATION BUTTON
========================================== */

.clinic-primary-button:disabled {
    background: #cbd5e1;
    border-color: #cbd5e1;

    color: #64748b;

    cursor: not-allowed;

    box-shadow: none;
    transform: none;
}

.clinic-primary-button:disabled:hover {
    background: #cbd5e1;
    border-color: #cbd5e1;

    box-shadow: none;
    transform: none;
}

/* ==========================================
   SPECIALTY EXPLANATIONS
========================================== */

.cricket-specialty-section {
    margin: 8px 0 32px;
}

.cricket-specialty-help {
    margin: -5px 0 22px;

    color: #64748b;

    font-size: 13px;
    line-height: 1.8;
}

/* ==========================================
   SPECIALTY BUTTONS
========================================== */

.cricket-specialty-buttons {
    display: grid;

    grid-template-columns: repeat(
        2,
        minmax(0, 1fr)
    );

    gap: 12px;

    margin-bottom: 20px;
}

.cricket-specialty-button {
    min-height: 60px;

    padding: 16px 20px;

    display: flex;
    align-items: center;

    text-align: left;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 11px;

    color: #334155;

    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.cricket-specialty-button:hover {
    background: #eff6ff;

    border-color: #93c5fd;

    color: #2563eb;
}

.cricket-specialty-button.selected {
    background: #eff6ff;

    border-color: #2563eb;

    color: #1d4ed8;

    box-shadow:
        0 0 0 1px rgba(37, 99, 235, 0.07);
}

.cricket-specialty-button:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 3px;
}

/* ==========================================
   SPECIALTY INFORMATION CARD
========================================== */

.cricket-specialty-display:empty {
    display: none;
}

.cricket-specialty-card {
    padding: 27px;

    background: #f8fafc;

    border: 1px solid #dbeafe;
    border-radius: 13px;

    animation: specialtyAppear 0.25s ease both;
}

@keyframes specialtyAppear {
    from {
        opacity: 0;
        transform: translateY(7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cricket-specialty-card h3 {
    margin: 12px 0 17px;

    font-family: 'Space Grotesk', sans-serif;
    font-size: 25px;
    font-weight: 600;

    letter-spacing: -0.7px;

    color: #111827;
}

.cricket-specialty-simple {
    margin: 0 0 15px;

    color: #1e40af;

    font-size: 15px;
    font-weight: 600;

    line-height: 1.8;
}

.cricket-specialty-detail {
    margin: 0 0 25px;

    color: #64748b;

    font-size: 13px;
    line-height: 1.9;
}

.cricket-specialty-card .clinic-script-card {
    margin-bottom: 0;
    background: #ffffff;
}

/* ==========================================
   AGENT CHECKLIST SPACING
========================================== */

.clinic-checklist-section {
    margin-bottom: 30px;
}

.clinic-checklist-item {
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.clinic-checklist-item input {
    accent-color: #2563eb;
}

.clinic-checklist-item:has(input:checked) {
    background: #eff6ff;
    border-color: #bfdbfe;
}

/* ==========================================
   MOBILE RESPONSIVENESS
========================================== */

@media (max-width: 700px) {
    .cricket-specialty-buttons {
        grid-template-columns: 1fr;
    }

    .cricket-specialty-button {
        min-height: 53px;
        padding: 14px 17px;
    }

    .cricket-specialty-card {
        padding: 20px;
    }

    .cricket-specialty-card h3 {
        font-size: 22px;
    }

    .cricket-specialty-simple {
        font-size: 14px;
    }

    .cricket-verification-banner {
        padding: 17px;
        gap: 12px;

        font-size: 12px;
    }

    .cricket-verification-icon {
        width: 34px;
        height: 34px;
    }
}

/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {
    .cricket-specialty-card {
        animation: none;
    }

    .cricket-specialty-button {
        transition: none;
    }
}



/* ==========================================
   CRICKET - ANIMATED VERIFICATION INTRO
========================================== */

.cricket-verification-intro {
    position: relative;

    display: flex;
    flex-direction: column;

    align-items: flex-start;
    justify-content: center;

    min-height: 370px;

    padding: 35px 20px;

    animation: cricketIntroAppear 0.35s ease both;
}

/* ==========================================
   SMALL LABEL
========================================== */

.cricket-intro-label {
    display: inline-flex;
    align-items: center;

    margin-bottom: 30px;

    color: #2563eb;

    font-family: 'DM Sans', sans-serif;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2.2px;
}

/* ==========================================
   ANIMATED AGENT SCRIPT
========================================== */

.cricket-animated-script {
    width: 100%;
    max-width: 950px;

    color: #111827;

    font-family: 'Space Grotesk', sans-serif;

    font-size: clamp(
        26px,
        3.3vw,
        43px
    );

    font-weight: 600;

    letter-spacing: -1.5px;
    line-height: 1.55;

    text-align: left;
}

/* ==========================================
   INDIVIDUAL WORD ANIMATION
========================================== */

.cricket-animated-word {
    display: inline-block;

    opacity: 0;

    color: #111827;

    filter: blur(5px);

    transform: translateY(13px);

    animation: cricketWordReveal 0.5s
        cubic-bezier(0.2, 0.8, 0.2, 1)
        forwards;
}

@keyframes cricketWordReveal {
    0% {
        opacity: 0;

        filter: blur(5px);

        transform: translateY(13px);
    }

    100% {
        opacity: 1;

        filter: blur(0);

        transform: translateY(0);
    }
}

/* ==========================================
   INTRO ACTIONS
========================================== */

.cricket-intro-actions {
    display: flex;
    justify-content: flex-end;

    width: 100%;

    margin-top: 35px;
}

.cricket-intro-skip {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 11px 17px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 9px;

    color: #64748b;

    font-family: 'DM Sans', sans-serif;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.cricket-intro-skip:hover {
    background: #eff6ff;

    border-color: #bfdbfe;

    color: #2563eb;
}

/* ==========================================
   INTRO COMPLETION
========================================== */

.cricket-intro-complete {
    animation: cricketIntroFade 0.25s ease forwards;
}

@keyframes cricketIntroFade {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-8px);
    }
}

/* ==========================================
   VERIFICATION CONTENT REVEAL
========================================== */

.cricket-verification-content {
    opacity: 0;

    transform: translateY(15px);

    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

.cricket-verification-content[hidden] {
    display: none !important;
}

.cricket-verification-content.cricket-verification-visible {
    opacity: 1;
    transform: translateY(0);
}

.cricket-verification-content .clinic-actions {
    margin-top: 30px;
}

/* ==========================================
   INTRO ENTRANCE
========================================== */

@keyframes cricketIntroAppear {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   MOBILE RESPONSIVENESS
========================================== */

@media (max-width: 700px) {
    .cricket-verification-intro {
        min-height: 310px;
        padding: 20px 0;
    }

    .cricket-intro-label {
        font-size: 10px;
        margin-bottom: 23px;
    }

    .cricket-animated-script {
        font-size: clamp(
            23px,
            5.3vw,
            32px
        );

        letter-spacing: -0.8px;
        line-height: 1.55;
    }

    .cricket-intro-actions {
        margin-top: 25px;
    }
}

/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {
    .cricket-verification-intro,
    .cricket-animated-word,
    .cricket-intro-complete {
        animation: none;
    }

    .cricket-animated-word {
        opacity: 1;
        filter: none;
        transform: none;
    }

    .cricket-verification-content {
        transition: none;
    }
}

/* ============================================================
   CALL INTAKE — required before opening any Inbound route
============================================================ */
.call-intake-screen{max-width:820px;margin:10px auto 60px}
.intake-heading{text-align:center;margin-bottom:32px}
.intake-heading h1{font:600 clamp(37px,5vw,56px)/1.12 'Space Grotesk',sans-serif;letter-spacing:-2px;margin:16px 0}
.intake-heading h1 span{color:#2563eb}
.intake-heading p{font-size:14px;line-height:1.9;color:#64748b;max-width:620px;margin:0 auto}
.intake-card{background:#fff;border:1px solid #dfe7f2;border-radius:19px;padding:clamp(24px,4vw,39px);box-shadow:0 20px 55px rgba(17,42,86,.055)}
.intake-card-header{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid #e2e8f0;padding-bottom:24px;margin-bottom:28px}
.intake-step{font-size:11px;letter-spacing:1.45px;font-weight:800;color:#64748b}
.intake-tag{font-size:10px;letter-spacing:1px;font-weight:800;border-radius:50px;background:#eff6ff;color:#2563eb;padding:8px 11px}
.intake-label{display:block;font-size:13px;font-weight:800;color:#17233b;margin-bottom:12px}
.intake-input-wrap{display:flex;align-items:center;gap:13px;padding:5px 15px;border:1px solid #cbd5e1;border-radius:12px;transition:border-color .2s,box-shadow .2s}
.intake-input-wrap:focus-within{border-color:#2563eb;box-shadow:0 0 0 4px #dbeafe}
.intake-input-wrap>span{font-size:23px;color:#2563eb}
.intake-input-wrap input{width:100%;min-height:51px;border:0;outline:0;background:transparent;font:600 17px 'DM Sans',sans-serif;color:#17233b;letter-spacing:.4px}
.intake-input-wrap input::placeholder{color:#9aa9bf;font-weight:400}
.intake-tip{font-size:11px;color:#64748b;line-height:1.7;margin:12px 0 0}
.intake-error{min-height:20px;color:#dc2626;font-size:11px;margin:7px 0}
.intake-submit{width:100%;min-height:52px;display:flex;justify-content:center;align-items:center;gap:12px;background:#2563eb;border:1px solid #2563eb;color:white;border-radius:11px;font-weight:800;font-size:13px;transition:.2s}
.intake-submit:hover:not(:disabled){background:#1d4ed8;transform:translateY(-1px)}
.intake-submit:disabled{background:#a9c5fa;border-color:#a9c5fa;cursor:not-allowed}
.intake-footnote{display:flex;align-items:flex-start;gap:14px;margin:24px auto;max-width:670px}
.intake-footnote-icon{flex:0 0 31px;height:31px;display:grid;place-items:center;color:#2563eb;background:#e9f1ff;border-radius:9px;font-weight:800}
.intake-footnote strong{font-size:12px;color:#20304c}
.intake-footnote p{font-size:11px;color:#64748b;line-height:1.7;margin:5px 0}
.active-call-banner{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:#eff6ff;border:1px solid #c9dcff;border-radius:14px;padding:15px 18px;margin:-42px 0 43px}
.active-call-icon{font-size:24px;color:#2563eb}
.active-call-banner>div{display:flex;flex-direction:column;gap:3px;flex:1;min-width:130px}
.active-call-banner strong{font-size:11px;color:#1d4ed8}
.active-call-banner div span{font-weight:800;font-size:14px;color:#132f64;letter-spacing:.5px}
.active-call-banner button{border:1px solid #bfdbfe;border-radius:10px;background:#fff;padding:11px 13px;font:800 11px 'DM Sans',sans-serif;color:#1d4ed8}
.active-call-banner button:hover{background:#dbeafe}
@media(max-width:680px){.call-intake-screen{margin-top:0}.intake-heading{text-align:left}.intake-heading p{font-size:12px}.intake-card{padding:20px}.active-call-banner{margin:-30px 0 30px}}
