:root {
    --navy:#201c5a;
    --navy2:#17134b;
    --text:#273052;
    --muted:#667091;
    --gold:#d7b45f;
    --gold-soft:#fff8e7;
    --line:#e7e9f2;
    --soft:#f7f8fc;
    --soft-blue:#eef6fb;
    --green:#4aa77a;
    --red:#d95c5c;
    --blue:#7EC2E5;
    --shadow:0 18px 50px rgba(20,26,70,.09);
    --shadow-soft:0 10px 28px rgba(20,26,70,.06);
    --radius:18px;
}


/* =========================================================
   GLOBAL
   ========================================================= */

* {
    box-sizing:border-box;
}

html,
body {
    margin:0;
    min-height:100%;
}

body {
    font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    background:var(--soft);
    color:var(--text);
}

button,
input,
select {
    font:inherit;
}

button,
a {
    -webkit-tap-highlight-color:transparent;
}

button {
    cursor:pointer;
}

a {
    text-decoration:none;
}


/* =========================================================
   APP WRAPPER
   ========================================================= */

.tr-app {
    width:100%;
    min-height:100vh;
    background:var(--soft);
    padding-bottom:90px;
}


/* =========================================================
   HEADER
   ========================================================= */

.tr-app-header {
    background:linear-gradient(145deg,var(--navy),var(--navy2));
    color:#fff;
    padding:18px 18px 42px;
}

.tr-app-topbar {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}

.tr-app-brand,
.tr-login-brand {
    display:flex;
    align-items:center;
    gap:9px;
    color:#fff;
    font-weight:800;
}

.tr-app-brand-mark {
    width:36px;
    height:36px;
    border-radius:12px;
    background:var(--gold);
    color:var(--navy);
    display:grid;
    place-items:center;
    flex:none;
    font-size:13px;
    font-weight:900;
}

.tr-app-menu-wrap {
    position:relative;
}

.tr-app-menu-button {
    width:40px;
    height:40px;
    border-radius:13px;
    border:1px solid rgba(255,255,255,.16);
    background:rgba(255,255,255,.08);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
}

.tr-app-menu-button span {
    width:16px;
    height:2px;
    border-radius:2px;
    background:#fff;
}

.tr-app-menu {
    display:none;
    position:absolute;
    right:0;
    top:47px;
    width:205px;
    background:#fff;
    border-radius:15px;
    padding:7px;
    box-shadow:0 18px 50px rgba(20,26,70,.22);
    z-index:50;
}

.tr-app-menu.open {
    display:block;
}

.tr-app-menu button,
.tr-app-menu a {
    display:block;
    width:100%;
    border:0;
    background:transparent;
    padding:11px;
    border-radius:10px;
    text-align:left;
    color:var(--text);
    cursor:pointer;
}

.tr-app-menu button:hover,
.tr-app-menu a:hover {
    background:var(--soft);
}

.tr-app-menu .logout {
    color:var(--red);
}

.tr-app-header-copy {
    margin-top:28px;
}

.tr-app-header-copy .eyebrow {
    color:rgba(255,255,255,.62);
    font-size:10px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.12em;
}

.tr-app-header-copy h1 {
    margin:7px 0 6px;
    font-size:29px;
    line-height:1.1;
    letter-spacing:-.7px;
}

.tr-app-header-copy p {
    margin:0;
    color:rgba(255,255,255,.72);
    font-size:13px;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.tr-app-main {
    width:min(100%,760px);
    margin:-18px auto 0;
    padding:0 16px 25px;
}

.tr-app-view {
    display:none;
}

.tr-app-view.active {
    display:block;
}


/* =========================================================
   DASHBOARD ACTION CARDS
   ========================================================= */

.tr-action-grid,
.tr-bookings-list {
    display:grid;
    gap:14px;
}

.tr-action-card {
    width:100%;
    border:1px solid rgba(32,28,90,.05);
    background:#fff;
    border-radius:var(--radius);
    padding:18px;
    box-shadow:var(--shadow-soft);
    text-align:left;
    cursor:pointer;
}

.tr-action-card.primary {
    background:linear-gradient(135deg,var(--gold-soft),#fff);
    border-color:rgba(215,180,95,.4);
}

.tr-action-row {
    display:flex;
    align-items:center;
    gap:14px;
}

.tr-action-icon {
    width:48px;
    height:48px;
    border-radius:15px;
    display:grid;
    place-items:center;
    flex:none;
    font-size:20px;
}

.tr-action-icon.gold {
    background:var(--gold);
    color:var(--navy);
}

.tr-action-icon.blue {
    background:var(--soft-blue);
    color:var(--navy);
}

.tr-action-copy {
    flex:1;
    min-width:0;
}

.tr-action-copy strong {
    display:block;
    margin-bottom:4px;
    color:var(--navy);
    font-size:16px;
}

.tr-action-copy span {
    color:var(--muted);
    font-size:13px;
}

.tr-chevron {
    color:var(--muted);
    font-size:22px;
}


/* =========================================================
   LAST LOCATION
   ========================================================= */

.tr-last-location {
    margin-top:15px;
    padding-top:13px;
    border-top:1px solid rgba(215,180,95,.32);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}

.tr-last-location small,
.tr-last-location b,
.tr-last-location span {
    display:block;
}

.tr-last-location small {
    color:var(--muted);
    font-size:10px;
}

.tr-last-location b {
    margin-top:3px;
    color:var(--navy);
    font-size:13px;
}

.tr-last-location span:not(.tr-pill) {
    margin-top:3px;
    color:var(--muted);
    font-size:11px;
}

.tr-pill {
    border-radius:999px;
    background:#fff;
    color:var(--green);
    border:1px solid rgba(74,167,122,.2);
    padding:7px 9px;
    font-size:11px;
    font-weight:800;
    white-space:nowrap;
}


/* =========================================================
   SECTION TITLES
   ========================================================= */

.tr-section-title {
    margin:24px 2px 12px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}

.tr-section-title h3 {
    margin:0;
    color:var(--navy);
    font-size:15px;
}

.tr-section-title button {
    border:0;
    background:transparent;
    color:var(--muted);
    font-size:12px;
}


/* =========================================================
   GENERIC CARDS
   ========================================================= */

.tr-small-booking-card,
.tr-booking-list-card,
.tr-page-card,
.tr-empty-card {
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px;
    box-shadow:var(--shadow-soft);
}

.tr-small-booking-card {
    padding:15px;
    display:flex;
    align-items:center;
    gap:12px;
}

.tr-booking-date {
    width:48px;
    border-radius:13px;
    background:var(--soft);
    text-align:center;
    padding:8px 5px;
    flex:none;
}

.tr-booking-date b,
.tr-booking-date span {
    display:block;
}

.tr-booking-date b {
    color:var(--navy);
    font-size:19px;
}

.tr-booking-date span {
    color:var(--muted);
    font-size:10px;
    font-weight:700;
}

.tr-booking-info {
    flex:1;
    min-width:0;
}

.tr-booking-info strong,
.tr-booking-info span,
.tr-booking-info small {
    display:block;
}

.tr-booking-info strong {
    margin-bottom:4px;
    color:var(--navy);
    font-size:13px;
}

.tr-booking-info span {
    color:var(--muted);
    font-size:12px;
}

.tr-booking-info small {
    margin-top:4px;
    color:var(--muted);
    font-size:10px;
}

.tr-empty-card {
    padding:24px;
    text-align:center;
}

.tr-empty-card.large {
    padding:30px 22px;
}

.tr-empty-card .icon {
    width:48px;
    height:48px;
    border-radius:15px;
    background:var(--soft-blue);
    color:var(--navy);
    display:grid;
    place-items:center;
    margin:0 auto 12px;
    font-size:20px;
}

.tr-empty-card strong,
.tr-empty-card span {
    display:block;
}

.tr-empty-card strong {
    margin-bottom:5px;
    color:var(--navy);
}

.tr-empty-card span {
    color:var(--muted);
    font-size:12px;
    line-height:1.5;
}

.tr-page-card {
    padding:18px;
}

.tr-card-heading h2 {
    margin:0 0 5px;
    color:var(--navy);
    font-size:20px;
}

.tr-card-heading p {
    margin:0;
    color:var(--muted);
    font-size:12px;
    line-height:1.5;
}

.top-gap {
    margin-top:16px;
}


/* =========================================================
   GENERIC LOCATION CARD
   ========================================================= */

.tr-booking-location-card {
    display:flex;
    align-items:center;
    gap:12px;
    border:1px solid var(--line);
    border-radius:15px;
    padding:12px;
    background:#fff;
    color:var(--text);
}

.tr-location-icon {
    width:42px;
    height:42px;
    border-radius:12px;
    background:var(--gold);
    color:var(--navy);
    display:grid;
    place-items:center;
    flex:none;
    font-size:11px;
    font-weight:900;
}

.tr-location-icon.large {
    width:54px;
    height:54px;
    border-radius:15px;
}

.tr-booking-location-card .copy {
    flex:1;
    min-width:0;
}

.tr-booking-location-card small,
.tr-booking-location-card strong,
.tr-booking-location-card span {
    display:block;
}

.tr-booking-location-card strong {
    color:var(--navy);
    font-size:13px;
}

.tr-booking-location-card small,
.tr-booking-location-card span {
    margin-top:3px;
    color:var(--muted);
    font-size:11px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.tr-primary-button {
    width:100%;
    min-height:50px;
    border:0;
    border-radius:14px;
    padding:0 18px;
    background:var(--gold);
    color:var(--navy2);
    font-weight:900;
    box-shadow:0 10px 22px rgba(215,180,95,.2);
    cursor:pointer;
}

.tr-primary-button:hover {
    filter:brightness(.98);
}

.link-button {
    display:flex;
    align-items:center;
    justify-content:center;
}


/* =========================================================
   MY BOOKINGS
   ========================================================= */

.tr-booking-list-card {
    padding:15px;
}

.tr-booking-list-top {
    display:flex;
    align-items:center;
    gap:12px;
}

.tr-status {
    border-radius:999px;
    padding:6px 8px;
    font-size:10px;
    font-weight:800;
    white-space:nowrap;
}

.tr-status.paid {
    background:#edf8f2;
    color:var(--green);
}

.tr-status.unpaid {
    background:var(--gold-soft);
    color:#9a7620;
}

.tr-status.cancelled {
    background:#f5eeee;
    color:var(--red);
}

.tr-booking-actions {
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-top:13px;
    padding-top:12px;
    border-top:1px solid var(--line);
    text-align:left;
}

.tr-booking-actions a {
    flex:1;
    min-width:72px;
    min-height:36px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid var(--line);
    border-radius:10px;
    padding:0 12px;
    background:#fff;
    color:var(--navy);
    font-size:11px;
    font-weight:800;
}

.tr-booking-actions a.primary {
    background:var(--soft-blue);
    border-color:rgba(126,194,229,.25);
}

.tr-booking-actions a.danger {
    color:var(--red);
    background:#fff7f7;
    border-color:rgba(217,92,92,.18);
}

.tr-booking-tabs {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:15px;
    padding:5px;
    margin-bottom:14px;
    box-shadow:var(--shadow-soft);
}

.tr-booking-tabs button {
    min-height:40px;
    border:0;
    border-radius:11px;
    background:transparent;
    color:var(--muted);
    font-size:12px;
    font-weight:800;
}

.tr-booking-tabs button.active {
    background:var(--navy);
    color:#fff;
}

.tr-booking-tabs button span {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:20px;
    height:20px;
    padding:0 5px;
    margin-left:4px;
    border-radius:999px;
    background:rgba(255,255,255,.16);
    font-size:9px;
}

.tr-booking-tabs button:not(.active) span {
    background:var(--soft);
    color:var(--muted);
}

.tr-booking-tab-panel {
    display:none;
}

.tr-booking-tab-panel.active {
    display:block;
}


/* =========================================================
   BOTTOM NAVIGATION
   ========================================================= */

.tr-app-bottom-nav {
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    height:74px;
    background:#fff;
    border-top:1px solid var(--line);
    display:grid;
    grid-template-columns:repeat(3,1fr);
    padding:8px 12px 10px;
    z-index:30;
}

.tr-app-nav-item {
    border:0;
    background:transparent;
    color:var(--muted);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    border-radius:12px;
    font-size:10px;
    font-weight:700;
}

.tr-app-nav-item .icon {
    font-size:19px;
}

.tr-app-nav-item.active {
    background:var(--soft-blue);
    color:var(--navy);
}


/* =========================================================
   LOGIN
   ========================================================= */

.tr-login-screen {
    min-height:100vh;
    background:linear-gradient(180deg,var(--navy) 0 35%,#fff 35% 100%);
    padding:42px 25px 30px;
}

.tr-login-brand {
    font-size:22px;
}

.tr-login-intro {
    margin:44px 0 34px;
    color:#fff;
}

.tr-login-intro h1 {
    margin:0 0 10px;
    font-size:34px;
    line-height:1.06;
    letter-spacing:-1px;
}

.tr-login-intro p {
    margin:0;
    color:rgba(255,255,255,.74);
    font-size:15px;
    line-height:1.5;
}

.tr-login-card {
    width:min(100%,430px);
    margin:0 auto;
    background:#fff;
    border-radius:24px;
    padding:24px;
    box-shadow:var(--shadow);
}

.tr-login-card h2 {
    margin:0 0 6px;
    color:var(--navy);
    font-size:21px;
}

.tr-login-card .sub {
    margin:0 0 22px;
    color:var(--muted);
    font-size:14px;
}

.tr-field {
    margin-bottom:16px;
}

.tr-field label {
    display:block;
    margin-bottom:7px;
    font-size:13px;
    font-weight:700;
}

.tr-field input {
    width:100%;
    min-height:49px;
    border:1px solid var(--line);
    border-radius:14px;
    padding:0 14px;
    outline:none;
}

.tr-field input:focus {
    border-color:var(--blue);
    box-shadow:0 0 0 4px rgba(126,194,229,.15);
}

.tr-password-wrap {
    position:relative;
}

.tr-password-wrap input {
    padding-right:65px;
}

.tr-show-password {
    position:absolute;
    top:6px;
    right:6px;
    bottom:6px;
    border:0;
    background:var(--soft);
    color:var(--navy);
    border-radius:9px;
    padding:0 10px;
    font-size:10px;
    font-weight:800;
}

.tr-login-links {
    text-align:right;
    margin:-3px 0 16px;
}

.tr-login-links a {
    color:var(--navy);
    font-size:11px;
    font-weight:700;
}

.tr-login-error {
    margin-top:10px;
    color:var(--red);
    text-align:center;
    font-size:12px;
}

.tr-login-help {
    margin:17px 0 0;
    text-align:center;
    color:var(--muted);
    font-size:11px;
}


/* =========================================================
   INSTALL PWA
   ========================================================= */

.tr-install-banner {
    display:none;
    background:linear-gradient(135deg,var(--gold-soft),#fff);
    border:1px solid rgba(215,180,95,.4);
    border-radius:16px;
    padding:12px;
    margin-bottom:14px;
    align-items:center;
    gap:10px;
    box-shadow:var(--shadow-soft);
}

.tr-install-banner.show {
    display:flex;
}

.tr-install-mini-icon,
.tr-install-icon {
    background:var(--gold);
    color:var(--navy);
    display:grid;
    place-items:center;
    flex:none;
    font-weight:900;
}

.tr-install-mini-icon {
    width:40px;
    height:40px;
    border-radius:12px;
    font-size:11px;
}

.tr-install-banner .copy {
    flex:1;
}

.tr-install-banner strong,
.tr-install-banner span {
    display:block;
}

.tr-install-banner strong {
    color:var(--navy);
    font-size:12px;
}

.tr-install-banner span {
    margin-top:2px;
    color:var(--muted);
    font-size:10px;
}

.tr-install-banner button {
    border:0;
    background:var(--navy);
    color:#fff;
    min-height:34px;
    border-radius:9px;
    padding:0 10px;
    font-size:10px;
    font-weight:800;
}

.tr-install-overlay {
    display:none;
    position:fixed;
    inset:0;
    background:rgba(23,19,75,.45);
    backdrop-filter:blur(4px);
    z-index:100;
    padding:18px;
    align-items:flex-end;
    justify-content:center;
}

.tr-install-overlay.show {
    display:flex;
}

.tr-install-card {
    width:min(100%,420px);
    background:#fff;
    border-radius:22px;
    padding:18px;
    box-shadow:0 30px 90px rgba(20,26,70,.25);
}

.tr-install-top {
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:15px;
}

.tr-install-icon {
    width:56px;
    height:56px;
    border-radius:16px;
}

.tr-install-top .copy {
    flex:1;
}

.tr-install-top strong,
.tr-install-top span {
    display:block;
}

.tr-install-top strong {
    color:var(--navy);
    font-size:15px;
}

.tr-install-top span {
    margin-top:3px;
    color:var(--muted);
    font-size:11px;
    line-height:1.45;
}

.tr-ios-install-help {
    display:none;
    background:var(--soft);
    border:1px solid var(--line);
    border-radius:13px;
    padding:11px;
    margin-bottom:12px;
    font-size:11px;
    line-height:1.5;
}

.tr-ios-install-help.show {
    display:block;
}

.tr-install-later {
    width:100%;
    min-height:40px;
    border:0;
    background:transparent;
    color:var(--muted);
    font-size:11px;
    font-weight:700;
    margin-top:5px;
}


/* =========================================================
   ONLINE BOOKING - FORM CONTROLS
   ========================================================= */

.tr-pwa-booking-form select,
.tr-pwa-booking-form input[type="date"] {
    width:100%;
    min-height:48px;
    padding:0 13px;
    border:1px solid var(--line);
    border-radius:12px;
    background:#fff;
    color:var(--text);
    font-size:13px;
    outline:none;
}

.tr-pwa-booking-form select:focus,
.tr-pwa-booking-form input[type="date"]:focus {
    border-color:var(--blue);
    box-shadow:0 0 0 3px rgba(126,194,229,.14);
}

.tr-pwa-booking-form .error {
    border-color:var(--red) !important;
    box-shadow:0 0 0 3px rgba(217,92,92,.10) !important;
}

.tr-pwa-booking-form {
    position:relative;
}

.tr-pwa-booking-form.is-loading:after {
    content:"";
    position:absolute;
    inset:0;
    border-radius:18px;
    background:rgba(247,248,252,.40);
    pointer-events:none;
    z-index:2;
}


/* =========================================================
   SELECTED BOOKING LOCATION
   ========================================================= */

.tr-booking-location-summary {
    display:flex;
    align-items:center;
    gap:12px;
    position:relative;
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px;
    padding:14px;
    margin-bottom:14px;
    box-shadow:var(--shadow-soft);
}

.tr-booking-location-icon {
    width:52px;
    height:52px;
    flex:0 0 52px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:15px;
    background:linear-gradient(145deg,var(--gold),#e3bf64);
    color:var(--navy);
    font-size:12px;
    font-weight:900;
}

.tr-booking-location-copy {
    flex:1;
    min-width:0;
}

.tr-booking-location-label {
    display:block;
    margin-bottom:3px;
    color:var(--muted);
    font-size:9px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.tr-booking-location-copy strong {
    display:block;
    color:var(--navy);
    font-size:13px;
    line-height:1.35;
}

.tr-booking-location-address {
    display:block;
    margin-top:4px;
    color:var(--muted);
    font-size:10px;
    line-height:1.4;
}

.tr-booking-location-address i {
    margin-right:3px;
    color:var(--gold);
}

.tr-booking-location-actions {
    flex:0 0 auto;
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    justify-content:center;
    gap:5px;
}

.tr-booking-location-selected {
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#eef9f3;
    color:var(--green);
    font-size:12px;
}

.tr-booking-location-change {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:25px;
    padding:0 8px;
    border-radius:7px;
    background:var(--soft);
    color:var(--navy);
    font-size:9px;
    font-weight:800;
}

.tr-booking-location-change:hover {
    background:var(--gold-soft);
    color:var(--navy);
}


/* =========================================================
   LOCATION CHOOSER
   ========================================================= */

.tr-location-chooser {
    background:#fff;
    border:1px solid var(--line);
    border-radius:20px;
    padding:16px;
    box-shadow:var(--shadow-soft);
}

.tr-location-chooser-heading {
    margin-bottom:14px;
}

.tr-location-chooser-eyebrow {
    display:block;
    margin-bottom:4px;
    color:#a17c25;
    font-size:9px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.tr-location-chooser-heading h2 {
    margin:0;
    color:var(--navy);
    font-size:18px;
    line-height:1.25;
}

.tr-location-chooser-heading p {
    margin:5px 0 0;
    color:var(--muted);
    font-size:10px;
    line-height:1.45;
}

.tr-location-list {
    display:flex;
    flex-direction:column;
    gap:8px;
    margin-top:0;
}

.tr-location-row {
    display:flex;
    align-items:center;
    gap:11px;
    min-height:66px;
    padding:10px 12px;
    border:1px solid var(--line);
    border-radius:15px;
    background:#fff;
    color:var(--text);
    text-decoration:none;
    transition:border-color .18s ease,background .18s ease,transform .18s ease;
}

.tr-location-row:hover {
    border-color:rgba(215,180,95,.8);
    background:var(--gold-soft);
    transform:translateY(-1px);
}

.tr-location-row .tr-location-icon {
    width:42px;
    height:42px;
    flex:0 0 42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:var(--gold);
    color:var(--navy);
    font-size:10px;
    font-weight:900;
}

.tr-location-row .copy {
    flex:1;
    min-width:0;
}

.tr-location-row .copy strong {
    display:block;
    color:var(--navy);
    font-size:11px;
    line-height:1.35;
}

.tr-location-row .copy span {
    display:block;
    margin-top:3px;
    color:var(--muted);
    font-size:9px;
}

.tr-location-row .copy span i {
    margin-right:3px;
    color:var(--gold);
}

.tr-location-arrow {
    width:28px;
    height:28px;
    flex:0 0 28px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:9px;
    background:var(--soft);
    color:var(--navy);
    font-size:9px;
}

.tr-location-row:hover .tr-location-arrow {
    background:var(--navy);
    color:#fff;
}


/* =========================================================
   BOOKING STEPS
   ========================================================= */

.tr-booking-step {
    display:flex;
    gap:10px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:13px;
    margin-bottom:10px;
    box-shadow:var(--shadow-soft);
}

.tr-booking-step-number {
    width:27px;
    height:27px;
    flex:none;
    display:grid;
    place-items:center;
    border-radius:9px;
    background:var(--navy);
    color:#fff;
    font-size:10px;
    font-weight:900;
}

.tr-booking-step-body {
    flex:1;
    min-width:0;
}

.tr-booking-step-body > label {
    display:block;
    margin:1px 0 7px;
    color:var(--navy);
    font-size:11px;
    font-weight:900;
}

.tr-booking-price-inline {
    margin-top:7px;
    color:var(--muted);
    font-size:10px;
}

.tr-booking-price-inline strong {
    color:var(--navy);
}

.tr-booking-hidden-select {
    position:absolute !important;
    width:1px !important;
    height:1px !important;
    opacity:0 !important;
    pointer-events:none !important;
}


/* =========================================================
   AVAILABLE TIMES
   ========================================================= */

.tr-time-grid-wrap {
    width:100%;
}

.tr-time-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:7px;
}

.tr-time-button {
    min-height:40px;
    border:1px solid var(--line);
    border-radius:10px;
    background:var(--soft);
    color:var(--navy);
    font-size:11px;
    font-weight:850;
    transition:.15s ease;
}

.tr-time-button:hover {
    border-color:rgba(32,28,90,.25);
}

.tr-time-button.active {
    background:var(--navy);
    border-color:var(--navy);
    color:#fff;
    box-shadow:0 6px 15px rgba(32,28,90,.16);
}

.tr-booking-placeholder,
.tr-booking-message {
    border:1px dashed var(--line);
    border-radius:11px;
    padding:12px;
    background:var(--soft);
    color:var(--muted);
    font-size:10px;
    line-height:1.45;
    text-align:center;
}

.tr-booking-message.danger {
    border-style:solid;
    border-color:rgba(217,92,92,.22);
    background:#fff6f6;
    color:var(--red);
}


/* =========================================================
   RECURRING BOOKING
   ========================================================= */

.tr-recurring-card,
.tr-booking-summary-card {
    background:#fff;
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:13px;
    margin-bottom:10px;
    box-shadow:var(--shadow-soft);
}

.tr-recurring-toggle {
    display:flex;
    align-items:center;
    gap:10px;
    margin:0;
    cursor:pointer;
}

.tr-recurring-toggle > div {
    flex:1;
}

.tr-recurring-toggle strong,
.tr-recurring-toggle span {
    display:block;
}

.tr-recurring-toggle strong {
    color:var(--navy);
    font-size:11px;
}

.tr-recurring-toggle > div span {
    margin-top:2px;
    color:var(--muted);
    font-size:9px;
}

.tr-recurring-toggle input {
    position:absolute;
    opacity:0;
    pointer-events:none;
}

.tr-toggle-ui {
    width:40px;
    height:23px;
    position:relative;
    flex:none;
    border-radius:999px;
    background:#dfe3ee;
    transition:.2s;
}

.tr-toggle-ui:before {
    content:"";
    position:absolute;
    width:17px;
    height:17px;
    left:3px;
    top:3px;
    border-radius:50%;
    background:#fff;
    box-shadow:0 2px 6px rgba(20,26,70,.16);
    transition:.2s;
}

.tr-recurring-toggle input:checked + .tr-toggle-ui {
    background:var(--green);
}

.tr-recurring-toggle input:checked + .tr-toggle-ui:before {
    transform:translateX(17px);
}

.tr-recurring-fields {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:7px;
    margin-top:11px;
}

.tr-recurring-response {
    display:none;
    margin-top:10px;
}

.tr-recurring-response ul {
    list-style:none;
    padding:0;
    margin:0;
}

.tr-recurring-response li {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    padding:8px 0;
    border-bottom:1px solid var(--line);
    color:var(--text);
    font-size:9px;
}

.tr-recurring-response li:last-child {
    border-bottom:0;
}

.tr-recurring-response .book_roomsan {
    flex:none;
    position:static;
    max-width:none;
    padding:4px 7px;
    border-radius:999px;
    color:#fff;
    font-size:8px;
}

.tr-recurring-response .bookavilbl {
    background:var(--green);
}

.tr-recurring-response .booknot_avilbl {
    background:var(--red);
}


/* =========================================================
   BOOKING SUMMARY
   ========================================================= */

.tr-booking-summary-row {
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:15px;
    padding:8px 0;
    border-bottom:1px solid var(--line);
    font-size:10px;
}

.tr-booking-summary-row span {
    color:var(--muted);
}

.tr-booking-summary-row strong {
    max-width:70%;
    color:var(--navy);
    text-align:right;
    line-height:1.4;
}

.tr-booking-summary-row.total {
    border-bottom:0;
    padding-bottom:0;
    font-size:13px;
}

.tr-booking-summary-row.total strong {
    font-size:14px;
}

.tr-credit-note {
    margin:-1px 0 11px;
    padding:10px 12px;
    border-radius:11px;
    background:var(--gold-soft);
    color:#7d6426;
    font-size:9px;
    text-align:center;
}

.tr-booking-reserve-button {
    width:100%;
    min-height:52px;
    border:0;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    font-size:11px;
}

.tr-booking-reserve-button span {
    opacity:.85;
}


/* =========================================================
   TABLET / DESKTOP
   ========================================================= */

@media(min-width:760px) {

    .tr-app {
        max-width:760px;
        margin:0 auto;
        box-shadow:0 0 60px rgba(20,26,70,.08);
    }

    .tr-app-bottom-nav {
        max-width:760px;
        left:50%;
        transform:translateX(-50%);
    }

    .tr-login-screen {
        display:flex;
        flex-direction:column;
        align-items:center;
    }

    .tr-login-brand,
    .tr-login-intro {
        width:min(100%,430px);
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:520px) {

    .tr-app-header {
        padding:16px 18px 38px;
    }

    .tr-app-header-copy {
        margin-top:24px;
    }

    .tr-app-header-copy h1 {
        font-size:27px;
    }

    .tr-app-main {
        padding-left:10px;
        padding-right:10px;
    }

    .tr-booking-location-summary {
        padding:12px;
    }

    .tr-booking-location-icon {
        width:46px;
        height:46px;
        flex-basis:46px;
        border-radius:13px;
    }

    .tr-booking-location-copy strong {
        font-size:12px;
    }

    .tr-booking-location-actions {
        gap:4px;
    }

    .tr-location-chooser {
        padding:13px;
    }

    .tr-location-row {
        padding:10px;
    }

    .tr-booking-step {
        padding:12px;
    }
}

@media(max-width:380px) {

    .tr-time-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .tr-recurring-fields {
        grid-template-columns:1fr;
    }

    .tr-booking-location-summary {
        gap:9px;
    }

    .tr-booking-location-icon {
        width:42px;
        height:42px;
        flex-basis:42px;
    }

    .tr-booking-location-change {
        padding:0 6px;
    }
}


/* =========================================================
   PWA BOOKING SUMMARY / CHECKOUT
   ========================================================= */

.tr-summary-app {
    min-height:100vh;
    background:var(--soft);
    padding-bottom:35px;
}

.tr-summary-header {
    background:linear-gradient(145deg,var(--navy),var(--navy2));
    color:#fff;
    padding:16px 18px 42px;
}

.tr-summary-topbar {
    display:grid;
    grid-template-columns:40px 1fr auto;
    align-items:center;
    gap:10px;
}

.tr-summary-back {
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(255,255,255,.14);
    border-radius:12px;
    background:rgba(255,255,255,.08);
    color:#fff;
    font-size:20px;
    line-height:1;
}

.tr-summary-brand {
    display:flex;
    align-items:center;
    gap:8px;
    color:#fff;
    font-size:13px;
    font-weight:800;
}

.tr-summary-brand .tr-app-brand-mark {
    width:32px;
    height:32px;
    border-radius:10px;
    font-size:11px;
}

.tr-summary-secure {
    padding:6px 8px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:999px;
    background:rgba(255,255,255,.07);
    color:rgba(255,255,255,.82);
    font-size:8px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.05em;
}

.tr-summary-header-copy {
    margin-top:23px;
}

.tr-summary-header-copy > span {
    display:block;
    color:rgba(255,255,255,.58);
    font-size:9px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.1em;
}

.tr-summary-header-copy h1 {
    margin:5px 0 5px;
    font-size:27px;
    line-height:1.15;
    letter-spacing:-.5px;
}

.tr-summary-header-copy p {
    margin:0;
    color:rgba(255,255,255,.72);
    font-size:11px;
    line-height:1.5;
}

.tr-summary-main {
    width:min(100%,600px);
    margin:-20px auto 0;
    padding:0 10px;
}

.tr-summary-card {
    margin-bottom:10px;
    padding:14px;
    border:1px solid var(--line);
    border-radius:var(--radius);
    background:#fff;
    box-shadow:var(--shadow-soft);
}

.tr-summary-alert {
    margin-bottom:10px;
    padding:11px 13px;
    border-radius:12px;
    font-size:10px;
    font-weight:700;
    line-height:1.45;
}

.tr-summary-alert.danger {
    border:1px solid rgba(217,92,92,.2);
    background:#fff4f4;
    color:var(--red);
}

.tr-summary-location-card {
    display:flex;
    align-items:center;
    gap:11px;
}

.tr-summary-location-mark {
    width:46px;
    height:46px;
    flex:0 0 46px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:13px;
    background:var(--gold);
    color:var(--navy);
    font-size:10px;
    font-weight:900;
}

.tr-summary-location-copy {
    flex:1;
    min-width:0;
}

.tr-summary-location-copy strong,
.tr-summary-location-copy span {
    display:block;
}

.tr-summary-location-copy strong {
    color:var(--navy);
    font-size:12px;
    line-height:1.35;
}

.tr-summary-location-copy > span:last-child {
    margin-top:3px;
    color:var(--muted);
    font-size:9px;
}

.tr-summary-eyebrow {
    display:block;
    margin-bottom:3px;
    color:var(--muted);
    font-size:8px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.tr-summary-check {
    width:28px;
    height:28px;
    flex:0 0 28px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#eef9f3;
    color:var(--green);
    font-size:11px;
    font-weight:900;
}

.tr-summary-card-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:9px;
}

.tr-summary-card-heading.simple {
    justify-content:flex-start;
}

.tr-summary-card-heading h2 {
    margin:0;
    color:var(--navy);
    font-size:15px;
    line-height:1.25;
}

.tr-summary-edit {
    min-height:28px;
    padding:0 9px;
    border:0;
    border-radius:8px;
    background:var(--soft);
    color:var(--navy);
    font-size:9px;
    font-weight:800;
}

.tr-summary-details {
    border-top:1px solid var(--line);
}

.tr-summary-detail-row {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:15px;
    padding:8px 0;
    border-bottom:1px solid var(--line);
    font-size:10px;
}

.tr-summary-detail-row span {
    color:var(--muted);
}

.tr-summary-detail-row strong {
    max-width:70%;
    color:var(--navy);
    text-align:right;
    line-height:1.4;
}

.tr-summary-total {
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:15px;
    padding-top:13px;
}

.tr-summary-total div span,
.tr-summary-total div strong {
    display:block;
}

.tr-summary-total div span {
    margin-bottom:2px;
    color:var(--muted);
    font-size:8px;
}

.tr-summary-total div strong {
    color:var(--navy);
    font-size:12px;
}

.tr-summary-total b {
    color:var(--navy);
    font-size:20px;
}

.tr-summary-recurring {
    margin-top:10px;
    padding:10px;
    border-radius:12px;
    background:var(--soft);
}

.tr-summary-recurring-heading {
    margin-bottom:5px;
    color:var(--navy);
    font-size:9px;
    font-weight:900;
}

.tr-summary-recurring-row {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:7px 0;
    border-bottom:1px solid var(--line);
}

.tr-summary-recurring-row:last-child {
    border-bottom:0;
}

.tr-summary-recurring-row div strong,
.tr-summary-recurring-row div span {
    display:block;
}

.tr-summary-recurring-row div strong {
    color:var(--navy);
    font-size:9px;
}

.tr-summary-recurring-row div span {
    margin-top:2px;
    color:var(--muted);
    font-size:8px;
}

.tr-summary-status {
    flex:none;
    padding:5px 7px;
    border-radius:999px;
    font-size:7px;
    font-weight:900;
}

.tr-summary-status.available {
    background:#edf8f2;
    color:var(--green);
}

.tr-summary-status.unavailable {
    background:#fff1f1;
    color:var(--red);
}

.tr-summary-help {
    margin:-2px 0 11px;
    color:var(--muted);
    font-size:9px;
    line-height:1.45;
}

.tr-summary-field {
    margin-bottom:12px;
}

.tr-summary-field:last-child {
    margin-bottom:0;
}

.tr-summary-field label {
    display:block;
    margin-bottom:5px;
    color:var(--navy);
    font-size:9px;
    font-weight:800;
}

.tr-summary-field input,
.tr-summary-field textarea {
    width:100%;
    border:1px solid var(--line);
    border-radius:11px;
    background:#fff;
    color:var(--text);
    font-size:11px;
    outline:none;
}

.tr-summary-field input {
    min-height:44px;
    padding:0 11px;
}

.tr-summary-field textarea {
    min-height:80px;
    padding:10px 11px;
    resize:vertical;
}

.tr-summary-field input:focus,
.tr-summary-field textarea:focus {
    border-color:var(--blue);
    box-shadow:0 0 0 3px rgba(126,194,229,.14);
}

.tr-summary-tag-grid {
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    max-height:175px;
    overflow:auto;
}

.tr-summary-tag {
    position:relative;
}

.tr-summary-tag input {
    position:absolute;
    opacity:0;
    pointer-events:none;
}

.tr-summary-tag span {
    display:flex;
    align-items:center;
    min-height:30px;
    padding:0 9px;
    border:1px solid var(--line);
    border-radius:999px;
    background:var(--soft);
    color:var(--muted);
    font-size:8px;
    font-weight:700;
}

.tr-summary-tag input:checked + span {
    border-color:rgba(215,180,95,.65);
    background:var(--gold-soft);
    color:var(--navy);
    font-weight:900;
}

.tr-summary-checkbox {
    display:flex;
    align-items:flex-start;
    gap:9px;
    margin-bottom:12px;
    cursor:pointer;
}

.tr-summary-checkbox:last-child {
    margin-bottom:0;
}

.tr-summary-checkbox > input {
    position:absolute;
    opacity:0;
    pointer-events:none;
}

.tr-summary-checkbox-ui {
    width:21px;
    height:21px;
    flex:0 0 21px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid var(--line);
    border-radius:7px;
    background:#fff;
    color:transparent;
    font-size:9px;
    font-weight:900;
}

.tr-summary-checkbox input:checked + .tr-summary-checkbox-ui {
    border-color:var(--green);
    background:var(--green);
    color:#fff;
}

.tr-summary-checkbox-copy {
    flex:1;
    min-width:0;
}

.tr-summary-checkbox-copy strong,
.tr-summary-checkbox-copy small {
    display:block;
}

.tr-summary-checkbox-copy strong {
    color:var(--navy);
    font-size:10px;
}

.tr-summary-checkbox-copy small {
    margin-top:2px;
    color:var(--muted);
    font-size:8px;
    line-height:1.45;
}

.tr-summary-checkbox-copy a {
    color:var(--navy);
    font-weight:800;
}

.tr-summary-payment-options {
    display:grid;
    gap:7px;
}

.tr-summary-payment-option {
    position:relative;
    display:flex;
    align-items:center;
    gap:10px;
    min-height:56px;
    padding:10px;
    border:1px solid var(--line);
    border-radius:12px;
    background:#fff;
    cursor:pointer;
}

.tr-summary-payment-option > input {
    position:absolute;
    opacity:0;
    pointer-events:none;
}

.tr-summary-payment-radio {
    width:20px;
    height:20px;
    flex:0 0 20px;
    position:relative;
    border:2px solid #d8dbe5;
    border-radius:50%;
}

.tr-summary-payment-option input:checked + .tr-summary-payment-radio {
    border-color:var(--navy);
}

.tr-summary-payment-option input:checked + .tr-summary-payment-radio:after {
    content:"";
    position:absolute;
    inset:4px;
    border-radius:50%;
    background:var(--navy);
}

.tr-summary-payment-option:has(input:checked) {
    border-color:rgba(32,28,90,.35);
    background:var(--soft-blue);
}

.tr-summary-payment-copy {
    flex:1;
}

.tr-summary-payment-copy strong,
.tr-summary-payment-copy small {
    display:block;
}

.tr-summary-payment-copy strong {
    color:var(--navy);
    font-size:10px;
}

.tr-summary-payment-copy small {
    margin-top:2px;
    color:var(--muted);
    font-size:8px;
    line-height:1.4;
}

.tr-summary-card-payment {
    display:none;
    margin-top:4px;
    padding:10px;
    border:1px solid var(--line);
    border-radius:12px;
    background:var(--soft);
}

.tr-summary-card-payment > label {
    display:block;
    margin-bottom:6px;
    color:var(--navy);
    font-size:9px;
    font-weight:800;
}

#card-element {
    min-height:46px;
    padding:14px 12px;
    border:1px solid var(--line);
    border-radius:10px;
    background:#fff;
}

.tr-summary-credit-link {
    display:inline-block;
    margin-top:10px;
    color:#94701d;
    font-size:8px;
    font-weight:800;
}

.tr-summary-terms-card {
    padding-bottom:12px;
}

.tr-summary-submit-wrap {
    margin-top:3px;
}

.tr-summary-confirm {
    min-height:54px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:0 16px;
}

.tr-summary-confirm > span {
    font-size:11px;
}

.tr-summary-confirm > strong {
    font-size:12px;
}

.tr-summary-confirm:disabled {
    opacity:.55;
    cursor:not-allowed;
}

.tr-summary-processing {
    min-height:62px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:11px;
    padding:10px;
    border:1px solid var(--line);
    border-radius:14px;
    background:#fff;
    box-shadow:var(--shadow-soft);
}

.tr-summary-processing div strong,
.tr-summary-processing div span {
    display:block;
}

.tr-summary-processing div strong {
    color:var(--navy);
    font-size:10px;
}

.tr-summary-processing div span {
    margin-top:2px;
    color:var(--muted);
    font-size:8px;
}

.tr-summary-spinner {
    width:22px;
    height:22px;
    border:3px solid var(--line);
    border-top-color:var(--navy);
    border-radius:50%;
    animation:tr-summary-spin .7s linear infinite;
}

@keyframes tr-summary-spin {
    to {
        transform:rotate(360deg);
    }
}

.tr-summary-unavailable {
    padding:25px 18px;
    text-align:center;
}

.tr-summary-unavailable-icon {
    width:44px;
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 10px;
    border-radius:14px;
    background:#fff2f2;
    color:var(--red);
    font-size:18px;
    font-weight:900;
}

.tr-summary-unavailable > strong,
.tr-summary-unavailable > span {
    display:block;
}

.tr-summary-unavailable > strong {
    color:var(--navy);
    font-size:13px;
}

.tr-summary-unavailable > span {
    margin:5px 0 15px;
    color:var(--muted);
    font-size:9px;
    line-height:1.5;
}

.tr-summary-unavailable .tr-primary-button {
    min-height:45px;
    font-size:10px;
}

@media(min-width:760px) {

    .tr-summary-app {
        max-width:760px;
        margin:0 auto;
        box-shadow:0 0 60px rgba(20,26,70,.08);
    }
}

@media(max-width:380px) {

    .tr-summary-header {
        padding-left:14px;
        padding-right:14px;
    }

    .tr-summary-main {
        padding-left:8px;
        padding-right:8px;
    }

    .tr-summary-header-copy h1 {
        font-size:24px;
    }

    .tr-summary-secure {
        display:none;
    }

    .tr-summary-topbar {
        grid-template-columns:40px 1fr;
    }
}

.tr-booking-success-message {
    display:flex;
    align-items:center;
    gap:11px;
    margin-bottom:14px;
    padding:13px;
    border:1px solid rgba(74,167,122,.2);
    border-radius:15px;
    background:#f1faf5;
    box-shadow:var(--shadow-soft);
}

.tr-booking-success-message .icon {
    width:36px;
    height:36px;
    flex:0 0 36px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--green);
    color:#fff;
    font-size:14px;
    font-weight:900;
}

.tr-booking-success-message div {
    flex:1;
}

.tr-booking-success-message strong,
.tr-booking-success-message div span {
    display:block;
}

.tr-booking-success-message strong {
    color:var(--navy);
    font-size:11px;
}

.tr-booking-success-message div span {
    margin-top:2px;
    color:var(--muted);
    font-size:9px;
}

.tr-booking-fail-message {
    display:flex;
    align-items:center;
    gap:11px;
    margin-bottom:14px;
    padding:13px;
    border:1px solid rgba(217,92,92,.18);
    border-radius:15px;
    background:#fff5f5;
    box-shadow:var(--shadow-soft);
}

.tr-booking-fail-message .icon {
    width:36px;
    height:36px;
    flex:0 0 36px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--red);
    color:#fff;
    font-size:14px;
    font-weight:900;
}

.tr-booking-fail-message div {
    flex:1;
}

.tr-booking-fail-message strong,
.tr-booking-fail-message div span {
    display:block;
}

.tr-booking-fail-message strong {
    color:var(--navy);
    font-size:11px;
}

.tr-booking-fail-message div span {
    margin-top:2px;
    color:var(--muted);
    font-size:9px;
}


