/*
Theme Name: USA Times Read
Theme URI: https://read.usatimes.com
Author: USA Times
Description: Custom news theme for USA Times Read — NYT-leaning design built on Twenty Twenty-Five.
Version: 1.8.0
Template: twentytwentyfive
Text Domain: usa-times-read
*/

/* Drop cap on first paragraph of single posts */
.single .wp-block-post-content > p:first-of-type::first-letter {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 4.5em;
    font-weight: 900;
    line-height: 0.85;
    float: left;
    margin: 0.1em 0.12em 0 0;
    color: #121212;
}

/* Article title with subtle underline */
.single .wp-block-post-title {
    border-bottom: 1px solid #dddddd;
    padding-bottom: 0.5em;
    margin-bottom: 0.5em;
}

/* Section / category label: small caps, letter-spaced */
.wp-block-post-terms,
.section-label {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #0a3f93;
}

/* Byline in italic */
.wp-block-post-author-name,
.byline {
    font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
    font-style: italic;
    color: #5a5a5a;
    font-size: 0.95rem;
}

/* Date format */
.wp-block-post-date {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #5a5a5a;
    letter-spacing: 0.02em;
}

/* Tighten headline letter spacing */
h1, h2, h3, .wp-block-post-title {
    letter-spacing: -0.015em;
}

/* Comfortable body reading */
.wp-block-post-content p {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 1.25em;
}

/* Breaking news label */
.breaking-label {
    background: #d41a22;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 2px 8px;
    display: inline-block;
}

/* Homepage hero post layout */
.hero-post .wp-block-post-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.05;
}

/* Reset list-y bits we don't want */
.wp-block-post-content ul, .wp-block-post-content ol {
    padding-left: 1.5em;
    line-height: 1.7;
}

/* Pull-quote styling */
.wp-block-pullquote, blockquote {
    border-left: 3px solid #0a3f93;
    padding-left: 1.5em;
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1.25rem;
    line-height: 1.4;
    color: #121212;
}

/* Hide site title when logo serves as masthead */
.wp-block-site-title { display: none; }

/* Logo sizing */
.wp-block-site-logo img {
    max-height: 56px;
    width: auto;
    margin: 0;
}

/* Header polish: border under header, more breathing room */
header.wp-block-template-part {
    border-bottom: 1px solid #dddddd;
    padding: 0.5rem 0;
}

/* Homepage: hero post title bigger */
.hero-post .wp-block-post-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    line-height: 1.05;
    margin: 0.5rem 0 0.75rem;
}
.hero-post .wp-block-post-terms {
    color: #0a3f93;
    margin: 0.75rem 0 0.25rem;
}
.hero-post .wp-block-post-author-name,
.hero-post .wp-block-post-date {
    display: inline-block;
    margin-right: 0.75rem;
}

/* Secondary stack: smaller headlines stacked with dividers */
.secondary-stack .wp-block-post-title {
    margin: 0.25rem 0 0;
}
.secondary-stack .wp-block-post-terms {
    color: #0a3f93;
    font-size: 0.7rem;
    margin-bottom: 0.25rem;
}

/* "More News" grid: featured image + terms + title + excerpt */
.alignwide.wp-block-query .wp-block-post-featured-image {
    margin-bottom: 0.75rem;
}
.alignwide.wp-block-query .wp-block-post-title {
    margin: 0.25rem 0 0.5rem;
}

/* Section nav links in header */
.section-nav a {
    color: #121212;
    text-decoration: none;
}
.section-nav a:hover { text-decoration: underline; }

/* Login link */
.login-link a {
    color: #5a5a5a;
    text-decoration: none;
}

/* Headlines: near-black, only blue on hover. Section labels stay blue. */
.wp-block-post-title,
.wp-block-post-title a,
.hero-post .wp-block-post-title a,
.secondary-stack .wp-block-post-title a,
.alignwide.wp-block-query .wp-block-post-title a {
    color: #121212 !important;
    text-decoration: none;
}
.wp-block-post-title a:hover {
    color: #0a3f93 !important;
}

/* Secondary stack: tighter dividers, add bylines */
.secondary-stack .wp-block-post-terms {
    margin-top: 0 !important;
}

/* Hero image: cap height so it does not dominate */
.hero-post .wp-block-post-featured-image img {
    max-height: 480px;
    object-fit: cover;
    width: 100%;
}

/* Section nav: slightly tighter, all caps already */
.section-nav p {
    margin: 0;
}
.section-nav a {
    color: #121212;
    text-decoration: none;
    padding: 0 0.25rem;
}

/* LOG IN link: smaller, gray, top-right */
.login-link {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.login-link a {
    color: #5a5a5a;
    text-decoration: none;
}

/* Footer list styling */
.usat-footer-list { list-style: none; padding-left: 0 !important; }
.usat-footer-list li { padding: 0.2em 0; }
.usat-footer-list a { color: #121212; text-decoration: none; }
.usat-footer-list a:hover { color: #0a3f93; text-decoration: underline; }
.usat-footer { padding-left: 1rem; padding-right: 1rem; }
.usat-footer .wp-block-site-logo img { max-height: 40px; }



/* Drop cap should target the post body's first paragraph (not the reading-meta byline) */
.single .wp-block-post-content > .usat-reading-meta::first-letter {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-weight: inherit !important;
    color: inherit !important;
}
.single .wp-block-post-content > .usat-reading-meta + p::first-letter {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 4.5em;
    line-height: 0.85;
    float: left;
    padding: 0.05em 0.15em 0 0;
    font-weight: 700;
    color: #121212;
}

/* ============== NYT-style page container ==============
 * Constrain everything to a comfortable max-width with breathing room on the sides.
 */
:root {
    --usat-page-max: 1280px;
    --usat-page-padding: clamp(1rem, 4vw, 3rem);
}

/* The site's outer container (header, main, footer) */
body.wp-singular,
body.home,
body.archive,
body.search,
body.error404 {
    --wp--style--global--content-size: 680px;
    --wp--style--global--wide-size: var(--usat-page-max);
}

/* Header + footer template parts get centered with side padding */
.wp-site-blocks > header,
.wp-site-blocks > main,
.wp-site-blocks > footer {
    padding-left: var(--usat-page-padding);
    padding-right: var(--usat-page-padding);
}

/* Inside each, the actual content rows get centered to max-width */
.wp-site-blocks > header > .wp-block-group,
.wp-site-blocks > footer > .wp-block-group,
.wp-site-blocks > main {
    max-width: var(--usat-page-max);
    margin-left: auto;
    margin-right: auto;
}

/* Top-banner ad: keep the gray strip border for visual separation,
 * but constrain the ad slot itself to the same max-width */
.usat-ad-topbar-container {
    padding-left: var(--usat-page-padding);
    padding-right: var(--usat-page-padding);
}
.usat-ad-topbar-container > .usat-ad-wrapper {
    max-width: var(--usat-page-max);
    margin-left: auto;
    margin-right: auto;
}

/* Single posts: keep the narrow reading column even narrower for legibility */
.single .wp-block-post-content {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* But let featured images breathe wider */
.single .wp-block-post-featured-image,
.single .wp-block-post-title {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

/* Section nav rule lines still span full width — that's intentional newspaper feel */
.section-nav {
    margin-left: calc(var(--usat-page-padding) * -1);
    margin-right: calc(var(--usat-page-padding) * -1);
    padding-left: var(--usat-page-padding);
    padding-right: var(--usat-page-padding);
}

/* ============ Article footer components ============ */

/* SHARE — clean horizontal row, no flex tangle with siblings */
.usat-share {
    display: block;
    clear: both;
    margin: 2.5rem 0 1.5rem 0;
    padding: 1.2rem 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    font-family: Inter, system-ui, sans-serif;
}
.usat-share-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 0.7rem;
}
.usat-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.usat-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid #d6d6d6;
    border-radius: 4px;
    background: #fff;
    color: #121212;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.usat-share-btn:hover {
    background: #f5f5f5;
    border-color: #888;
}
.usat-share-btn svg {
    flex-shrink: 0;
}

/* NEWSLETTER — full-width block, never sits inline with anything */
.usat-newsletter {
    display: block;
    clear: both;
    margin: 2.5rem 0;
    padding: 0;
    background: #f7f5f0;
    border-top: 3px solid #0a3f93;
    border-bottom: 1px solid #e0d9c5;
}
.usat-newsletter-inner {
    max-width: 560px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    text-align: center;
}
.usat-nl-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.15;
    color: #121212;
    margin: 0 0 0.5rem 0;
}
.usat-nl-tagline {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #444;
    margin: 0 0 1.4rem 0;
}
.usat-nl-form {
    display: flex;
    gap: 0.5rem;
    max-width: 460px;
    margin: 0 auto;
}
.usat-nl-input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.75rem 0.9rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid #c8c0a8;
    border-radius: 4px;
    background: #fff;
    color: #121212;
}
.usat-nl-input:focus {
    outline: none;
    border-color: #0a3f93;
    box-shadow: 0 0 0 2px rgba(10,63,147,0.15);
}
.usat-nl-button {
    flex-shrink: 0;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: Inter, system-ui, sans-serif;
    color: #fff;
    background: #0a3f93;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s ease;
}
.usat-nl-button:hover { background: #062d6d; }
.usat-nl-button:disabled { background: #888; cursor: wait; }
.usat-nl-status {
    margin: 0.9rem 0 0 0;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.85rem;
    min-height: 1.2em;
    color: #444;
}
.usat-nl-status-success { color: #0a3f93; }
.usat-nl-status-error { color: #b32020; }

@media (max-width: 520px) {
    .usat-nl-form { flex-direction: column; }
    .usat-nl-button { width: 100%; }
}

/* AUTHOR BIO — already styled but clean up */
.usat-author-bio {
    display: flex !important;
    gap: 1.2rem !important;
    align-items: flex-start !important;
    clear: both;
    margin: 2.5rem 0 !important;
}

/* RELATED — clean up too */
.usat-related {
    clear: both;
    margin: 2.5rem 0 1rem 0 !important;
}

/* ============ NYT-style article header ============ */

/* Article title — large, tight, dark */
.single .wp-block-post-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: #121212;
    margin-bottom: 1rem;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

/* Byline row — "By Achir Kalra · May 12, 2026" in a single tidy line */
.single .wp-block-post-author-name,
.single .wp-block-post-date {
    font-family: Inter, system-ui, sans-serif !important;
    font-size: 0.92rem !important;
    color: #444 !important;
    margin: 0 !important;
}
.single .wp-block-post-author-name {
    font-weight: 600 !important;
}
.single .wp-block-post-author-name a {
    color: #121212;
    text-decoration: none;
    border-bottom: 1px dotted #888;
}
.single .wp-block-post-author-name a:hover {
    border-bottom-color: #0a3f93;
    color: #0a3f93;
}

/* Featured image — generous spacing, subtle shadow */
.single .wp-block-post-featured-image {
    max-width: 1000px;
    margin: 1.8rem auto 0.5rem auto;
}
.single .wp-block-post-featured-image img {
    width: 100%;
    height: auto;
}

/* Hide category terms on single post — they're already in the URL/breadcrumb */
.single .entry-content > .wp-block-post-terms:first-child { display: none; }

/* Section dividers in list-format posts (h2 year markers) */
.single .wp-block-post-content > h2.wp-block-heading {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #888;
    margin: 2.5rem 0 1rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
}

/* Pretty list items in list posts */
.single .wp-block-post-content > ol {
    padding-left: 1.5rem;
    margin: 0.5rem 0 1.5rem 0;
}
.single .wp-block-post-content > ol li {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 1.08rem;
    line-height: 1.65;
    padding: 0.4rem 0;
    color: #222;
}
.single .wp-block-post-content > ol li strong {
    color: #121212;
}

/* ============ Hide WP comments completely ============ */
.comments-area,
.comment-respond,
#comments,
.post-comments-form,
.comments-title,
.wp-block-comments,
.wp-block-comments-title,
.wp-block-post-comments-form,
.wp-block-comment-template,
.wp-block-comments-pagination,
.wp-block-loginout {
    display: none !important;
}
/* But keep the .wp-block-loginout in the header */
header .wp-block-loginout {
    display: inline-block !important;
}

/* ============ NYT-style byline ============ */
.usat-byline-wrap {
    max-width: 820px;
    margin: 0.6rem auto 0.5rem auto;
    text-align: left;
}
.usat-byline-cat {
    display: inline-block;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0a3f93;
    text-decoration: none;
    margin-bottom: 0.5rem;
    border-bottom: 1px dotted transparent;
}
.usat-byline-cat:hover { border-bottom-color: #0a3f93; }
.usat-byline {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.95rem;
    color: #444;
    margin: 0;
    line-height: 1.4;
}
.usat-byline-by { color: #888; }
.usat-byline-name {
    color: #121212;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}
.usat-byline-name:hover { border-bottom-color: #0a3f93; color: #0a3f93; }
.usat-byline-sep { margin: 0 0.4em; color: #aaa; }
.usat-byline-date { color: #666; }

/* Hide the parent theme byline (built from hidden-written-by pattern) since our shortcode replaces it */
.single .wp-block-post-author-name + p,
.single p + .wp-block-post-author-name,
.single .wp-block-group:has(> .wp-block-post-author-name) { /* fallback hide via group context */
}

/* Make the post-title look the same big serif treatment */
.single > main > .wp-block-post-title,
.single .wp-block-post-title {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: clamp(2.2rem, 5vw, 3.2rem) !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.01em !important;
    color: #121212 !important;
    margin: 0 auto 0.6rem auto !important;
    max-width: 820px !important;
    text-align: left;
}

/* ============ More from USA Times — card grid ============ */
.usat-more-posts-heading {
    max-width: 1080px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-top: 1.5rem;
    border-top: 2px solid #121212;
}
.usat-more-posts {
    max-width: 1080px;
    margin: 0.5rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}
.usat-more-post {
    display: block;
    text-decoration: none;
    color: inherit;
}
.usat-more-post-thumb {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    margin-bottom: 0.6rem;
    background: #eee;
}
.usat-more-post-cat {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #0a3f93;
    display: block;
    margin-bottom: 0.25rem;
}
.usat-more-post-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    color: #121212;
    margin: 0 0 0.4rem 0;
}
.usat-more-post:hover .usat-more-post-title { color: #0a3f93; }
.usat-more-post-date {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.78rem;
    color: #888;
}

/* Placeholder for posts without featured images */
.usat-more-post-thumb-placeholder {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    aspect-ratio: 16/10;
    width: 100%;
    margin-bottom: 0.6rem;
}

/* Force inline display for byline pieces — beat any wpautop residue */
.usat-byline,
.usat-byline > * {
    display: inline;
}
.usat-byline {
    display: block;
}

/* More posts cards — now span-based (because wpautop hates divs in shortcode output) */
.usat-more-post-text { display: block; }
.usat-more-post-cat { display: block; }
.usat-more-post-title {
    display: block;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    color: #121212;
    margin: 0 0 0.4rem 0;
}
.usat-more-post-date { display: block; }

/* Byline spans */
.usat-byline-wrap, .usat-byline { display: block; }
.usat-byline-cat { display: inline-block; margin-bottom: 0.5rem; }
.usat-byline > * { display: inline; }

/* === USAT POLICY PAGES START === */

/* ============ POLICY PAGE LAYOUT (NYT-style card) ============ */

body.page.usat-policy-template,
body.page.usat-policy-template .wp-site-blocks {
    background: #f4f3ef;
}

.usat-policy-page {
    max-width: 760px;
    margin: 3rem auto 5rem auto;
}

.usat-policy-breadcrumb {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.82rem;
    color: #777;
    margin: 0 0 1.5rem 0;
    letter-spacing: 0.02em;
}
.usat-policy-breadcrumb a {
    color: #555;
    text-decoration: none;
    border-bottom: 1px dotted transparent;
}
.usat-policy-breadcrumb a:hover { border-bottom-color: #555; }
.usat-policy-breadcrumb .sep {
    margin: 0 0.55em;
    color: #aaa;
}

.usat-policy-card {
    background: #ffffff;
    border: 1px solid #e6e3dc;
    border-radius: 4px;
    padding: clamp(2rem, 6vw, 4.5rem);
    box-shadow: 0 2px 12px rgba(20, 16, 8, 0.04);
}

.usat-policy-eyebrow {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #b32020;
    margin: 0 0 1rem 0;
}

.usat-policy-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.2rem, 5.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.012em;
    color: #121212;
    margin: 0 0 1.2rem 0;
}

.usat-policy-deck {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 1.25rem;
    line-height: 1.45;
    color: #444;
    margin: 0 0 2rem 0;
    border-bottom: 1px solid #ebe7dc;
    padding-bottom: 1.8rem;
}

.usat-policy-card .usat-body p,
.usat-policy-card .usat-body li {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 1.08rem;
    line-height: 1.65;
    color: #222;
}
.usat-policy-card .usat-body p { margin: 0 0 1.1rem 0; }
.usat-policy-card .usat-body h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.2;
    color: #121212;
    margin: 2rem 0 0.7rem 0;
}
.usat-policy-card .usat-body h3 {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #666;
    margin: 1.6rem 0 0.5rem 0;
}
.usat-policy-card .usat-body ul, .usat-policy-card .usat-body ol {
    margin: 0 0 1.2rem 0;
    padding-left: 1.4rem;
}
.usat-policy-card .usat-body li { margin: 0 0 0.5rem 0; }
.usat-policy-card .usat-body a {
    color: #0a3f93;
    text-decoration: none;
    border-bottom: 1px solid #c5d3eb;
}
.usat-policy-card .usat-body a:hover {
    border-bottom-color: #0a3f93;
}
.usat-policy-card .usat-body strong { color: #121212; font-weight: 600; }

.usat-policy-footer {
    margin-top: 2.8rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ebe7dc;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.85rem;
    color: #777;
}
.usat-policy-footer .updated { margin: 0 0 0.7rem 0; }
.usat-policy-footer .related-label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    color: #888;
    margin: 0.8rem 0 0.5rem 0;
}
.usat-policy-footer .related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.usat-policy-footer .related-links a {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    background: #f4f3ef;
    border: 1px solid #e0dcd0;
    border-radius: 30px;
    color: #444;
    text-decoration: none;
    font-size: 0.82rem;
}
.usat-policy-footer .related-links a:hover {
    background: #fff;
    border-color: #888;
    color: #121212;
}

/* Hide WP-rendered title on policy pages (we provide our own inside the card) */
.page.usat-policy-template .wp-block-post-title { display: none; }


/* ============ MASTHEAD HERO ============ */
.usat-masthead-hero {
    text-align: center;
    max-width: 760px;
    margin: 2rem auto 3.5rem auto;
    padding: 0 1rem;
}
.usat-masthead-hero .usat-eyebrow {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #b32020;
    margin: 0 0 0.8rem 0;
}
.usat-masthead-h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    font-weight: 700;
    line-height: 1.05;
    margin: 0 0 1.2rem 0;
    color: #121212;
}
.usat-masthead-deck {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 1.2rem;
    line-height: 1.55;
    color: #444;
    margin: 0;
}
.usat-masthead-section {
    max-width: 920px;
    margin: 0 auto 3rem auto;
    padding: 0 1rem;
}
.usat-section-label {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #121212;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #121212;
    margin: 0 0 1.6rem 0;
}
.usat-masthead-lede {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 1.08rem;
    line-height: 1.6;
    color: #333;
    margin: 0 0 1.5rem 0;
    max-width: 720px;
}

.usat-staff-hero {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 1.5rem;
    background: #faf9f5;
    border: 1px solid #e6e3dc;
    border-radius: 4px;
}
.usat-staff-hero-avatar img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.usat-staff-hero-meta { flex: 1; }
.usat-staff-role {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #b32020;
    margin: 0 0 0.4rem 0;
}
.usat-staff-name {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.05;
    margin: 0 0 0.6rem 0;
    color: #121212;
}
.usat-staff-name a { color: inherit; text-decoration: none; }
.usat-staff-name a:hover { color: #0a3f93; }
.usat-staff-blurb {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 1.02rem;
    line-height: 1.5;
    color: #444;
    margin: 0 0 0.6rem 0;
}
.usat-staff-contact {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.85rem;
    color: #777;
    margin: 0;
}
.usat-staff-contact a { color: #0a3f93; text-decoration: none; }
.usat-staff-contact a:hover { text-decoration: underline; }

.usat-staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.usat-staff-card {
    padding: 1.3rem;
    background: #faf9f5;
    border: 1px solid #e6e3dc;
    border-radius: 4px;
    text-align: left;
}
.usat-staff-card-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin-bottom: 0.9rem;
}
.usat-staff-card .usat-staff-name {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
}

.usat-cta-line {
    margin-top: 1.4rem;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.92rem;
    color: #555;
}
.usat-cta-line a { color: #0a3f93; text-decoration: none; border-bottom: 1px solid #c5d3eb; }
.usat-cta-line a:hover { border-bottom-color: #0a3f93; }

.usat-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}
.usat-contact-card {
    padding: 1.1rem 1.3rem;
    background: #faf9f5;
    border: 1px solid #e6e3dc;
    border-radius: 4px;
}
.usat-contact-label {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #b32020;
    margin: 0 0 0.3rem 0;
}
.usat-contact-value {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}
.usat-contact-value a { color: #121212; text-decoration: none; border-bottom: 1px solid #ccc; }
.usat-contact-value a:hover { border-bottom-color: #0a3f93; color: #0a3f93; }
.usat-contact-note {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #555;
    margin: 0;
}
.usat-contact-note a { color: #0a3f93; text-decoration: none; border-bottom: 1px solid #c5d3eb; }

.usat-principles {
    list-style: none;
    padding: 0;
    margin: 0;
}
.usat-principles li {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 1.05rem;
    line-height: 1.55;
    color: #222;
    padding: 0.7rem 0;
    border-bottom: 1px solid #ebe7dc;
}
.usat-principles li:last-child { border-bottom: none; }
.usat-principles strong { color: #121212; font-weight: 600; }

@media (max-width: 640px) {
    .usat-staff-hero { flex-direction: column; text-align: center; }
    .usat-staff-hero-avatar img { margin: 0 auto; }
}


/* === USAT POLICY PAGES END === */

/* === USAT JOYRIDE START === */

/* ============ JOYRIDE PAGES ============ */

body.page-joyride { background: #f7f5f0; }

.usat-joyride-hero {
    max-width: 760px;
    margin: 2rem auto 2.5rem auto;
    text-align: center;
    padding: 0 1rem;
}
.usat-joyride-hero .usat-eyebrow {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #b32020;
    margin: 0 0 0.8rem 0;
}
.usat-joyride-h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 3.3rem);
    font-weight: 700;
    line-height: 1.05;
    color: #121212;
    margin: 0 0 1rem 0;
}
.usat-joyride-deck {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 1.15rem;
    line-height: 1.55;
    color: #444;
    margin: 0 0 1rem 0;
}
.usat-joyride-switcher {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.9rem;
    color: #777;
}
.usat-joyride-switcher a { color: #0a3f93; text-decoration: none; border-bottom: 1px solid #c5d3eb; }
.usat-joyride-switcher a:hover { border-bottom-color: #0a3f93; }

.usat-joyride-mock-banner {
    max-width: 900px;
    margin: 0 auto 2rem auto;
    padding: 0.9rem 1.2rem;
    background: #fff8e8;
    border: 1px solid #f0d27a;
    border-radius: 4px;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.92rem;
    color: #5a4a10;
}
.usat-joyride-mock-banner .usat-eyebrow-small {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #a07020;
    margin-right: 0.6rem;
    padding: 0.15rem 0.5rem;
    background: #fff3d2;
    border: 1px solid #e5c570;
    border-radius: 3px;
    vertical-align: middle;
}

.usat-joyride-section {
    max-width: 1080px;
    margin: 0 auto 3rem auto;
    padding: 0 1rem;
}
.usat-joyride-section .usat-section-label {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #121212;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #121212;
    margin: 0 0 1.4rem 0;
}

.usat-joyride-map {
    height: 420px;
    width: 100%;
    border-radius: 6px;
    border: 1px solid #e0dcd0;
    background: #f0eee5;
    overflow: hidden;
}

/* Map markers */
.usat-joyride-marker {
    display: flex; align-items: center; justify-content: center;
    background: #fff;
    border: 2px solid #0a3f93;
    border-radius: 14px;
    padding: 0;
    color: #0a3f93;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.usat-joyride-marker.available { border-color: #0a7a3e; color: #0a7a3e; }
.usat-joyride-marker.soon { border-color: #888; color: #888; opacity: 0.75; }

.usat-joyride-asof {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.85rem;
    color: #777;
    margin: -0.7rem 0 1.2rem 0;
}

.usat-joyride-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
}
.usat-joyride-card {
    background: #fff;
    border: 1px solid #e6e3dc;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.usat-joyride-card:hover {
    box-shadow: 0 6px 20px rgba(20, 16, 8, 0.08);
    transform: translateY(-2px);
}
.usat-joyride-card-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #1a1612 0%, #2a2018 100%);
    background-size: cover;
    background-position: center;
    color: #e58a3a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.usat-joyride-car-icon { width: 56px; height: auto; opacity: 0.4; }
.usat-joyride-pill {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
}
.usat-joyride-pill-available { background: #0a7a3e; color: #fff; }
.usat-joyride-pill-soon { background: rgba(0,0,0,0.6); color: #fff; }

.usat-joyride-card-body {
    padding: 1.1rem 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.usat-joyride-card-cat {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888;
    margin: 0 0 0.35rem 0;
}
.usat-joyride-card-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: #121212;
    margin: 0 0 0.4rem 0;
}
.usat-joyride-card-loc {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 0.92rem;
    color: #555;
    margin: 0 0 0.5rem 0;
}
.usat-joyride-card-rate {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.95rem;
    color: #444;
    margin: 0 0 1rem 0;
}
.usat-joyride-card-cta {
    display: inline-block;
    align-self: flex-start;
    padding: 0.55rem 1rem;
    background: #0a3f93;
    color: #fff;
    text-decoration: none;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 3px;
    margin-top: auto;
}
.usat-joyride-card-cta:hover { background: #062d6d; }
.usat-joyride-card-cta-disabled {
    background: #d8d4c8;
    color: #777;
    cursor: not-allowed;
}

.usat-joyride-cta-section {
    text-align: center;
    padding: 2rem 1rem;
    background: #faf9f5;
    border: 1px solid #e6e3dc;
    border-radius: 4px;
    margin-top: 4rem;
}
.usat-joyride-cta-line {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 1.05rem;
    line-height: 1.55;
    color: #444;
    margin: 0;
}
.usat-joyride-cta-line a { color: #0a3f93; text-decoration: none; border-bottom: 1px solid #c5d3eb; }

/* Hide WP page title on joyride pages — hero gives us the title */
body.page-joyride .wp-block-post-title { display: none; }


/* ============ HEADER CAR PILLS ============ */

.usat-header-joyride {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #444;
    margin-right: 1.2rem;
}
.usat-header-joyride .car-icon {
    width: 22px; height: auto;
    color: #b32020;
    flex-shrink: 0;
}
.usat-header-joyride .joyride-label {
    color: #888;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    margin-right: 0.2rem;
}
.usat-header-joyride a {
    color: #121212;
    text-decoration: none;
    padding: 0.18rem 0.55rem;
    border: 1px solid #d5d1c4;
    border-radius: 3px;
    transition: all 0.15s ease;
}
.usat-header-joyride a:hover {
    background: #121212;
    color: #fff;
    border-color: #121212;
}

@media (max-width: 720px) {
    .usat-header-joyride .joyride-label { display: none; }
}

/* === USAT JOYRIDE END === */















/* === USAT CB COMPACT START === */
/* ==== Compact booking widget — everything above the fold ==== */

.usat-cb-hero {
    max-width: 1280px;
    margin: 1.4rem auto 0;
    padding: 0 1.2rem;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 1.2rem;
    align-items: stretch;
    min-height: 480px;
}
.usat-cb-map-wrap {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #eee;
}
.usat-cb-map { width: 100%; height: 100%; min-height: 480px; }

.usat-cb-widget {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(20,16,8,0.05);
    padding: 0.9rem 1rem 1rem;
    display: flex;
    flex-direction: column;
}

/* Tabs — minimal */
.usat-cb-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin: -0.1rem -0.4rem 0.85rem;
    gap: 0;
}
.usat-cb-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 0.65rem 0.5rem;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #999;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}
.usat-cb-tab.active { color: #0a3f93; border-bottom-color: #0a3f93; }

.usat-cb-form { display: flex; flex-direction: column; gap: 0.55rem; }

/* Segmented row of pills */
.usat-cb-segrow {
    display: flex;
    gap: 0.35rem;
    flex-wrap: nowrap;
}
.usat-cb-seg-pill {
    flex: 1;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    padding: 0.55rem 0.7rem;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.85rem;
    color: #333;
    cursor: pointer;
    transition: all 0.12s ease;
    text-align: center;
    line-height: 1.25;
    min-width: 0;
}
.usat-cb-seg-pill:hover { border-color: #0a3f93; color: #0a3f93; }
.usat-cb-seg-pill.active {
    background: #0a3f93;
    border-color: #0a3f93;
    color: #fff;
}
.usat-cb-seg-pill-tight {
    padding: 0.5rem 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* Vehicle pills — name + price stacked */
.usat-cb-vehicles .usat-cb-seg-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding: 0.5rem 0.6rem;
}
.usat-cb-vehicles .seg-name {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1;
}
.usat-cb-vehicles .seg-price {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0a3f93;
}
.usat-cb-vehicles .usat-cb-seg-pill.active .seg-price { color: #fff; }

/* Input rows — flat */
.usat-cb-field-flat { display: block; }
.usat-cb-input-row {
    display: flex;
    align-items: center;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    background: #fff;
    transition: border-color 0.12s, box-shadow 0.12s;
}
.usat-cb-input-row:focus-within {
    border-color: #0a3f93;
    box-shadow: 0 0 0 2px rgba(10,63,147,0.10);
}
.usat-cb-icon {
    width: 16px; height: 16px;
    color: #999;
    margin: 0 0.5rem 0 0.7rem;
    flex-shrink: 0;
}
.usat-cb-input-row input[type="text"],
.usat-cb-input-row input[type="datetime-local"],
.usat-cb-input-row select {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 0.6rem 0.5rem 0.6rem 0;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.92rem;
    color: #121212;
    outline: none;
}
.usat-cb-input-prominent { font-size: 0.95rem !important; padding: 0.7rem 0.5rem !important; }

/* Submit — Reserve · $XXX */
.usat-cb-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    padding: 0.8rem 1rem;
    margin-top: 0.2rem;
    background: #0a3f93;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.12s, transform 0.05s;
}
.usat-cb-submit:hover { background: #062d6d; }
.usat-cb-submit:active { transform: scale(0.995); }
.usat-cb-submit:disabled { background: #888; cursor: wait; }
.usat-cb-submit svg { width: 16px; height: 16px; opacity: 0.85; margin-left: auto; }
.usat-cb-submit .submit-label { text-transform: uppercase; }
.usat-cb-submit .submit-price { font-weight: 700; font-size: 1rem; }

.usat-cb-allinc {
    margin: 0.5rem 0 0;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.72rem;
    color: #999;
    text-align: center;
}

.usat-cb-status {
    margin: 0.5rem 0 0;
    font-size: 0.82rem;
    color: #555;
    line-height: 1.4;
    min-height: 1em;
    text-align: center;
}
.usat-cb-status.error { color: #b32020; }
.usat-cb-status em { color: #999; font-style: italic; font-size: 0.85em; }

/* Autocomplete dropdown — compact */
.usat-cb-ac-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 6px 18px rgba(20,16,8,0.10);
    max-height: 240px;
    overflow-y: auto;
    display: none;
    position: relative;
    z-index: 10;
    margin-top: -1px;
}
.usat-cb-ac-list.show { display: block; }
.usat-cb-ac-list li {
    padding: 0.5rem 0.8rem;
    cursor: pointer;
    border-bottom: 1px solid #f4f4f4;
}
.usat-cb-ac-list li:last-child { border-bottom: none; }
.usat-cb-ac-list li:hover { background: #f7f7f5; }
.usat-cb-ac-primary {
    display: block;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.88rem;
    color: #121212;
    font-weight: 600;
}
.usat-cb-ac-secondary {
    display: block;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.74rem;
    color: #888;
}

/* Pane switch */
.usat-cb-pane { display: none; flex-direction: column; gap: 0.55rem; }
.usat-cb-pane.active { display: flex; }

/* Map pin label */
.usat-cb-pin { position: relative; }
.usat-cb-pin-label {
    position: absolute;
    top: -1px; left: 11px;
    color: #fff;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 16px;
    pointer-events: none;
    letter-spacing: 0.02em;
}

/* Our Fleet hero */
.usat-cb-fleet-hero {
    max-width: 1100px;
    margin: 4rem auto 2rem;
    padding: 0 1.2rem;
    text-align: center;
}
.usat-cb-eyebrow {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #0a3f93;
    margin: 0 0 0.8rem 0;
}
.usat-cb-fleet-h {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.05;
    color: #121212;
    margin: 0;
}

body.page-ride .wp-block-post-title { display: none; }

@media (max-width: 880px) {
    .usat-cb-hero { grid-template-columns: 1fr; min-height: auto; }
    .usat-cb-map { min-height: 320px; }
}

/* === USAT CB COMPACT END === */

/* === USAT CO CHECKOUT START === */

/* ============ Manhattan service-zone note ============ */
.usat-cb-manhattan-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.2rem;
    padding: 0.5rem 0.7rem;
    background: #f4f3ef;
    border-radius: 4px;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.78rem;
    line-height: 1.4;
    color: #555;
}
.usat-cb-manhattan-note svg { width: 14px; height: 14px; color: #0a3f93; flex-shrink: 0; margin-top: 1px; }
.usat-cb-manhattan-note strong { color: #121212; font-weight: 600; }

/* ============ Multi-step checkout ============ */
body.page-ride-checkout {
    background: #f7f5f0;
}
body.page-ride-checkout .wp-block-post-title { display: none; }

.usat-co-wrap {
    max-width: 1100px;
    margin: 0 auto 4rem;
    padding: 0 1.2rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    grid-template-areas:
        "stepper stepper"
        "step    summary";
    gap: 1.5rem;
}

/* Progress bar */
.usat-co-stepper {
    grid-area: stepper;
    margin: 1.4rem 0 0.6rem;
}
.usat-co-stepper ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
}
.usat-co-stepper ol::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #ddd;
    z-index: 0;
}
.usat-co-stepper li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    z-index: 1;
}
.usat-co-stepper .dot {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #fff;
    border: 2px solid #d5d1c4;
    color: #888;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
}
.usat-co-stepper .label {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.78rem;
    color: #888;
    text-align: center;
}
.usat-co-stepper li.done .dot { background: #0a3f93; border-color: #0a3f93; color: #fff; }
.usat-co-stepper li.done .label { color: #0a3f93; }
.usat-co-stepper li.current .dot { background: #0a3f93; border-color: #0a3f93; color: #fff; }
.usat-co-stepper li.current .label { color: #121212; font-weight: 700; }

/* Step main */
.usat-co-step {
    grid-area: step;
}
.usat-co-step-eyebrow {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #0a3f93;
    margin: 0 0 0.4rem 0;
}
.usat-co-step-h {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.1;
    color: #121212;
    margin: 0 0 1.5rem 0;
}

.usat-co-twocol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}
@media (max-width: 820px) {
    .usat-co-wrap { grid-template-columns: 1fr; grid-template-areas: 'stepper' 'summary' 'step'; }
    .usat-co-twocol { grid-template-columns: 1fr; }
}

.usat-co-card {
    background: #fff;
    border: 1px solid #e6e3dc;
    border-radius: 6px;
    padding: 1.4rem 1.5rem 1.6rem;
}
.usat-co-card-wide { grid-column: 1 / -1; }
.usat-co-h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #121212;
}
.usat-co-h3 {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #121212;
    margin: 1.8rem 0 0.6rem 0;
}
.usat-co-form { display: flex; flex-direction: column; gap: 0.85rem; }
.usat-co-form label { display: block; }
.usat-co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.usat-co-label {
    display: block;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.72rem;
    color: #777;
    margin-bottom: 0.25rem;
    letter-spacing: 0.04em;
}
.usat-co-optional { color: #aaa; font-weight: normal; }
.usat-co-form input,
.usat-co-form select,
.usat-co-form textarea {
    width: 100%;
    padding: 0.65rem 0.8rem;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.95rem;
    color: #121212;
    border: 1px solid #d5d1c4;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
}
.usat-co-form input:focus,
.usat-co-form select:focus,
.usat-co-form textarea:focus {
    outline: none;
    border-color: #0a3f93;
    box-shadow: 0 0 0 2px rgba(10,63,147,0.12);
}
.usat-co-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.2rem;
    border-radius: 4px;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.12s ease;
    margin-top: 0.4rem;
}
.usat-co-btn-primary { background: #0a3f93; color: #fff; border-color: #0a3f93; }
.usat-co-btn-primary:hover { background: #062d6d; border-color: #062d6d; }
.usat-co-btn-outline { background: #fff; color: #0a3f93; border-color: #0a3f93; }
.usat-co-btn-outline:hover { background: #f4f3ef; }
.usat-co-buttons {
    display: flex;
    gap: 0.6rem;
    justify-content: flex-end;
    margin-top: 0.8rem;
}
.usat-co-buttons .usat-co-btn { margin-top: 0; }

.usat-co-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}
.usat-co-benefits li {
    position: relative;
    padding: 0.35rem 0 0.35rem 1.6rem;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 0.95rem;
    color: #333;
}
.usat-co-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.35rem;
    color: #0a3f93;
    font-weight: 700;
}

.usat-co-stub {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 1rem;
    line-height: 1.55;
    color: #555;
    margin: 0 0 1.2rem;
}

/* Summary card */
.usat-co-summary {
    grid-area: summary;
    background: #fff;
    border: 1px solid #e6e3dc;
    border-radius: 6px;
    padding: 1.2rem 1.3rem;
    align-self: start;
}
.usat-co-summary-eyebrow {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #888;
    margin: 0 0 0.7rem 0;
}
.usat-co-summary-body .usat-co-summary-line {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.92rem;
    color: #333;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}
.usat-co-summary-body .usat-co-summary-line strong { color: #121212; }
.usat-co-summary-body .muted { color: #888; font-size: 0.88em; }
.usat-co-summary-when {
    margin-top: 0.7rem !important;
    padding-top: 0.7rem;
    border-top: 1px solid #ebe7dc;
    color: #555 !important;
}
.usat-co-summary-total {
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px solid #ebe7dc;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.92rem;
    color: #555;
    display: flex; justify-content: space-between; align-items: baseline;
}
.usat-co-summary-total strong {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.7rem;
    color: #121212;
}
.usat-co-summary-empty { font-size: 0.9rem; color: #888; }

.usat-co-status { margin: 0.6rem 0 0; font-size: 0.85rem; color: #555; }

/* === USAT CO CHECKOUT END === */

/* === USAT CO ADDITIONS START === */

/* Sections within step content */
.usat-co-section {
    padding: 1.2rem 0;
    border-top: 1px solid #ebe7dc;
}
.usat-co-section:first-child {
    padding-top: 0;
    border-top: none;
}

/* Toggle switch */
.usat-co-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
    margin: 0;
}
.usat-co-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.usat-co-toggle-track {
    position: relative;
    width: 44px; height: 24px;
    background: #d8d4c8;
    border-radius: 12px;
    transition: background 0.18s ease;
    flex-shrink: 0;
}
.usat-co-toggle-thumb {
    position: absolute;
    top: 2px; left: 2px;
    width: 20px; height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    transition: transform 0.18s ease;
}
.usat-co-toggle input:checked + .usat-co-toggle-track { background: #0a3f93; }
.usat-co-toggle input:checked + .usat-co-toggle-track .usat-co-toggle-thumb { transform: translateX(20px); }
.usat-co-toggle-label {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    color: #121212;
}

/* Conditional reveal */
.usat-co-conditional {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease, margin-top 0.25s ease;
    margin-top: 0;
}
.usat-co-conditional.show {
    max-height: 800px;
    opacity: 1;
    margin-top: 1.1rem;
}

/* Child seats grid */
.usat-co-seats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
}
.usat-co-seats-grid label { display: flex; flex-direction: column; }
.usat-co-seat-age {
    margin-top: 0.3rem;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.74rem;
    color: #999;
}
@media (max-width: 540px) {
    .usat-co-seats-grid { grid-template-columns: 1fr; }
}

/* === USAT CO ADDITIONS END === */

/* === USAT HEADER SERVICES START === */

.usat-header-services {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #444;
    margin-right: 1.2rem;
}
.usat-header-services .car-icon {
    width: 22px; height: auto;
    color: #b32020;
    flex-shrink: 0;
    margin-right: 0.2rem;
}
.usat-header-services .usat-svc-link {
    color: #121212;
    text-decoration: none;
    padding: 0.22rem 0.7rem;
    border: 1px solid #d5d1c4;
    border-radius: 3px;
    transition: all 0.15s ease;
}
.usat-header-services .usat-svc-link:hover {
    background: #121212;
    color: #fff;
    border-color: #121212;
}
.usat-header-services .usat-svc-joyride {
    background: #0a3f93;
    color: #fff;
    border-color: #0a3f93;
}
.usat-header-services .usat-svc-joyride:hover {
    background: #062d6d;
    border-color: #062d6d;
}
@media (max-width: 720px) {
    .usat-header-services .usat-svc-link { padding: 0.18rem 0.5rem; font-size: 0.72rem; }
}

/* === USAT HEADER SERVICES END === */

/* === USAT NAV TIGHTEN START === */

.section-nav { border-bottom: none !important; }
.usa-times-read .wp-block-group.section-nav { border-bottom: none !important; }

/* === USAT NAV TIGHTEN END === */

/* === USAT BOOKING JOURNEY POLISH START === */

/* 1) Section nav rule: shorter (alignwide, not edge-to-edge) + grey, not black */
.section-nav {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-top: 1px solid #d5d1c4 !important;
    border-top-color: #d5d1c4 !important;
    border-bottom: none !important;
}

/* 2) Hide the news category nav entirely on the booking journey */
body.page-ride .section-nav,
body.page-ride-checkout .section-nav,
body.page-ride-nyc .section-nav,
body.page-ride-nyc-checkout .section-nav {
    display: none !important;
}

/* 3) White background on booking journey (match mainpage) */
body.page-ride,
body.page-ride-nyc,
body.page-ride-checkout,
body.page-ride-nyc-checkout {
    background: #ffffff !important;
}

/* 4) Tighten whitespace on checkout */
.usat-co-wrap {
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    gap: 1rem;
}
.usat-co-stepper { margin: 0.6rem 0 0.4rem; }
.usat-co-step-h {
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
    margin: 0 0 1rem 0 !important;
}
.usat-co-step-eyebrow { margin-bottom: 0.25rem !important; }
.usat-co-card {
    padding: 1.1rem 1.2rem 1.2rem !important;
    border-color: #e6e3dc;
    background: #ffffff;
}
.usat-co-h2 {
    font-size: 1.2rem !important;
    margin: 0 0 0.7rem 0 !important;
}
.usat-co-h3 {
    margin: 1.1rem 0 0.4rem 0 !important;
    font-size: 0.88rem !important;
}
.usat-co-form { gap: 0.6rem !important; }
.usat-co-form input,
.usat-co-form select,
.usat-co-form textarea {
    padding: 0.55rem 0.7rem !important;
    font-size: 0.9rem !important;
}
.usat-co-label {
    font-size: 0.68rem !important;
    margin-bottom: 0.18rem !important;
}

/* 5) Tighten /ride/nyc/ hero too */
body.page-ride .wp-block-post-content,
body.page-ride-nyc .wp-block-post-content,
body.page-ride-checkout .wp-block-post-content,
body.page-ride-nyc-checkout .wp-block-post-content {
    padding-top: 0.5rem;
}

/* 6) Hide post title space remnant */
body.page-ride header.wp-block-template-part + *,
body.page-ride-checkout header.wp-block-template-part + * {
    margin-top: 0;
}

/* === USAT BOOKING JOURNEY POLISH END === */

/* === USAT CHECKOUT V2 (3-step) START === */

/* Auth tabs inside login card */
.usat-co-authtabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e6e3dc;
    margin-bottom: 0.9rem;
}
.usat-co-authtab {
    background: none;
    border: none;
    padding: 0.55rem 0.9rem;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.82rem;
    color: #777;
    cursor: pointer;
    letter-spacing: 0.04em;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.usat-co-authtab.active {
    color: #0a3f93;
    border-bottom-color: #0a3f93;
    font-weight: 700;
}
.usat-co-auth-msg {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.82rem;
    color: #666;
    min-height: 1.2em;
    margin: 0.3rem 0 0 0;
}
.usat-co-auth-msg.error { color: #b3261e; }

/* Blue Stars offer */
.usat-co-stars-offer {
    margin: 0 0 1.2rem 0;
}
.usat-co-stars-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}
.usat-co-stars-card {
    background: #fff;
    border: 1.5px solid #e6e3dc;
    border-radius: 6px;
    padding: 0.9rem 1rem;
    cursor: pointer;
    transition: border-color 0.12s, box-shadow 0.12s;
    position: relative;
}
.usat-co-stars-card:hover { border-color: #c9c5b6; }
.usat-co-stars-card.selected {
    border-color: #0a3f93;
    box-shadow: 0 0 0 2px rgba(10,63,147,0.12);
}
.usat-co-stars-card.usat-co-stars-recommended::after {
    content: 'RECOMMENDED';
    position: absolute;
    top: -8px; right: 10px;
    background: #0a3f93;
    color: #fff;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 2px 7px;
    border-radius: 3px;
}
.usat-co-stars-label {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.78rem;
    color: #555;
    margin: 0 0 0.25rem 0;
}
.usat-co-stars-amt {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #121212;
    margin: 0 0 0.2rem 0;
}
.usat-co-stars-sub {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.72rem;
    color: #888;
    margin: 0;
}
.usat-co-stars-tag {
    background: #e8f5ee;
    color: #1e6f3a;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.72rem;
}
.usat-co-stars-note {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.74rem;
    color: #888;
    margin: 0.6rem 0 0 0;
    line-height: 1.5;
}

/* 3-step stepper width adjustment */
.usat-co-stepper-3 ol { grid-template-columns: repeat(3, 1fr); }

/* Step 4 confirmation line */
.usat-co-confirm-line {
    font-family: Inter, system-ui, sans-serif;
    font-size: 1rem;
    color: #1e6f3a;
    margin-bottom: 0.6rem;
}

@media (max-width: 720px) {
    .usat-co-stars-cards { grid-template-columns: 1fr; }
}

/* === USAT CHECKOUT V2 END === */

/* === USAT MOBILE + PAYMENT POLISH START === */

/* 1) Mobile: booking widget BEFORE map, smaller map */
@media (max-width: 880px) {
    .usat-cb-hero {
        grid-template-columns: 1fr;
        grid-template-areas: 'widget' 'map';
        min-height: auto;
        margin-top: 0.6rem;
        gap: 0.8rem;
    }
    .usat-cb-widget { grid-area: widget; }
    .usat-cb-map-wrap { grid-area: map; }
    .usat-cb-map { min-height: 220px; max-height: 240px; }
}
@media (max-width: 520px) {
    .usat-cb-hero { padding: 0 0.7rem; }
    .usat-cb-map { min-height: 180px; max-height: 200px; }
    .usat-cb-tab { padding: 0.55rem 0.7rem; font-size: 0.78rem; }
}

/* 2) Stars balance pill in header (only visible when authenticated) */
.usat-header-stars {
    display: none;
    align-items: center;
    gap: 0.35rem;
    background: #f0f5ff;
    border: 1px solid #c5d3eb;
    color: #0a3f93;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.28rem 0.6rem;
    border-radius: 4px;
    text-decoration: none;
}
.usat-header-stars.visible { display: inline-flex; }
.usat-header-stars .usat-star-ico {
    width: 13px; height: 13px;
    display: inline-block;
    fill: #0a3f93;
}
.usat-header-stars-balance { letter-spacing: 0.02em; }
.usat-header-stars-label { color: #5577a8; font-weight: 500; }
@media (max-width: 720px) {
    .usat-header-stars-label { display: none; }
}

/* 3) Clean payment card layout (Ridelux-style) */
.usat-pay-intro {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.86rem;
    color: #555;
    margin: 0 0 1.1rem 0;
    line-height: 1.5;
}
.usat-pay-field {
    position: relative;
    margin-bottom: 0.7rem;
}
.usat-pay-input {
    width: 100%;
    padding: 0.95rem 1rem;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.95rem;
    color: #121212;
    border: 1px solid #cfcbbe;
    border-radius: 5px;
    background: #fff;
    box-sizing: border-box;
}
.usat-pay-input:focus {
    outline: none;
    border-color: #0a3f93;
    box-shadow: 0 0 0 2px rgba(10,63,147,0.12);
}
.usat-pay-stripe-mount {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid #cfcbbe;
    border-radius: 5px;
    background: #fff;
    box-sizing: border-box;
}
.usat-pay-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}
.usat-pay-savecard {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 1rem 0 0 0;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.92rem;
    color: #333;
    cursor: pointer;
}
.usat-pay-switch {
    position: relative;
    display: inline-block;
    width: 42px; height: 22px;
    flex-shrink: 0;
}
.usat-pay-switch input { opacity: 0; width: 0; height: 0; }
.usat-pay-switch .slider {
    position: absolute; cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #b5cfdc;
    border-radius: 22px;
    transition: background 0.15s;
}
.usat-pay-switch .slider::before {
    position: absolute; content: '';
    height: 18px; width: 18px;
    left: 2px; bottom: 2px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.15s;
}
.usat-pay-switch input:checked + .slider { background: #0a3f93; }
.usat-pay-switch input:checked + .slider::before { transform: translateX(20px); }

.usat-pay-cards-row {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.usat-pay-cards-row img,
.usat-pay-cards-row svg {
    height: 24px;
    width: auto;
    border-radius: 3px;
}

/* === USAT MOBILE + PAYMENT POLISH END === */

/* === USAT SWIFTUI POLISH START === */

/* Base: SF-style system font + body bg unchanged */
body.page-ride, body.page-ride-checkout, body.page-ride-nyc, body.page-ride-nyc-checkout {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, system-ui, sans-serif;
}

/* All inputs & cards use larger radius + softer borders */
body.page-ride .usat-cb-widget,
body.page-ride-checkout .usat-co-card,
body.page-ride-checkout .usat-cb-widget {
    border-radius: 14px !important;
    border-color: rgba(0,0,0,0.08) !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 14px rgba(0,0,0,0.04);
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(180%) blur(6px);
    -webkit-backdrop-filter: saturate(180%) blur(6px);
}
body.page-ride .usat-cb-widget {
    padding: 1.1rem !important;
}

/* Tabs (Airport / Hourly) — SwiftUI segmented control */
body.page-ride .usat-cb-tabs,
body.page-ride-checkout .usat-cb-tabs {
    background: rgba(120,120,128,0.12);
    border-radius: 10px;
    padding: 3px;
    border: none !important;
    gap: 0 !important;
}
body.page-ride .usat-cb-tab,
body.page-ride-checkout .usat-cb-tab {
    background: transparent;
    border: none !important;
    border-radius: 8px !important;
    color: #1c1c1e;
    font-weight: 600;
    padding: 0.55rem 0.9rem !important;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
body.page-ride .usat-cb-tab.active,
body.page-ride-checkout .usat-cb-tab.active {
    background: #ffffff !important;
    color: #0a3f93 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    border-bottom-color: transparent !important;
}

/* Inputs */
body.page-ride .usat-cb-input,
body.page-ride .usat-cb-select,
body.page-ride-checkout .usat-co-form input,
body.page-ride-checkout .usat-co-form select,
body.page-ride-checkout .usat-co-form textarea,
body.page-ride-checkout .usat-pay-input,
body.page-ride-checkout .usat-pay-stripe-mount {
    border-radius: 10px !important;
    border: 1px solid rgba(60,60,67,0.18) !important;
    padding: 0.85rem 0.95rem !important;
    font-size: 0.95rem !important;
    background: rgba(255,255,255,0.95) !important;
    transition: border-color 0.15s, box-shadow 0.15s;
}
body.page-ride .usat-cb-input:focus,
body.page-ride .usat-cb-select:focus,
body.page-ride-checkout .usat-co-form input:focus,
body.page-ride-checkout .usat-co-form select:focus,
body.page-ride-checkout .usat-pay-input:focus {
    outline: none !important;
    border-color: #0a3f93 !important;
    box-shadow: 0 0 0 4px rgba(10,63,147,0.10) !important;
}

/* Vehicle chips — Apple card style */
body.page-ride .usat-cb-vehicle,
body.page-ride-checkout .usat-cb-vehicle {
    border-radius: 12px !important;
    padding: 0.85rem 1rem !important;
    background: rgba(255,255,255,0.85);
    border: 1.5px solid rgba(60,60,67,0.12) !important;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}
body.page-ride .usat-cb-vehicle:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,0.07); }
body.page-ride .usat-cb-vehicle.selected {
    border-color: #0a3f93 !important;
    background: rgba(10,63,147,0.04) !important;
    box-shadow: 0 0 0 3px rgba(10,63,147,0.10);
}

/* Primary CTAs — pill-shaped, gradient hover */
body.page-ride .usat-cb-submit,
body.page-ride-checkout .usat-co-btn-primary {
    border-radius: 12px !important;
    padding: 0.95rem 1.1rem !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.01em !important;
    background: linear-gradient(180deg, #0a3f93 0%, #062d6d 100%) !important;
    box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 4px 12px rgba(10,63,147,0.22);
    transition: transform 0.08s, box-shadow 0.15s;
}
body.page-ride .usat-cb-submit:hover,
body.page-ride-checkout .usat-co-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 6px 18px rgba(10,63,147,0.32);
}
body.page-ride .usat-cb-submit:active,
body.page-ride-checkout .usat-co-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 2px 6px rgba(10,63,147,0.22);
}

/* Outline button */
body.page-ride-checkout .usat-co-btn-outline {
    border-radius: 12px !important;
    border: 1.5px solid rgba(60,60,67,0.18) !important;
    padding: 0.85rem 1.1rem !important;
    background: rgba(255,255,255,0.7) !important;
    color: #0a3f93 !important;
    font-weight: 600;
}
body.page-ride-checkout .usat-co-btn-outline:hover {
    background: #fff !important;
    border-color: #0a3f93 !important;
}

/* Step indicators — softer */
body.page-ride-checkout .usat-co-stepper .dot {
    border-radius: 50% !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    width: 32px !important; height: 32px !important;
    font-size: 0.85rem !important;
}
body.page-ride-checkout .usat-co-stepper li.done .dot,
body.page-ride-checkout .usat-co-stepper li.current .dot {
    background: linear-gradient(180deg, #0a3f93, #062d6d) !important;
}
body.page-ride-checkout .usat-co-stepper ol::before {
    top: 16px !important;
    background: rgba(60,60,67,0.18) !important;
}

/* Hero step headlines */
body.page-ride-checkout .usat-co-step-h {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Playfair Display", Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2.1rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
}

/* Trip summary card — glass effect */
body.page-ride-checkout .usat-co-summary {
    background: rgba(255,255,255,0.85) !important;
    border-radius: 14px !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
    backdrop-filter: saturate(180%) blur(6px);
}

/* Stars cards */
body.page-ride-checkout .usat-co-stars-card {
    border-radius: 14px !important;
    padding: 1.1rem 1.2rem !important;
    border-width: 2px !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
body.page-ride-checkout .usat-co-stars-card.selected {
    box-shadow: 0 0 0 4px rgba(10,63,147,0.10), 0 4px 12px rgba(0,0,0,0.04) !important;
}

/* Auth tab pills */
body.page-ride-checkout .usat-co-authtabs {
    background: rgba(120,120,128,0.12);
    border-radius: 10px;
    padding: 3px;
    border: none !important;
    margin-bottom: 1rem;
    gap: 0 !important;
}
body.page-ride-checkout .usat-co-authtab {
    border-radius: 8px !important;
    padding: 0.5rem 0.9rem !important;
    border: none !important;
    font-weight: 600;
    color: #1c1c1e;
}
body.page-ride-checkout .usat-co-authtab.active {
    background: #fff !important;
    color: #0a3f93 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    border-bottom: none !important;
}

/* Clean Stripe mount fields */
body.page-ride-checkout .usat-pay-stripe-mount {
    padding: 0.95rem 1rem !important;
    background: #fff !important;
}
body.page-ride-checkout .usat-pay-row-two {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}
body.page-ride-checkout .usat-pay-cards-row { margin-top: 1.2rem; gap: 0.55rem; }
body.page-ride-checkout .usat-pay-cards-row svg {
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.10);
}
body.page-ride-checkout .usat-pay-test-note {
    margin-top: 1rem !important;
    padding: 0.7rem 0.9rem;
    background: rgba(255,193,7,0.08);
    border: 1px solid rgba(255,193,7,0.30);
    border-radius: 8px;
    font-size: 0.78rem;
    color: #6b5400;
}

/* Mobile: tabs + widget above fold (priority) */
@media (max-width: 880px) {
    .usat-cb-hero {
        grid-template-columns: 1fr !important;
        grid-template-areas: 'widget' 'map' !important;
        min-height: auto !important;
        margin-top: 0.5rem !important;
        gap: 0.7rem !important;
    }
    .usat-cb-widget { grid-area: widget; padding: 0.95rem !important; }
    .usat-cb-map-wrap { grid-area: map; order: 2; }
    .usat-cb-map { min-height: 200px !important; max-height: 220px !important; }
}
@media (max-width: 520px) {
    .usat-cb-hero { padding: 0 0.7rem !important; margin-top: 0.4rem !important; }
    .usat-cb-map { min-height: 160px !important; max-height: 180px !important; }
    body.page-ride-checkout .usat-co-wrap { padding: 0 0.7rem !important; }
    body.page-ride-checkout .usat-co-step-h { font-size: 1.4rem !important; margin-bottom: 0.8rem !important; }
    body.page-ride-checkout .usat-co-twocol { grid-template-columns: 1fr !important; gap: 0.7rem !important; }
}

/* === USAT SWIFTUI POLISH END === */

/* === USAT STARS MENU START === */
.usat-header-stars-menu {
    position: absolute;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 4px;
    min-width: 140px;
    z-index: 9999;
    display: none;
    backdrop-filter: saturate(180%) blur(8px);
}
.usat-header-stars-menu.open { display: block; }
.usat-header-stars-menu-item {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 9px 12px;
    font-family: -apple-system, BlinkMacSystemFont, Inter, system-ui, sans-serif;
    font-size: 0.88rem;
    color: #1c1c1e;
    border-radius: 7px;
    cursor: pointer;
}
.usat-header-stars-menu-item:hover { background: rgba(120,120,128,0.10); }
/* === USAT STARS MENU END === */

/* === USAT ACCOUNT PAGES START === */
.usat-header-stars-menu-sep { height: 1px; background: rgba(0,0,0,0.08); margin: 4px 6px; }
.usat-header-stars-menu-danger { color: #d41a22 !important; }

body.page-account, body.page-profile, body.page-wallet, body.page-settings {
    background: #f6f6f9;
}
body.page-account .wp-block-post-title,
body.page-profile .wp-block-post-title,
body.page-wallet .wp-block-post-title,
body.page-settings .wp-block-post-title { display: none; }

.usat-acct-wrap {
    max-width: 1080px;
    margin: 1.4rem auto 4rem;
    padding: 0 1.2rem;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.6rem;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, system-ui, sans-serif;
}
.usat-acct-sidebar {
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    padding: 1rem 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
    height: fit-content;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03), 0 4px 14px rgba(0,0,0,0.04);
}
.usat-acct-sidebar-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #888;
    padding: 0.1rem 0.7rem 0.5rem;
    margin: 0;
}
.usat-acct-sidebar-link {
    display: block;
    padding: 0.55rem 0.8rem;
    border-radius: 8px;
    color: #1c1c1e;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: background 0.12s;
}
.usat-acct-sidebar-link:hover { background: rgba(120,120,128,0.10); }
.usat-acct-sidebar-link.active { background: rgba(10,63,147,0.10); color: #0a3f93; font-weight: 700; }
.usat-acct-sidebar-signout {
    margin-top: 0.6rem;
    padding: 0.55rem 0.8rem;
    text-align: left;
    background: none; border: none;
    color: #d41a22;
    font-family: inherit; font-size: 0.92rem; font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
}
.usat-acct-sidebar-signout:hover { background: rgba(212,26,34,0.08); }

.usat-acct-main { min-width: 0; }
.usat-acct-title {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Georgia, serif;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 1.2rem;
    color: #121212;
}
.usat-acct-gate {
    background: #fff;
    border-radius: 14px;
    padding: 2rem;
    text-align: center;
    color: #666;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}
.usat-acct-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    padding: 1.4rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03), 0 4px 14px rgba(0,0,0,0.04);
}
.usat-acct-h2 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.9rem;
    color: #121212;
}
.usat-acct-card .usat-acct-h2:not(:first-child) { margin-top: 1.4rem; }

/* Profile */
.usat-acct-avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a3f93, #062d6d);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.5rem;
    margin-right: 1rem;
    vertical-align: middle;
}
.usat-acct-info { display: inline-block; vertical-align: middle; }
.usat-acct-name { font-size: 1.15rem; font-weight: 700; margin: 0 0 0.2rem; color: #121212; }
.usat-acct-email { font-size: 0.92rem; color: #666; margin: 0; }
.usat-acct-dl {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 0.5rem 1rem;
    margin: 0;
}
.usat-acct-dl dt { color: #888; font-size: 0.85rem; }
.usat-acct-dl dd { margin: 0; color: #121212; font-size: 0.92rem; }
.usat-acct-mono { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace; font-size: 0.8rem; word-break: break-all; }

/* Wallet */
.usat-wallet-summary { text-align: center; padding: 1.6rem 1.5rem; }
.usat-wallet-eyebrow { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: #888; margin: 0 0 0.4rem; }
.usat-wallet-total { font-size: 2.2rem; font-weight: 700; margin: 0 0 0.3rem; color: #121212; letter-spacing: -0.02em; }
.usat-wallet-hint { font-size: 0.82rem; color: #888; margin: 0; }
.usat-wallet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.7rem;
    margin-bottom: 1.2rem;
}
.usat-wallet-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 0.7rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.usat-wallet-swatch {
    width: 28px; height: 28px;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.10), inset 0 -2px 4px rgba(0,0,0,0.15);
}
.usat-wallet-card-name { font-size: 0.92rem; font-weight: 600; color: #121212; margin: 0; }
.usat-wallet-card-issuer { font-size: 0.74rem; color: #888; margin: 0; }
.usat-wallet-card-bal { font-size: 1.3rem; font-weight: 700; color: #121212; }

.usat-wallet-ledger { margin-bottom: 1.2rem; }
.usat-ledger-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 0.8fr 0.8fr;
    gap: 0.6rem;
    padding: 0.7rem 0.2rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 0.88rem;
}
.usat-ledger-row:last-child { border-bottom: none; }
.usat-ledger-when { color: #888; }
.usat-ledger-type { color: #1c1c1e; text-transform: capitalize; }
.usat-ledger-currency { color: #555; text-transform: capitalize; }
.usat-ledger-delta { text-align: right; font-weight: 700; }
.usat-ledger-delta.pos { color: #1e6f3a; }
.usat-ledger-delta.neg { color: #b3261e; }

/* Settings */
.usat-acct-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.usat-acct-toggle-row:last-child { border-bottom: none; }
.usat-acct-btn {
    padding: 0.7rem 1rem;
    background: #fff;
    border: 1.5px solid rgba(60,60,67,0.18);
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #0a3f93;
    cursor: pointer;
    transition: background 0.12s, border-color 0.12s;
}
.usat-acct-btn:hover { background: #f7f7fb; border-color: #0a3f93; }
.usat-acct-btn:disabled { opacity: 0.5; cursor: wait; }
.usat-acct-muted { color: #888; font-size: 0.88rem; }
.usat-acct-danger { border-color: rgba(212,26,34,0.20); }

@media (max-width: 720px) {
    .usat-acct-wrap { grid-template-columns: 1fr; padding: 0 0.8rem; }
    .usat-acct-sidebar { flex-direction: row; overflow-x: auto; gap: 4px; padding: 0.5rem; }
    .usat-acct-sidebar-label { display: none; }
    .usat-acct-sidebar-link { white-space: nowrap; padding: 0.5rem 0.75rem; }
    .usat-acct-sidebar-signout { margin-top: 0; }
    .usat-acct-dl { grid-template-columns: 1fr; gap: 0.2rem 0; }
    .usat-acct-dl dt { margin-top: 0.5rem; }
    .usat-ledger-row { grid-template-columns: 1fr auto; row-gap: 0.2rem; }
    .usat-ledger-currency { display: none; }
}

/* === USAT ACCOUNT PAGES END === */

/* === USAT WALLET CONNECT START === */
.usat-wallet-connect-cta {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03), 0 4px 14px rgba(0,0,0,0.04);
    grid-column: 1 / -1;
}
.usat-wallet-connect-copy {
    font-size: 0.95rem;
    color: #444;
    max-width: 420px;
    margin: 0 auto 1.2rem;
    line-height: 1.5;
}
.usat-acct-btn-danger {
    color: #d41a22 !important;
    border-color: rgba(212,26,34,0.30) !important;
}
.usat-acct-btn-danger:hover { background: rgba(212,26,34,0.05) !important; }
/* === USAT WALLET CONNECT END === */

/* === USAT HEADER PHONE START === */
.usat-header-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #555;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    padding: 0.28rem 0.55rem;
    border-radius: 6px;
    margin-right: 0.4rem;
    transition: background 0.12s, color 0.12s;
    white-space: nowrap;
}
.usat-header-phone:hover { background: rgba(120,120,128,0.10); color: #1c1c1e; }
.usat-header-phone:active { background: rgba(120,120,128,0.18); }
.usat-header-phone .usat-phone-ico {
    width: 14px; height: 14px; flex-shrink: 0;
    color: #888;
    transform: rotate(15deg);
}
.usat-header-phone:hover .usat-phone-ico { color: #25D366; /* WhatsApp green */ }
.usat-header-phone .usat-phone-num { font-variant-numeric: tabular-nums; }

@media (max-width: 720px) {
    .usat-header-phone .usat-phone-num { display: none; }
    .usat-header-phone { padding: 0.32rem 0.45rem; margin-right: 0.2rem; }
    .usat-header-phone .usat-phone-ico { width: 16px; height: 16px; color: #25D366; }
}
/* === USAT HEADER PHONE END === */

/* === USAT POLISH PASS 2 START === */

/* /ride/nyc/ — smaller map, less space above, bigger Reserve CTA */
.usat-cb-hero {
    margin-top: 0.6rem !important;
    min-height: 360px !important;
    align-items: flex-start;
}
.usat-cb-map,
.usat-cb-map-wrap {
    max-height: 380px;
    min-height: 320px !important;
}
.usat-cb-map { height: 100% !important; }

/* Reserve button — more prominent */
body.page-ride .usat-cb-submit,
body.page-ride-nyc .usat-cb-submit {
    padding: 1.05rem 1.25rem !important;
    font-size: 1.02rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.01em !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 8px 20px rgba(10,63,147,0.28);
    text-transform: none;
}
body.page-ride .usat-cb-submit:hover,
body.page-ride-nyc .usat-cb-submit:hover {
    box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 10px 26px rgba(10,63,147,0.38);
    transform: translateY(-1px);
}

/* Step 2 alignment — add invisible spacer on left card matching right's auth-tabs height */
body.page-ride-checkout .usat-co-twocol { align-items: stretch; }
body.page-ride-checkout .usat-co-twocol > .usat-co-card {
    display: flex;
    flex-direction: column;
}
/* Insert phantom spacer after h2 on the LEFT (guest) card so its form lines up with the right's tabs */
body.page-ride-checkout #usat-co-guest-form { margin-top: 2.6rem; /* approximate height of auth-tabs row */ }

/* Header phone: dense it a hair so it pairs nicer with the new car icon */
.usat-header-services .car-icon {
    width: 30px;
    height: auto;
    color: #1c1c1e;
    margin-right: 0.1rem;
}

/* === USAT POLISH PASS 2 END === */

/* === USAT STEP 2 ALIGNMENT FIX === */

/* Force a precise structural match: tabs row on RIGHT vs phantom row on LEFT */
body.page-ride-checkout .usat-co-twocol > .usat-co-card {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* h2 — same baseline both sides */
body.page-ride-checkout .usat-co-twocol > .usat-co-card > .usat-co-h2 {
    margin: 0 0 0.9rem 0 !important;
    min-height: 1.5rem;
}

/* Phantom "tabs row" on the LEFT (guest) card with exactly the right's tabs total height */
body.page-ride-checkout .usat-co-card:has(#usat-co-guest-form) > .usat-co-h2::after {
    content: "";
    display: block;
    height: 2.6rem;          /* matches .usat-co-authtabs height + margin-bottom */
    margin-top: 0.9rem;
}

/* Kill the older guesstimated margin-top so the new ::after rule owns it */
body.page-ride-checkout #usat-co-guest-form { margin-top: 0 !important; }

/* === USAT STEP 2 ALIGNMENT FIX END === */

/* === USAT PRETTY PASS START === */

/* Tighten top whitespace on checkout */
body.page-ride-checkout .usat-co-wrap {
    margin-top: 0.4rem !important;
}

/* ----- Stepper line: span exactly between dots, not past them ----- */
.usat-co-stepper-3 ol::before {
    left: 16.66% !important;
    right: 16.66% !important;
    top: 15px !important;
    height: 2px !important;
}
/* Add a "progress fill" overlay using a second pseudo-element on .done state */
.usat-co-stepper-3 ol::after {
    content: "";
    position: absolute;
    top: 15px;
    left: 16.66%;
    height: 2px;
    background: #0a3f93;
    z-index: 0;
    transition: width 0.3s ease;
}
.usat-co-stepper-3 ol { position: relative; }
/* When step 2 is current: fill the first half */
.usat-co-stepper-3:has(li:nth-child(2).current) ol::after { width: calc(33.33%); }
/* When step 3 is current: fill all */
.usat-co-stepper-3:has(li:nth-child(3).current) ol::after { width: calc(66.66%); }
/* If neither, fill 0 */
.usat-co-stepper-3:not(:has(li.current)) ol::after { width: 0; }

/* ----- New Trip Summary Card ----- */
.usat-co-summary {
    padding: 0 !important;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 28px rgba(10,63,147,0.06);
}
.usat-co-summary-eyebrow {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif;
    font-size: 0.7rem !important;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #888 !important;
    background: rgba(248,247,243,0.6);
    padding: 0.85rem 1.2rem 0.7rem !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.usat-co-summary-body { padding: 0 !important; }

.usat-summary-card { display: flex; flex-direction: column; }

.usat-summary-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.05rem 1.2rem 0.9rem;
    background: linear-gradient(135deg, rgba(10,63,147,0.04), rgba(10,63,147,0.00) 70%);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.usat-summary-veh-ico {
    width: 52px; height: 36px;
    flex-shrink: 0;
    color: #0a3f93;
    display: flex; align-items: center; justify-content: center;
}
.usat-summary-veh-ico svg { width: 100%; height: 100%; }
.usat-summary-veh-name {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #121212;
    margin: 0 0 0.1rem;
    line-height: 1.1;
}
.usat-summary-veh-sub {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif;
}

/* Route block with vertical dotted line + dots */
.usat-summary-route {
    padding: 1.05rem 1.2rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif;
    position: relative;
}
.usat-summary-endpoint {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    position: relative;
}
.usat-summary-endpoint + .usat-summary-endpoint { margin-top: 0.6rem; }
.usat-summary-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}
.usat-summary-dot.dot-from {
    background: #fff;
    border: 2.5px solid #0a3f93;
}
.usat-summary-dot.dot-to {
    background: #0a3f93;
    border: 2.5px solid #0a3f93;
}
.usat-summary-line-v {
    position: absolute;
    left: 1.7rem;
    top: calc(1.05rem + 16px);
    bottom: calc(1.05rem + 16px);
    width: 2px;
    border-left: 2px dotted rgba(10,63,147,0.30);
    z-index: 1;
}
.usat-summary-place {
    font-weight: 700;
    color: #121212;
    margin: 0;
    font-size: 0.95rem;
}
.usat-summary-sub {
    font-size: 0.78rem;
    color: #888;
    margin: 0.1rem 0 0;
}
.usat-summary-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(10,63,147,0.08);
    color: #0a3f93;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    margin-top: 0.6rem;
    margin-left: 1.4rem;
}

.usat-summary-when-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.2rem;
    color: #555;
    font-size: 0.88rem;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.usat-summary-when-row svg { color: #888; flex-shrink: 0; }

.usat-summary-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem 1.1rem;
    background: linear-gradient(180deg, rgba(10,63,147,0.04), rgba(10,63,147,0.00));
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif;
}
.usat-summary-total-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #777;
    margin: 0 0 0.15rem;
    font-weight: 600;
}
.usat-summary-total-meta {
    font-size: 0.72rem;
    color: #999;
    margin: 0;
}
.usat-summary-total-amt {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 2.05rem;
    font-weight: 700;
    color: #0a3f93;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1;
}

/* Make the main step h1 a hair tighter so the form sits up higher */
body.page-ride-checkout .usat-co-step-h { margin-bottom: 1.1rem !important; }
body.page-ride-checkout .usat-co-step-eyebrow { margin-bottom: 0.2rem !important; font-size: 0.7rem !important; letter-spacing: 0.18em !important; }

/* Auth tabs + cards: gentler shadows */
body.page-ride-checkout .usat-co-card {
    box-shadow: 0 1px 2px rgba(0,0,0,0.03), 0 6px 22px rgba(10,63,147,0.05) !important;
}

/* === USAT PRETTY PASS END === */

/* === USAT STEPPER LINE — DEFINITIVE FIX === */

/* Kill all previous stepper-line approaches */
.usat-co-stepper ol::before,
.usat-co-stepper-3 ol::before,
.usat-co-stepper-3 ol::after,
body.page-ride-checkout .usat-co-stepper ol::before {
    display: none !important;
    content: none !important;
}

/* Per-li line segments: each li (except last) draws a horizontal line
   from its dot's right edge to the next dot's left edge. */
.usat-co-stepper li {
    position: relative;
}
.usat-co-stepper li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 15px;          /* matches dot vertical center (dot 32px tall) */
    left: calc(50% + 18px);   /* right edge of this dot */
    right: calc(-50% + 18px); /* equivalent to left edge of next dot */
    height: 2px;
    background: rgba(60,60,67,0.18);
    z-index: 0;
}
/* Done segments fill navy */
.usat-co-stepper li.done:not(:last-child)::after {
    background: linear-gradient(90deg, #0a3f93, #062d6d);
}

/* The dot itself must sit ABOVE the line segments */
.usat-co-stepper .dot { position: relative; z-index: 1; }

/* === USAT STEPPER LINE FIX END === */

/* === USAT TRIP CARD: ensure total isn't clipped === */
.usat-co-summary {
    overflow: visible !important;
    height: auto !important;
}
.usat-summary-card { height: auto; }

/* Tighten internal paddings a hair so the whole card fits comfortably */
.usat-summary-head { padding: 0.95rem 1.1rem 0.85rem !important; }
.usat-summary-route { padding: 0.95rem 1.1rem !important; }
.usat-summary-when-row { padding: 0.7rem 1.1rem !important; }
.usat-summary-total-row { padding: 0.85rem 1.1rem 0.95rem !important; }
.usat-summary-total-amt { font-size: 1.85rem !important; }

/* === USAT CHECKOUT MOBILE — FORMS FIRST, SUMMARY COLLAPSED === */

/* On narrow viewports, render order = stepper, FORM, summary (compact) */
@media (max-width: 820px) {
    body.page-ride-checkout .usat-co-wrap {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            'stepper'
            'step'
            'summary' !important;
        gap: 0.7rem !important;
    }
    /* The Your Trip card collapses to one-line summary on narrow screens */
    body.page-ride-checkout .usat-co-summary {
        order: 99;
        position: relative;
    }
    /* Collapsible: hide the full card, show only a one-line teaser */
    body.page-ride-checkout .usat-co-summary .usat-summary-card {
        display: none;
    }
    body.page-ride-checkout .usat-co-summary::after {
        content: "";   /* will be filled in by JS via aria-label */
    }
    /* Replace with our compact teaser */
    body.page-ride-checkout .usat-co-summary[data-mobile-teaser]::before {
        content: attr(data-mobile-teaser);
        display: block;
        padding: 0.7rem 1rem;
        background: linear-gradient(180deg, #fbfaf7 0%, #f5f3ed 100%);
        border: 1px solid rgba(0,0,0,0.06);
        border-radius: 10px;
        font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif;
        font-size: 0.85rem;
        color: #555;
        font-weight: 600;
        text-align: center;
    }
    /* Hide "YOUR TRIP" eyebrow on mobile too — the teaser stands on its own */
    body.page-ride-checkout .usat-co-summary .usat-co-summary-eyebrow { display: none; }

    /* Tighten the form cards on mobile */
    body.page-ride-checkout .usat-co-twocol { grid-template-columns: 1fr !important; gap: 0.7rem !important; }
    body.page-ride-checkout .usat-co-step-h { font-size: 1.4rem !important; margin-bottom: 0.7rem !important; }
    body.page-ride-checkout .usat-co-step-eyebrow { margin-bottom: 0.2rem !important; }
    body.page-ride-checkout .usat-co-card { padding: 1rem 1.1rem !important; }

    /* Kill the left-card spacer that was aligning email rows on desktop —
       on mobile both cards stack, no alignment needed */
    body.page-ride-checkout .usat-co-card:has(#usat-co-guest-form) > .usat-co-h2::after {
        display: none !important;
    }
    body.page-ride-checkout #usat-co-guest-form { margin-top: 0 !important; }
}

/* Sticky-bottom mobile action bar showing the total + Continue CTA at all times */
@media (max-width: 720px) {
    body.page-ride-checkout::after {
        /* spacer so content above isn't hidden by the bar */
        content: "";
        display: block;
        height: 64px;
    }
    body.page-ride-checkout .usat-co-mobile-bar {
        position: fixed;
        bottom: 0; left: 0; right: 0;
        background: rgba(255,255,255,0.96);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(0,0,0,0.08);
        padding: 0.6rem 1rem 0.8rem;
        z-index: 100;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.6rem;
        font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif;
        box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
    }
    body.page-ride-checkout .usat-co-mobile-bar-label {
        font-size: 0.78rem;
        color: #888;
        margin: 0;
    }
    body.page-ride-checkout .usat-co-mobile-bar-amt {
        font-family: "Playfair Display", Georgia, serif;
        font-size: 1.2rem;
        font-weight: 700;
        color: #121212;
        margin: 0;
        line-height: 1;
    }
}

/* === USAT CHECKOUT MOBILE END === */

/* === USAT PAYMENT METHODS PAGE === */
.usat-pm-list { display: flex; flex-direction: column; gap: 0.6rem; }
.usat-pm-card {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 0.9rem;
    padding: 0.95rem 1rem;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 10px;
}
.usat-pm-card-icon {
    background: linear-gradient(135deg, #1c1c1e, #2a2a2c);
    color: #fff;
    border-radius: 6px;
    font-family: -apple-system, BlinkMacSystemFont, Inter, system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    padding: 8px 4px;
    text-align: center;
    line-height: 1;
}
.usat-pm-brand-visa { background: #1A1F71; }
.usat-pm-brand-mastercard { background: linear-gradient(90deg, #EB001B 50%, #F79E1B 50%); }
.usat-pm-brand-amex { background: #006FCF; }
.usat-pm-brand-discover { background: #FF6000; }
.usat-pm-card-body p { margin: 0; }
.usat-pm-card-line { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.95rem; color: #121212; }
.usat-pm-card-sub { font-size: 0.78rem; color: #888; margin-top: 0.15rem !important; font-family: -apple-system, BlinkMacSystemFont, Inter, system-ui, sans-serif; }
.usat-pm-default-pill {
    display: inline-block;
    background: #1e6f3a;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.08em;
    margin-left: 0.4rem;
    vertical-align: 2px;
    font-family: -apple-system, BlinkMacSystemFont, Inter, system-ui, sans-serif;
}
.usat-pm-card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-align: right;
}
.usat-pm-link {
    background: none;
    border: none;
    color: #0a3f93;
    font-family: -apple-system, BlinkMacSystemFont, Inter, system-ui, sans-serif;
    font-size: 0.82rem;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}
.usat-pm-link:hover { background: rgba(10,63,147,0.08); }
.usat-pm-link-danger { color: #d41a22; }
.usat-pm-link-danger:hover { background: rgba(212,26,34,0.08); }

/* Checkout: "Pay with saved card" mode */
.usat-pay-saved-card {
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem;
    border: 2px solid #0a3f93;
    border-radius: 12px;
    background: rgba(10,63,147,0.04);
    margin-bottom: 1rem;
}
.usat-pay-saved-card-line { font-family: ui-monospace, Menlo, monospace; font-size: 1rem; color: #121212; margin: 0; font-weight: 700; }
.usat-pay-saved-card-sub { font-size: 0.78rem; color: #666; margin: 0.15rem 0 0; }
.usat-pay-use-different {
    display: inline-block;
    margin-top: 0.6rem;
    color: #0a3f93;
    font-size: 0.85rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, Inter, system-ui, sans-serif;
}
.usat-pay-use-different:hover { text-decoration: underline; }
/* === USAT PAYMENT METHODS PAGE END === */

/* === USAT TRIP CHIP — replaces sidebar trip card === */

/* Single-column layout — kill the 1fr 300px grid that's been causing alignment pain */
body.page-ride-checkout .usat-co-wrap {
    grid-template-columns: 1fr !important;
    grid-template-areas:
        "chip"
        "stepper"
        "step" !important;
    max-width: 760px !important;
    margin: 0.6rem auto 4rem !important;
    gap: 0.6rem !important;
}
body.page-ride-checkout .usat-co-summary { display: none !important; }
body.page-ride-checkout .usat-trip-chip { grid-area: chip; }

/* The chip itself: tiny, neutral, pill-shaped */
.usat-trip-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 999px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif;
    font-size: 0.82rem;
    color: #444;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    max-width: 100%;
    align-self: start;
}
.usat-trip-chip:hover { background: #fff; border-color: rgba(0,0,0,0.14); }
.usat-trip-chip:focus { outline: 2px solid rgba(10,63,147,0.20); outline-offset: 2px; }
.usat-trip-chip-content { display: inline-flex; align-items: center; gap: 0.45rem; }
.usat-trip-chip-content svg { width: 18px; height: auto; color: #0a3f93; flex-shrink: 0; }

/* Popover */
.usat-trip-chip-pop {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 50;
    width: 320px;
    max-width: calc(100vw - 32px);
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    overflow: hidden;
    cursor: default;
    text-align: left;
}
.usat-trip-chip-pop[hidden] { display: none; }

/* The rich card from before now lives inside the popover */
.usat-trip-chip-pop .usat-summary-card { background: #fff; }
.usat-trip-chip-pop .usat-summary-head { padding: 0.85rem 1rem; }
.usat-trip-chip-pop .usat-summary-route { padding: 0.85rem 1rem; }
.usat-trip-chip-pop .usat-summary-when-row { padding: 0.65rem 1rem; }
.usat-trip-chip-pop .usat-summary-total-row { padding: 0.85rem 1rem; }

/* Step area: full width now, looks like a single column form */
body.page-ride-checkout .usat-co-step {
    max-width: 100%;
    width: 100%;
}

/* Stepper line tweaks now that everything is narrower */
body.page-ride-checkout .usat-co-stepper { margin-top: 0.2rem; }

/* === USAT TRIP CHIP END === */

/* === USAT PAY-WITH-CREDITS OPTION ROW === */
.usat-pay-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.usat-pay-option {
    display: grid;
    grid-template-columns: 24px 1fr;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.9rem 1rem;
    border: 1.5px solid rgba(0,0,0,0.10);
    border-radius: 12px;
    background: rgba(255,255,255,0.85);
    cursor: pointer;
    transition: border-color 0.12s, background 0.12s;
}
.usat-pay-option:hover { border-color: rgba(10,63,147,0.30); }
.usat-pay-option input[type="radio"] { margin-top: 4px; accent-color: #0a3f93; }
.usat-pay-option:has(input:checked) {
    border-color: #0a3f93;
    background: rgba(10,63,147,0.05);
    box-shadow: 0 0 0 3px rgba(10,63,147,0.08);
}
.usat-pay-option-body p { margin: 0; }
.usat-pay-option-label {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #121212;
}
.usat-pay-option-sub {
    font-size: 0.82rem;
    color: #666;
    margin-top: 0.15rem !important;
}
.usat-pay-option-credits .usat-pay-option-label::after {
    content: " · Recommended";
    color: #0a3f93;
    font-weight: 600;
    font-size: 0.8rem;
}
.usat-pay-balance-note {
    font-size: 0.78rem;
    color: #666;
    background: #fffbeb;
    border: 1px solid rgba(245,158,11,0.30);
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
    margin: 0;
}
.usat-pay-balance-note a { color: #0a3f93; }

/* When credits mode is active, hide the Stripe card fields */
.usat-pay-credits-mode .usat-pay-field,
.usat-pay-credits-mode .usat-pay-row-two,
.usat-pay-credits-mode .usat-pay-savecard,
.usat-pay-credits-mode .usat-pay-cards-row,
.usat-pay-credits-mode .usat-pay-test-note,
.usat-pay-credits-mode .usat-pay-intro {
    display: none !important;
}

.usat-pay-retry {
    background: #0a3f93; color: #fff; border: none; border-radius: 6px;
    padding: 4px 10px; font-size: 0.85rem; cursor: pointer;
}

/* === USAT PAY-WITH-CREDITS END === */

/* === USAT SSO BUTTONS — Apple-style horizontal pills === */
.usat-sso-stack {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
}
.usat-sso-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.7rem 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.05s, box-shadow 0.15s, border-color 0.12s;
    border: 1px solid transparent;
    line-height: 1;
}
.usat-sso-row:hover  { transform: translateY(-1px); }
.usat-sso-row:active { transform: translateY(0); }
.usat-sso-row[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

.usat-sso-ico { display: inline-flex; width: 20px; height: 20px; }
.usat-sso-ico svg { width: 100%; height: 100%; }

/* Apple — Apple's HIG style */
.usat-sso-apple {
    background: #000;
    color: #fff;
    border-color: #000;
}
.usat-sso-apple:hover { background: #1c1c1e; }

/* Google — Material style: white background, multicolor G */
.usat-sso-google {
    background: #fff;
    color: #1f1f1f;
    border-color: rgba(0,0,0,0.18);
}
.usat-sso-google:hover { background: #f7f7f7; border-color: rgba(0,0,0,0.28); }

/* Batmandir — brand navy */
.usat-sso-batmandir {
    background: linear-gradient(180deg, #0a3f93 0%, #062d6d 100%);
    color: #fff;
    border-color: #062d6d;
}
.usat-sso-batmandir:hover { box-shadow: 0 4px 14px rgba(10,63,147,0.30); }
.usat-sso-batmandir .usat-sso-ico { color: #ffd84d; }

/* "or use email" divider */
.usat-sso-divider {
    position: relative;
    text-align: center;
    margin: 0.4rem 0 0.7rem;
    font-family: -apple-system, BlinkMacSystemFont, Inter, system-ui, sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #aaa;
}
.usat-sso-divider::before, .usat-sso-divider::after {
    content: "";
    position: absolute;
    top: 50%; width: 38%; height: 1px;
    background: rgba(0,0,0,0.08);
}
.usat-sso-divider::before { left: 0; }
.usat-sso-divider::after  { right: 0; }
.usat-sso-divider span { background: #fff; padding: 0 0.6rem; }

/* SSO status message shown when a button is clicked */
.usat-sso-msg {
    font-family: -apple-system, BlinkMacSystemFont, Inter, system-ui, sans-serif;
    font-size: 0.82rem;
    color: #666;
    margin: 0.4rem 0 0;
    text-align: center;
    min-height: 1.2em;
}
.usat-sso-msg.error { color: #b3261e; }
.usat-sso-msg.success { color: #1e6f3a; }

/* === USAT SSO BUTTONS END === */

/* === USAT CHECKOUT WHITESPACE PASS — cut ~40% === */

/* Top of page: stepper used to be ~200px down, now ~80px */
body.page-ride-checkout .usat-co-wrap {
    margin-top: 0.25rem !important;
}
body.page-ride-checkout .usat-co-stepper {
    margin: 0.3rem 0 0.2rem !important;
}
/* Step eyebrow + H1 tighter */
body.page-ride-checkout .usat-co-step-eyebrow {
    margin: 0.3rem 0 0.15rem !important;
    font-size: 0.68rem !important;
}
body.page-ride-checkout .usat-co-step-h {
    font-size: clamp(1.4rem, 2.4vw, 1.7rem) !important;
    margin: 0 0 0.7rem 0 !important;
}
/* Cards: padding 1.4rem → 0.85rem */
body.page-ride-checkout .usat-co-card {
    padding: 0.85rem 1rem 1rem !important;
}
body.page-ride-checkout .usat-co-h2 {
    font-size: 1.05rem !important;
    margin: 0 0 0.6rem 0 !important;
}
body.page-ride-checkout .usat-co-h3 {
    margin: 0.7rem 0 0.3rem 0 !important;
    font-size: 0.82rem !important;
}
/* Form fields: vertical gap 0.85rem → 0.5rem */
body.page-ride-checkout .usat-co-form { gap: 0.45rem !important; }
body.page-ride-checkout .usat-co-form input,
body.page-ride-checkout .usat-co-form select,
body.page-ride-checkout .usat-pay-input {
    padding: 0.55rem 0.75rem !important;
    font-size: 0.92rem !important;
}
body.page-ride-checkout .usat-co-label {
    font-size: 0.66rem !important;
    margin-bottom: 0.12rem !important;
}
/* Buttons tighter */
body.page-ride-checkout .usat-co-btn { padding: 0.7rem 1rem !important; }
body.page-ride-checkout .usat-co-btn-primary { padding: 0.8rem 1rem !important; }

/* Two-column auth area gap */
body.page-ride-checkout .usat-co-twocol { gap: 0.7rem !important; }

/* The "Why create an account?" benefits list tighter */
body.page-ride-checkout .usat-co-benefits {
    margin: 0.3rem 0 0 0 !important;
    padding-left: 1.1rem !important;
}
body.page-ride-checkout .usat-co-benefits li {
    margin-bottom: 0.2rem !important;
    font-size: 0.85rem !important;
}

/* Trip chip + popover slightly tighter */
body.page-ride-checkout .usat-trip-chip { padding: 0.35rem 0.7rem !important; font-size: 0.78rem !important; }

/* Kill the old left-card phantom-spacer — no longer needed with tighter overall */
body.page-ride-checkout .usat-co-card:has(#usat-co-guest-form) > .usat-co-h2::after { display: none !important; }
body.page-ride-checkout #usat-co-guest-form { margin-top: 0 !important; }

/* === USAT CHECKOUT WHITESPACE PASS END === */

/* === USAT SAVED-CARD MODE — hide Stripe Elements when card on file === */
.usat-pay-saved-mode .usat-pay-field,
.usat-pay-saved-mode .usat-pay-row-two,
.usat-pay-saved-mode .usat-pay-savecard,
.usat-pay-saved-mode .usat-pay-cards-row,
.usat-pay-saved-mode .usat-pay-test-note,
.usat-pay-saved-mode .usat-pay-intro {
    display: none !important;
}

/* "Use a different card →" link */
.usat-pay-use-different {
    background: none;
    border: none;
    color: #0a3f93;
    font-family: -apple-system, BlinkMacSystemFont, Inter, system-ui, sans-serif;
    font-size: 0.82rem;
    cursor: pointer;
    padding: 0.3rem 0 0.5rem 0.3rem;
    margin-top: -0.2rem;
    display: inline-block;
}
.usat-pay-use-different:hover { text-decoration: underline; }


/* === USAT STEP 2 TOP SSO ROW (2026-05-17) =========================
 * Hoists Apple/Google/Batmandir to the top of step 2; tightens spacing.
 * ================================================================ */

/* Pull the whole checkout wrap right up under the gray nav line */
body.page-ride-checkout .usat-co-wrap {
    margin-top: 0.25rem !important;
    gap: 0.3rem !important;
}
body.page-ride-checkout .usat-trip-chip {
    margin-top: 0 !important;
    margin-bottom: 0.15rem !important;
}
body.page-ride-checkout .usat-co-stepper { margin: 0.2rem 0 0.35rem !important; }

/* Top SSO row container */
.usat-sso-toprow { margin: 0 0 1rem 0; }
.usat-sso-stack-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
}
.usat-sso-stack-row .usat-sso-row {
    /* Match per-column width; keep the same pill shape we use elsewhere */
    margin: 0;
    justify-content: center;
}
.usat-sso-toprow .usat-sso-divider {
    margin: 0.85rem 0 0.25rem;
}
@media (max-width: 640px) {
    .usat-sso-stack-row { grid-template-columns: 1fr; gap: 0.45rem; }
}
/* === USAT STEP 2 TOP SSO ROW END === */

/* === KILL WHITESPACE ABOVE TRIP CHIP (2026-05-17) =================
 * WP Gutenberg block layout was injecting spacing--60 top/bottom
 * around the post content on /ride/nyc/checkout/. Result: ~200px
 * empty gap between the site header and the trip chip. Strip it.
 * Applies on every checkout step.
 * ================================================================ */
body.page-ride-checkout main.wp-block-group { margin-top: 1.1rem !important; }
body.page-ride-checkout main.wp-block-group > .wp-block-group {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
body.page-ride-checkout .entry-content { padding-top: 0 !important; margin-top: 0 !important; }
body.page-ride-checkout .wp-block-post-title { display: none !important; margin: 0 !important; }
body.page-ride-checkout .usat-co-wrap { margin-top: 0.4rem !important; }
/* === KILL WHITESPACE END === */

/* === NYT-STYLE HEADER ON CHECKOUT (2026-05-17) =====================
 * Compact horizontal header with a double black rule below — matches
 * the NYT reference Achir shared. Scoped to checkout so the rest of
 * the site keeps its current header until we decide to roll wider.
 * Uses our own nav items (Airport / Hourly / Joyride / Stars).
 * =================================================================== */
body.page-ride-checkout header.wp-block-template-part {
    border-bottom: 3px double #121212 !important;
    padding: 0.45rem 0 0.55rem !important;
    background: #fff;
}
body.page-ride-checkout header.wp-block-template-part .wp-block-site-logo img {
    max-height: 38px !important;
}
/* Compact, NYT-condensed feel for the right-hand nav items */
body.page-ride-checkout .usat-header-joyride,
body.page-ride-checkout header .wp-block-buttons .wp-block-button__link {
    font-family: -apple-system, Helvetica Neue, Inter, system-ui, sans-serif !important;
    font-size: 0.86rem !important;
    letter-spacing: 0.02em;
    text-transform: none !important;
    padding: 0.18rem 0.55rem !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
}
/* Subtle dividers between header items (NYT trick) */
body.page-ride-checkout header .wp-block-buttons {
    gap: 0 !important;
}
body.page-ride-checkout header .wp-block-buttons > * {
    border-right: 1px solid rgba(0,0,0,0.10);
    padding-right: 0.55rem !important;
    padding-left: 0.25rem !important;
}
body.page-ride-checkout header .wp-block-buttons > *:last-child {
    border-right: none;
}
/* Star-count chip stays accented but flatter */
body.page-ride-checkout header .wp-block-buttons > *:last-child .wp-block-button__link {
    background: rgba(10,63,147,0.08) !important;
    color: #0a3f93 !important;
    border: 1px solid rgba(10,63,147,0.18) !important;
}
@media (max-width: 720px) {
    body.page-ride-checkout header.wp-block-template-part .wp-block-site-logo img { max-height: 30px !important; }
    body.page-ride-checkout header .wp-block-buttons > * { padding: 0 0.35rem !important; }
}
/* === NYT-STYLE HEADER END === */

/* === MINIMAL FOOTER ON /ride/* (2026-05-17) =======================
 * Strip the full marketing footer (logo + 4 column nav) on booking
 * pages. Replace with a single rule + one-line copyright.
 * Matches body class `page-ride` (set by the carbooking flow on
 * /ride/nyc/, /ride/nyc/checkout/, etc.).
 * =================================================================== */
body.page-ride footer.usat-footer > * { display: none !important; }
body.page-ride footer.usat-footer {
    border-top: 1px solid #121212 !important;
    margin: 3rem auto 0 !important;
    padding: 1.2rem 1.5rem 1.5rem !important;
    max-width: 760px !important;
    background: transparent !important;
}
body.page-ride footer.usat-footer::after {
    content: '© 2026 USA Times. Reported from the street.';
    display: block;
    color: #5a5a5a;
    font-family: 'Source Serif', Georgia, serif;
    font-size: 0.95rem;
    line-height: 1.4;
}
/* === MINIMAL RIDE FOOTER END === */


/* === USAT PAYMENT LOADING STATE (2026-05-17) =======================
 * Show a spinner instead of the Stripe form / saved-card UI until the
 * payment JS resolves balance + cards and knows which mode to render.
 * =================================================================== */
.usat-pay-card-loading > *:not(.usat-pay-loading-state) { display: none !important; }
#usat-pay-options { /* the radio row JS prepends */ display: revert; }
/* JS prepends usat-pay-options BEFORE the form; we need the options row
   visible even while .usat-pay-card-loading still has the class, but in
   practice JS removes the class as soon as it renders the row, so this
   rule is belt-and-suspenders. */
.usat-pay-card-loading #usat-pay-options { display: flex !important; }

.usat-pay-loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    padding: 2.4rem 1rem;
    min-height: 220px;
}
.usat-pay-spinner {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid rgba(10,63,147,0.15);
    border-top-color: #0a3f93;
    animation: usatPaySpin 0.9s linear infinite;
}
.usat-pay-loading-label {
    margin: 0;
    color: #5a5a5a;
    font-family: -apple-system, BlinkMacSystemFont, Inter, system-ui, sans-serif;
    font-size: 0.95rem;
}
@keyframes usatPaySpin { to { transform: rotate(360deg); } }
/* === USAT PAYMENT LOADING STATE END === */

/* === USA Times — Rider trip management (2026-05-17) ============== */

/* Help-row at top of /account/trips */
.usat-help-row { background: #f8f9fb; border: 1px solid var(--line, #e5e7eb); padding: 0.9rem 1.1rem; }
.usat-help-row p { margin: 0; font-size: 0.95rem; color: #444; }

/* Trip row card (signed-in list) */
.usat-trip-row { padding: 1rem 1.2rem; }
.usat-trip-row-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.usat-trip-row-head strong { font-size: 1rem; }
.usat-trip-row-price { font-weight: 700; font-size: 1rem; white-space: nowrap; }
.usat-trip-row-status { margin: 0.6rem 0 0; font-size: 0.85rem; display: inline-block; padding: 2px 9px; border-radius: 10px; color: #fff; background: #848e9f; }
.usat-trip-row-status.status-active { background: #0a3f93; }
.usat-trip-row-status.status-done   { background: #16a34a; }
.usat-trip-row-status.status-cancelled { background: #848e9f; }

.usat-trip-cancel-btn {
    margin-top: 0.85rem; background: transparent; border: 1px solid rgba(212,26,34,0.35);
    color: #d41a22; padding: 0.4rem 0.85rem; border-radius: 8px; cursor: pointer; font: inherit;
}
.usat-trip-cancel-btn:hover { background: rgba(212,26,34,0.05); border-color: #d41a22; }
.usat-trip-cancel-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* Public /trip?t=&o= page */
.usat-trip-public { min-height: 60vh; padding: 3rem 1.5rem; max-width: 640px; margin: 0 auto; }
.usat-trip-card {
    background: #fff; border: 1px solid var(--line, #e5e7eb); border-radius: 14px;
    padding: 2rem 2.2rem; box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.usat-trip-card h1 { font-family: 'Playfair Display', Georgia, serif; font-size: 2rem; margin: 0 0 0.85rem; }
.usat-trip-eyebrow {
    font-family: Inter, -apple-system, system-ui, sans-serif;
    font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
    color: #0a3f93; margin: 0 0 0.5rem;
}
.usat-trip-status {
    display: inline-block; padding: 4px 12px; border-radius: 12px; font-size: 0.85rem; color: #fff; background: #0a3f93; margin: 0 0 1.4rem;
}
.usat-trip-status.status-paid       { background: #16a34a; }
.usat-trip-status.status-cancelled  { background: #848e9f; }
.usat-trip-status.status-payment_failed { background: #d41a22; }

.usat-trip-dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 1.2rem; margin: 0 0 1.6rem; }
.usat-trip-dl dt { color: #888; font-size: 0.85rem; }
.usat-trip-dl dd { margin: 0; font-size: 0.95rem; }

.usat-trip-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
.usat-trip-btn {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.55rem 1rem; border-radius: 8px; border: 1px solid var(--line, #e5e7eb);
    background: #fff; color: #121212; font-size: 0.9rem; cursor: pointer; text-decoration: none; font: inherit;
}
.usat-trip-btn:hover { border-color: #121212; text-decoration: none; }
.usat-trip-btn.primary { background: #0a3f93; color: #fff; border-color: #0a3f93; }
.usat-trip-btn.primary:hover { background: #082c66; }
.usat-trip-btn.danger  { color: #d41a22; border-color: rgba(212,26,34,0.3); }
.usat-trip-btn.danger:hover { background: rgba(212,26,34,0.05); border-color: #d41a22; }

.usat-trip-cancel-note { font-size: 0.85rem; color: #888; margin: 0.5rem 0 0; }
.usat-trip-footnote    { font-size: 0.8rem; color: #888; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line, #e5e7eb); }
/* === Rider trip management END === */

/* === Member /login page (2026-05-17) =========================== */
.usat-login-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 3rem 1.2rem; }
.usat-login-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 2rem 2.2rem; max-width: 440px; width: 100%; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.usat-login-logo  { display: block; height: 30px; margin: 0 auto 1.2rem; }
.usat-login-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.7rem; line-height: 1.15; margin: 0 0 0.4rem; text-align: center; }
.usat-login-sub   { text-align: center; color: #5a5a5a; margin: 0 0 1.6rem; font-size: 0.95rem; }
.usat-login-stack { display: flex; flex-direction: column; gap: 0.5rem; }
.usat-login-btn   { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; padding: 0.85rem 1rem; border-radius: 10px; border: 1px solid #e5e7eb; background: #fff; color: #101014; font-size: 0.95rem; font-weight: 600; cursor: pointer; font-family: inherit; width: 100%; }
.usat-login-btn:hover:not(:disabled) { border-color: #101014; }
.usat-login-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.usat-login-btn.apple    { background: #000; color: #fff; border-color: #000; }
.usat-login-btn.apple:hover { background: #202020; border-color: #202020; }
.usat-login-btn.google   { background: #fff; }
.usat-login-btn.batmandir{ background: #d41a22; color: #fff; border-color: #d41a22; }
.usat-login-btn.batmandir:hover { background: #a8141a; border-color: #a8141a; }
.usat-login-btn.primary  { background: #0a3f93; color: #fff; border-color: #0a3f93; }
.usat-login-btn.primary:hover { background: #082c66; border-color: #082c66; }
.usat-login-btn.outline  { background: transparent; }
.usat-login-divider { text-align: center; margin: 1.5rem 0 1.1rem; color: #888; font-size: 0.82rem; position: relative; }
.usat-login-divider::before, .usat-login-divider::after { content: ''; position: absolute; top: 50%; width: calc(50% - 1.6rem); height: 1px; background: #e5e7eb; }
.usat-login-divider::before { left: 0; }
.usat-login-divider::after  { right: 0; }
.usat-login-divider span { background: #fff; padding: 0 0.6rem; }
.usat-login-tabs { display: flex; gap: 0.4rem; background: #f4f5f7; padding: 3px; border-radius: 9px; margin-bottom: 1.1rem; }
.usat-login-tab  { flex: 1; padding: 0.55rem; border: none; background: transparent; color: #5a5a5a; border-radius: 6px; font-weight: 600; cursor: pointer; font-family: inherit; font-size: 0.92rem; }
.usat-login-tab.active { background: #fff; color: #101014; box-shadow: 0 1px 2px rgba(0,0,0,0.06); }
.usat-login-form label { display: block; font-size: 0.85rem; color: #5a5a5a; margin-bottom: 0.85rem; }
.usat-login-form input[type=email], .usat-login-form input[type=password], .usat-login-form input[type=tel], .usat-login-form input[type=text] { width: 100%; margin-top: 0.3rem; padding: 0.7rem 0.85rem; border-radius: 8px; border: 1px solid #e5e7eb; background: #fff; font: inherit; font-size: 1rem; }
.usat-login-form input:focus { outline: 2px solid rgba(10,63,147,0.25); border-color: #0a3f93; }
.usat-login-row { display: flex; gap: 0.5rem; margin: 0.6rem 0 0.4rem; }
.usat-login-msg { font-size: 0.88rem; min-height: 1.2rem; margin: 0.3rem 0; color: #5a5a5a; }
.usat-login-msg.error { color: #d41a22; }
.usat-login-msg.ok    { color: #16a34a; }
.usat-login-fineprint { text-align: center; font-size: 0.85rem; margin: 0.6rem 0 0; }
.usat-login-staff     { text-align: center; font-size: 0.82rem; color: #888; margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid #e5e7eb; }
.usat-login-staff a   { color: #5a5a5a; }
#usat-login-recaptcha { margin: 0.5rem 0; }
/* === Member login END === */
