/* ==========================================================
   CarFest 2026 — header theme for MyCarPass tenant navbar
   Targets the existing Bootstrap 5 markup, no HTML changes.
   ========================================================== */

/* ---- Navbar background: icy blue fading to warm cream ----
   .bg-white sets background-color with !important, but an opaque
   background-image paints on top of background-color, so the
   gradient wins without needing !important here. */

.back-to-background {
    background:#cfe8ef;
}

#mainNav.navbar {
    background-image: linear-gradient(180deg,
    #cfe8ef 0%,
    #d9edf2 50%,
    #eef6f8 100%);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border: none;
    box-shadow: none;
    font-family: "futura-pt", "Poppins", "Segoe UI", Arial, sans-serif;
    position: sticky;
    top: 0;
    z-index: 1030; /* Bootstrap's $zindex-sticky, sits above cards/hero */
}
#mainNav.navbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 32px;
    background: linear-gradient(180deg,
    #eef6f8 0%,
    rgba(238, 246, 248, 0.5) 40%,
    rgba(238, 246, 248, 0) 100%);
    pointer-events: none;
}
/* On smaller screens keep the expanded menu usable if it's taller
   than the viewport */
@media (max-width: 1199.98px) {
    #mainNav .navbar-collapse {
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }
}

ul#inner-header-menu {
    margin-top:0px;
}

ul#inner-header-menu li.nav-item:last-child a.nav-link {
    display: inline-flex;
    align-items: center;
    background-color: #d9edf2;
    border: 3px solid #1f2a4c;
    border-radius: 8px;
    padding: 1.25rem 1.15rem;
    color: #1f2a4c;
    line-height: 1;
    transition: background-color 0.15s ease;
}

ul#inner-header-menu li.nav-item:last-child a.nav-link::after {
    content: "";
    width: 0.55em;
    height: 0.55em;
    border-right: 0.2em solid #557d99;
    border-bottom: 0.2em solid #557d99;
    transform: rotate(-45deg);
    margin-left: 0.7rem;
    flex-shrink: 0;
}
ul#inner-header-menu li.nav-item:last-child:hover {
    text-decoration: none;
}
ul#inner-header-menu li.nav-item:last-child a.nav-link:hover {
    color:#fff;
    background:#000;
    text-decoration: none;
}
ul.auth-links.navbar-nav.ms-auto {
    display: none;
}

/* ---- Logo ---- */
#mainNav .navbar-brand {
    padding: 0;
    margin-right: 2rem;
}

#mainNav #sitelogo {
    height: 96px;
    width: auto;
}

/* ---- Push the main menu to the right ----
   The ul carries .me-auto (margin-right: auto !important), which
   pins it left. !important is unavoidable to overcome the utility. */
#mainNav #inner-header-menu {
    margin-left: auto !important;
    margin-right: 0 !important;
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

/* ---- Nav links: uppercase, bold, navy ---- */
#mainNav .navbar-nav .nav-link {
    color: #223a5e;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.25rem 0;
    white-space: nowrap;
}

#mainNav .navbar-nav .nav-link:hover,
#mainNav .navbar-nav .nav-link:focus,
#mainNav .navbar-nav .nav-link.active {
    color: #0f1f3d;
}

/* ---- Triangle separators between menu items ---- */
#mainNav #inner-header-menu .nav-item {
    display: flex;
    align-items: center;
}

#mainNav #inner-header-menu .nav-item:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 10px solid #5b87a5;
    margin-left: 0.25rem;
}

ul#inner-header-menu li {
    border-right:none;
}

/* ---- Auth dropdown (right side) ---- */
#mainNav .auth-links {
    margin-left: 2rem !important; /* .ms-auto also uses !important */
}

#mainNav .auth-links .nav-link svg {
    margin-right: 0.35rem;
    vertical-align: -0.15em;
}

#mainNav .dropdown-menu {
    background-color: #ffffff;
    border: 1px solid rgba(34, 58, 94, 0.15);
    border-radius: 0.5rem;
    box-shadow: 0 8px 24px rgba(15, 31, 61, 0.12);
}

#mainNav .dropdown-item {
    color: #223a5e;
    font-weight: 500;
}

#mainNav .dropdown-item:hover,
#mainNav .dropdown-item:focus {
    background-color: #d9edf2;
    color: #0f1f3d;
}

#mainNav .dropdown-item svg {
    width: 1em;
    margin-right: 0.4rem;
    vertical-align: -0.125em;
}

/* ---- Mobile toggler on the light background ---- */
#mainNav .navbar-toggler {
    border-color: rgba(34, 58, 94, 0.3);
}

#mainNav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23223a5e' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---- Collapsed (below xl): stack cleanly, drop the arrows ---- */
@media (max-width: 1199.98px) {
    #mainNav #inner-header-menu {
        display: block;
        margin-top: 1rem;
    }

    #mainNav #inner-header-menu .nav-item::after {
        content: none;
        display: none;
    }

    #mainNav #inner-header-menu .nav-link {
        padding: 0.5rem 0;
    }

    #mainNav #sitelogo {
        height: 64px;
    }

    #mainNav .auth-links {
        margin-left: 0 !important;
    }
}

/* ==========================================================
   Homepage — hero banner + events list
   ========================================================== */

/* Empty white spacer container at the top of <main> — collapse it */
#main-container.bg-white {
    padding-top: 0;
    padding-bottom: 0;
}

/* ---- Hero banner ----
   Loud navy hero with radial colour glows pulled from the
   CarFest logo palette (sky blue, pink). When you get the
   official hero image, replace the background-image stack with:

   background-image:
       linear-gradient(rgba(31, 42, 76, 0.55), rgba(31, 42, 76, 0.75)),
       url("https://assets.all-parking.co.uk/tenant_12/.../hero.jpg");
   background-size: cover;
   background-position: center;
*/
.home-banner {
    background-color: #1f2a4c;
    background-image:
        radial-gradient(640px 320px at 88% 15%, rgba(74, 184, 232, 0.35), transparent 70%),
        radial-gradient(560px 340px at 72% 95%, rgba(224, 69, 123, 0.30), transparent 70%),
        radial-gradient(420px 260px at 15% 110%, rgba(245, 166, 35, 0.18), transparent 70%),
        linear-gradient(180deg, #24365f 0%, #1f2a4c 100%);
    padding: 6rem 0 7rem;
    position: relative;
    overflow: hidden;
    margin-bottom:50px;
}

.welcome-title {
    font-family: "futura-pt", "Poppins", "Segoe UI", Arial, sans-serif;
    color: #ffffff;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin: 0;
}

/* Pink accent bar under the title — echoes the logo's umbrella pink */
.welcome-title::after {
    content: "";
    display: block;
    width: 130px;
    height: 10px;
    border-radius: 5px;
    background-color: #e0457b;
    margin-top: 1.75rem;
}

/* ---- Events list section ---- */
#main-inner-events-list {

}

#main-inner-events-list h2 {
    font-family: "futura-pt", "Poppins", "Segoe UI", Arial, sans-serif;
    color: #1f2a4c;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin-bottom: 1.25rem;
}

#main-inner-events-list .silverstone-font {
    font-family: "futura-pt", "Poppins", "Segoe UI", Arial, sans-serif;
    color: #44506b;
    font-size: 1.125rem;
    line-height: 1.65;
    max-width: 62ch;
    margin-bottom: 2.5rem;
}

/* Legacy spacing utility used on the events row */
.margin-bottom-52 {
    margin-bottom: 52px;
}

/* ---- Event cards ---- */
#main-inner-events-list .card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 6px 20px rgba(31, 42, 76, 0.10);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: #ffffff;
}

#main-inner-events-list .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(31, 42, 76, 0.18);
}

/* Keep image heights uniform across cards, incl. the SVG placeholder */
#main-inner-events-list .card-img-top {
    aspect-ratio: 3 / 2;
    width: 100%;
    object-fit: cover;
    background-color: #d9edf2;
}

#main-inner-events-list .card-body {
    padding: 1.25rem 1.25rem 0.5rem;
}

#main-inner-events-list .card-title {
    font-family: "futura-pt", "Poppins", "Segoe UI", Arial, sans-serif;
    color: #1f2a4c;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin-bottom: 0.5rem;
}

/* Utility used on the title */
.text-bold {
    font-weight: 700;
}

#main-inner-events-list .card-text {
    color: #44506b;
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 0;
}

#main-inner-events-list .card-footer {
    padding: 0.75rem 1.25rem 1.25rem;
}

/* Date row: calendar icon + dates */
#main-inner-events-list .event_dates {
    color: #1f2a4c;
    font-size: 0.9rem;
    font-weight: 600;
}

#main-inner-events-list .event_dates svg {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    margin-right: 0.4rem;
    color: #e0457b;
}

/* Main CTA button — steel blue, black outer + pale blue inner border,
   white chevron on the right (added via ::after, no HTML change) */
.silverstone-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #557d99;
    border: 3px solid #0d0d0d;
    box-shadow: inset 0 0 0 3px #b9d7e6;
    border-radius: 14px;
    color: #ffffff;
    font-family: "futura-pt", "Poppins", "Segoe UI", Arial, sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.85rem 1.4rem;
    transition: background-color 0.15s ease;
}

.silverstone-button::after {
    content: "";
    width: 0.7em;
    height: 0.7em;
    border-right: 0.22em solid #ffffff;
    border-bottom: 0.22em solid #ffffff;
    transform: rotate(-45deg);
    flex-shrink: 0;
    margin-left: 0.75rem;
}

.silverstone-button:hover,
.silverstone-button:focus {
    background-color: #b9d7e6;
    color: #557d99 !important;
}
.silverstone-button:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 3px #b9d7e6, 0 0 0 0.25rem rgba(85, 125, 153, 0.4);
}

/* ---- Mobile ---- */
@media (max-width: 767.98px) {
    .home-banner {
        padding: 4rem 0 4.5rem;
    }

    #main-inner-events-list {
        padding-top: 3rem;
    }
}

/* ==========================================================
   Step 1 — order lookup form
   ========================================================== */

/* Intro line above the form */
.to-register {
    font-size: 1.125rem;
    color: #44506b;
    margin-bottom: 1.5rem;
}

/* Legacy spacing utility on the row */
.margin-bottom-40 {
    margin-bottom: 40px;
}

/* ---- Form table as a soft card ---- */
.silverstone-form-one {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(31, 42, 76, 0.10);
    margin-bottom: 1.5rem;
}

/* Header band — navy, echoes the hero */
.silverstone-form-one thead.bg-blue {
    background-color: #1f2a4c;
}

.silverstone-form-one thead th {
    font-family: "futura-pt", "Poppins", "Segoe UI", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 1rem;
    padding: 0.9rem 1.25rem;
}

/* Body rows */
.silverstone-form-one tbody td {
    padding: 0.9rem 1.25rem;
    vertical-align: middle;
    background-color: #ffffff;
}

/* Alternate row tint — icy blue instead of grey, stays on brand */
.silverstone-form-one tr.bg-light-grey td {
    background-color: #eef6f8;
}

/* Field labels */
.silverstone-form-one .silverstone-font {
    color: #1f2a4c;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ---- Inputs ---- */
.silverstone-form .form-control {
    border: 2px solid #c9d3de;
    border-radius: 0.5rem;
    padding: 0.55rem 0.85rem;
    color: #1f2a4c;
    background-color: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.silverstone-form .form-control:focus {
    border-color: #557d99;
    box-shadow: 0 0 0 0.2rem rgba(85, 125, 153, 0.25);
    outline: none;
}

/* Invalid state after user interaction (pairs with `required`) */
.silverstone-form .form-control:user-invalid {
    border-color: #e0457b;
}

/* Give the floated Next button breathing room below the table */
.silverstone-form .silverstone-button.float-end {
    min-width: 160px;
    margin-bottom: 2rem;
}
/* Intro line above the form — icy blue callout */
.to-register {
    background-color: #d9edf2;
    border-left: 6px solid #557d99;
    border-radius: 0 0.75rem 0.75rem 0;
    color: #1f2a4c;
    font-size: 1.1rem;
    line-height: 1.6;
    padding: 1.1rem 1.4rem;
    margin-bottom: 2rem;
}
/* ---- Step 1 sidebar images ---- */
.step_1_image {
    display: block;
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 6px 20px rgba(31, 42, 76, 0.10);
    object-fit: cover;
    aspect-ratio: 3 / 2;
}

.step_1_image + .step_1_image {
    margin-top: 1.5rem;
}

/* Stacked under the form on mobile — add top gap and tighten spacing */
@media (max-width: 767.98px) {
    .step_1_image:first-of-type {
        margin-top: 2rem;
    }

    .step_1_image + .step_1_image {
        margin-top: 1rem;
    }
}

/* ==========================================================
   Step 2 — order summary + vehicle registration
   ========================================================== */

.step-two-content {
    padding-top: 2rem;
}

.step-two-content .silverstone-font {
    color: #44506b;
    font-size: 1.1rem;
    line-height: 1.65;
}

/* ---- Both tables share the card look from step 1 ---- */
.step-two-table {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(31, 42, 76, 0.10);
    background-color: #ffffff;
    margin-bottom: 1.5rem;
}

.step-two-table thead.bg-blue {
    background-color: #1f2a4c;
}

.step-two-table thead th {
    font-family: "futura-pt", "Poppins", "Segoe UI", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 0.95rem;
    padding: 0.85rem 1.1rem;
}

.step-two-table tbody td {
    padding: 0.7rem 1.1rem;
    vertical-align: middle;
    color: #1f2a4c;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ---- Readonly fields: display values, not editable-looking boxes ---- */
.step-two-table .form-control[readonly] {
    background-color: #eef6f8;
    border: none;
    border-radius: 0.5rem;
    color: #1f2a4c;
    font-weight: 600;
    cursor: default;
    box-shadow: none;
}

.step-two-table .form-control[readonly]:focus {
    box-shadow: none;
    border: none;
}

/* ---- VRM input: UK number-plate look ----
   bg-warning/border-dark come from the markup; we add the plate
   typography on top */
.step-two-table .no-spaces.form-control {
    font-family: "Arial Black", "Arial Bold", Arial, sans-serif;
    font-size: 1.15rem;
    text-align: center;
    letter-spacing: 0.12em;
    border-radius: 0.4rem;
    border-width: 2px;
    padding: 0.45rem 0.6rem;
    max-width: 200px;
}

.step-two-table .no-spaces.form-control::placeholder {
    font-family: "futura-pt", "Poppins", "Segoe UI", Arial, sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    font-weight: 600;
    color: rgba(31, 42, 76, 0.55);
    text-transform: none;
}

.step-two-table .no-spaces.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.4);
}

/* ---- Note row under the product ---- */
.choose-products tbody tr:last-child td {
    background-color: #eef6f8;
    color: #44506b;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.85rem 1.1rem;
}

/* ---- Decorative arrow between the two columns ---- */
.arrow-right {

    display: none !important;
}

/* ---- Complete Parking button sizing ---- */
.step-two-content .silverstone-button {
    min-width: 240px;
}

/* ---- Mobile ---- */
@media (max-width: 767.98px) {
    .step-two-content .silverstone-button {
        width: 100%;
        min-width: 0;
    }
}

/* ==========================================================
   Step 2 — multi-vehicle day selector
   ========================================================== */

/* ---- Note rows (replace the earlier tr:last-child rule) ----
   Note rows are the only <tr>s with no data-row-id, no
   data-product-group-id and no class — select by elimination */
.choose-products tbody tr:not([data-row-id]):not([data-product-group-id]) td {
    background-color: #eef6f8;
    color: #44506b;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.85rem 1.1rem;
}

/* ---- Product name cells stand out from child rows ---- */
.choose-products tbody tr[data-row-id] > td:first-child {
    font-weight: 700;
    color: #1f2a4c;
}

/* ---- Radio row: "multiple vehicles" choice strip ----
   Radio rows have data-row-id but no data-product-group-id */
.choose-products tr.bg-transparent[data-row-id]:not([data-product-group-id]) td {
    padding: 0.9rem 1.1rem 0.75rem;
    background-color: #ffffff;
    border-top: 1px dashed #c9d3de;
}

.choose-products .form-check-inline {
    margin-right: 2rem;
    margin-bottom: 0.25rem;
}

.choose-products .form-check-input {
    width: 1.15em;
    height: 1.15em;
    border: 2px solid #557d99;
    margin-top: 0.15em;
    cursor: pointer;
}

.choose-products .form-check-input:checked {
    background-color: #557d99;
    border-color: #557d99;
}

.choose-products .form-check-input:focus {
    border-color: #557d99;
    box-shadow: 0 0 0 0.2rem rgba(85, 125, 153, 0.25);
}

.choose-products .form-check-label {
    color: #1f2a4c;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}

/* ---- Per-day child rows: indented with a steel-blue spine ----
   These carry data-product-group-id, revealed when "multiple
   vehicles" is selected */
.choose-products tr[data-product-group-id] td {
    background-color: #f7fbfc;
    font-weight: 500;
    font-size: 0.9rem;
    color: #44506b;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.choose-products tr[data-product-group-id] td:first-child {
    border-left: 4px solid #557d99;
    padding-left: 1.5rem;
}

/* Day rows: slightly smaller plates, right-aligned on desktop */
.choose-products tr[data-product-group-id] .no-spaces.form-control {
    font-size: 1rem;
    max-width: 170px;
}

/* ==========================================================
   Step 3 — thank you / confirmation page
   ========================================================== */

/* The success alert's .row sits directly in <main> with no
   .container — its negative gutters would cause a horizontal
   scrollbar, so neutralise them */
main > .row {
    margin-left: 0;
    margin-right: 0;
}

/* ---- Success banner ---- */
.alert-success {
    background-color: #eaf6ee;
    border: none;
    border-left: 6px solid #2e9e5b;
    border-radius: 0;
    color: #1c5c38;
    font-family: "futura-pt", "Poppins", "Segoe UI", Arial, sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.6;
    padding: 1.1rem 1.5rem 1.1rem 1.25rem;
    margin-bottom: 0;
}

/* Check icon, no HTML change needed */
.alert-success::before {
    content: "";
    display: inline-block;
    width: 0.5em;
    height: 0.95em;
    border-right: 0.22em solid #2e9e5b;
    border-bottom: 0.22em solid #2e9e5b;
    transform: rotate(45deg);
    margin-right: 0.9rem;
    margin-left: 0.2rem;
    vertical-align: 0.05em;
}

/* ---- Hero title (same treatment as the homepage title) ---- */
.step-3-welcome-title {
    font-family: "futura-pt", "Poppins", "Segoe UI", Arial, sans-serif;
    color: #ffffff;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin: 0;
}

/* Green accent bar — success variant of the homepage pink */
.step-3-welcome-title::after {
    content: "";
    display: block;
    width: 130px;
    height: 10px;
    border-radius: 5px;
    background-color: #2e9e5b;
    margin-top: 1.75rem;
}

/* ---- Confirmation copy below the hero ---- */
.home-banner + .container {
    padding-top: 3.5rem;
    padding-bottom: 4rem;
}

.home-banner + .container .silverstone-font {
    color: #44506b;
    font-size: 1.125rem;
    line-height: 1.7;
    max-width: 62ch;
    margin-bottom: 1.25rem;
}

/* "clicking here" link — steel blue, underline appears on hover */
.home-banner + .container .silverstone-font a {
    color: #557d99;
    font-weight: 700;
    text-decoration: none;
}

.home-banner + .container .silverstone-font a:hover,
.home-banner + .container .silverstone-font a:focus {
    color: #1f2a4c;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ==========================================================
   Vehicle hanger — step one (serial number lookup)
   ========================================================== */

.hanger-card-step-one {
    border-radius: 1rem;
    box-shadow: 0 6px 20px rgba(31, 42, 76, 0.10);
    overflow: hidden;
    margin-bottom: 4rem;
    background-color: #ffffff;
}

/* Header band — navy like the form tables, overriding bg-transparent */
.hanger-card-step-one .card-header {
    background-color: #1f2a4c !important; /* .bg-transparent uses !important */
    border-bottom: none;
    padding: 1rem 1.5rem;
}

.hanger-card-step-one .card-title {
    font-family: "futura-pt", "Poppins", "Segoe UI", Arial, sans-serif;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 1.15rem;
}

.hanger-card-step-one .card-body {
    padding: 1.5rem;
}

.hanger-card-step-one .form-label {
    color: #1f2a4c;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Serial input — large, spaced digits for easy checking against the card */
.hanger-card-step-one .form-control {
    border: 2px solid #c9d3de;
    border-radius: 0.75rem 0 0 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #1f2a4c;
}

.hanger-card-step-one .form-control::placeholder {
    color: rgba(31, 42, 76, 0.35);
    font-weight: 500;
}

.hanger-card-step-one .form-control:focus {
    border-color: #557d99;
    box-shadow: 0 0 0 0.2rem rgba(85, 125, 153, 0.25);
    outline: none;
    z-index: 3; /* focus ring paints over the adjoining button */
}

/* Button as an input-group addon: flatten its left corners so it
   docks onto the input, keep the right corners rounded */
.hanger-card-step-one .silverstone-button {
    border-radius: 0 0.75rem 0.75rem 0;
    padding: 0.65rem 1.4rem;
    min-width: 0;
}

/* ==========================================================
   Vehicle hanger — step two (VRM + event panel)
   ========================================================== */

.step-two-hanger {
    margin-bottom: 2rem;
    margin-top:3rem;
}

/* ---- VRM input: plate treatment (no .no-spaces class here,
   so target the bg-warning field inside the table) ---- */
.step-two-table .form-control.bg-warning {
    font-family: "Arial Black", "Arial Bold", Arial, sans-serif;
    font-size: 1.15rem;
    text-align: center;
    letter-spacing: 0.12em;
    border: 2px solid #0d0d0d;
    border-radius: 0.4rem;
    padding: 0.45rem 0.6rem;
    color: #1f2a4c;
}

.step-two-table .form-control.bg-warning::placeholder {
    font-family: "futura-pt", "Poppins", "Segoe UI", Arial, sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    font-weight: 600;
    color: rgba(31, 42, 76, 0.55);
    text-transform: none;
}

.step-two-table .form-control.bg-warning:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.4);
    border-color: #0d0d0d;
}

/* ---- Complete button ---- */
.complete-hanger-card-button {
    min-width: 260px;
    margin-top: 0.5rem;
}

/* ==========================================================
   Event detail panel (right column)
   ========================================================== */

.event-detail-panel {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 6px 20px rgba(31, 42, 76, 0.10);
    overflow: hidden;
    margin-top: 1rem;
}

.event-detail-panel__body {
    padding: 1.5rem 1.5rem 1rem;
}

.event-detail-panel__title {
    font-family: "futura-pt", "Poppins", "Segoe UI", Arial, sans-serif;
    color: #1f2a4c;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin-bottom: 0.5rem;
}

.event-detail-panel__description {
    color: #44506b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.event-detail-panel__dates {
    color: #1f2a4c;
    font-weight: 700;
    font-size: 0.95rem;
}

.event-detail-panel__dates svg {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    margin-right: 0.5rem;
    color: #e0457b;
}

.event-detail-panel__divider {
    border: none;
    border-top: 1px solid #e3edf2;
    margin: 0 1.5rem;
    opacity: 1;
}

/* ---- Car park section ---- */
.event-detail-panel__carpark {
    padding: 1.25rem 1.5rem 1.5rem;
}

.event-detail-panel__section-label {
    color: #557d99;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}

.event-detail-panel__carpark-name {
    color: #1f2a4c;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.event-detail-panel__carpark-address {
    color: #44506b;
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.event-detail-panel__carpark-address svg {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    margin-right: 0.4rem;
    color: #e0457b;
}

/* ---- Map ---- */
.event-detail-panel__map {
    display: block;
    width: 100%;
    height: 280px;
    border: none;
    border-radius: 0.75rem;
}

/* ---- Mobile: panel drops below the form ---- */
@media (max-width: 767.98px) {
    .event-detail-panel {
        margin-top: 2rem;
    }

    .complete-hanger-card-button {
        width: 100%;
        min-width: 0;
    }
}
