/**
 * Service Hub Styles
 * 4-tab service interface with wizard flow
 *
 * @package BlueMotorsV2
 * @since 2.1.0
 */

/* =========================================
   VARIABLES & BASE
   ========================================= */
.bms-service-hub {
    --bms-primary: #1a3a5c;
    --bms-primary-hover: #132c47;
    --bms-accent: #d35400;
    --bms-accent-hover: #b84800;
    --bms-success: #059669;
    --bms-danger: #dc2626;
    --bms-warning: #d97706;
    --bms-text: #1a1a1a;
    --bms-text-light: #6b7280;
    --bms-border: #e5e7eb;
    --bms-bg: #f9fafb;
    --bms-white: #fff;
    --bms-radius: 8px;
    --bms-shadow: 0 2px 8px rgba(0,0,0,0.08);

    max-width: 1100px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--bms-text);
    line-height: 1.5;
}

.bms-service-hub *, .bms-service-hub *::before, .bms-service-hub *::after {
    box-sizing: border-box;
}

/* =========================================
   TABS
   ========================================= */
.bms-hub-tabs {
    display: flex;
    background: var(--bms-primary);
    border-radius: var(--bms-radius) var(--bms-radius) 0 0;
    overflow: hidden;
}

.bms-hub-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 12px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
}

.bms-hub-tab:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.bms-hub-tab.active {
    color: #fff;
    background: rgba(255,255,255,0.12);
    border-bottom-color: var(--bms-accent);
}

.bms-tab-icon {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.bms-tab-label-short {
    display: none;
}

/* =========================================
   PANELS
   ========================================= */
.bms-hub-panel {
    display: none;
    background: var(--bms-white);
    padding: 30px;
    border-radius: 0 0 var(--bms-radius) var(--bms-radius);
    box-shadow: var(--bms-shadow);
}

.bms-hub-panel.active {
    display: block;
}

.bms-panel-title {
    margin: 0 0 20px;
    font-size: 22px;
    font-weight: 700;
    color: var(--bms-primary);
}

/* =========================================
   SPLIT LAYOUT (Tyres Tab Search)
   ========================================= */
.bms-split-layout {
    display: flex;
    gap: 0;
    align-items: stretch;
}

.bms-split-left, .bms-split-right {
    flex: 1;
    padding: 0;
}

.bms-split-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    position: relative;
}

.bms-split-divider::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: var(--bms-border);
}

.bms-split-divider span {
    position: relative;
    z-index: 1;
    background: var(--bms-white);
    padding: 10px 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--bms-text-light);
    text-transform: uppercase;
}

/* =========================================
   UK PLATE INPUT
   ========================================= */
.bms-uk-plate {
    display: flex;
    align-items: center;
    border: 2px solid #f5c518;
    border-radius: 6px;
    overflow: hidden;
    background: #f5c518;
}

.bms-plate-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    min-height: 48px;
    background: #003399;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.bms-uk-plate .bms-reg-input {
    flex: 1;
    padding: 12px 14px;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    outline: none;
    background: #f5c518;
    color: #000;
    font-family: 'Charles Wright', 'Arial Black', sans-serif;
}

.bms-uk-plate .bms-reg-input::placeholder {
    color: rgba(0,0,0,0.35);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Plate display (sidebar) */
.bms-uk-plate-display {
    pointer-events: none;
    justify-content: flex-start;
}

.bms-uk-plate-display .bms-sidebar-reg {
    padding: 8px 14px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    font-family: 'Charles Wright', 'Arial Black', sans-serif;
}

/* =========================================
   BUTTONS
   ========================================= */
.bms-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    line-height: 1.4;
}

.bms-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.bms-btn-primary {
    background: var(--bms-accent);
    color: #fff;
}
.bms-btn-primary:hover:not(:disabled) {
    background: var(--bms-accent-hover);
}

.bms-btn-secondary {
    background: var(--bms-primary);
    color: #fff;
}
.bms-btn-secondary:hover:not(:disabled) {
    background: var(--bms-primary-hover);
}

.bms-btn-success {
    background: var(--bms-success) !important;
    color: #fff !important;
}

.bms-btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.bms-link-btn {
    background: none;
    border: none;
    color: var(--bms-accent);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    font-size: inherit;
}
.bms-link-btn:hover {
    color: var(--bms-accent-hover);
}

/* =========================================
   REG SEARCH BLOCK
   ========================================= */
.bms-reg-input-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.bms-service-search {
    max-width: 500px;
    margin: 0 auto 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}

/* =========================================
   TYRE SIZE DROPDOWNS
   ========================================= */
.bms-tyre-dropdowns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.bms-dropdown-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--bms-text-light);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.bms-tyre-dropdown {
    width: 100%;
    padding: 10px 8px;
    font-size: 14px;
    border: 2px solid var(--bms-border);
    border-radius: 6px;
    background: var(--bms-white);
    appearance: auto;
}

.bms-tyre-dropdown:focus {
    border-color: var(--bms-primary);
    outline: none;
}

/* =========================================
   TYRE DIAGRAM
   ========================================= */
.bms-tyre-diagram {
    margin-top: 20px;
    text-align: center;
}

.bms-tyre-diagram img {
    max-width: 200px;
    height: auto;
    opacity: 0.7;
}

/* =========================================
   LOADING / ERROR
   ========================================= */
.bms-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f0f6fc;
    border-radius: 6px;
    color: var(--bms-primary);
    font-size: 14px;
}

.bms-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid var(--bms-border);
    border-top-color: var(--bms-primary);
    border-radius: 50%;
    animation: bms-spin 0.7s linear infinite;
}

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

.bms-error {
    padding: 12px 16px;
    background: #fef2f2;
    border-left: 4px solid var(--bms-danger);
    border-radius: 6px;
    color: #991b1b;
    font-size: 14px;
}

/* =========================================
   STEP LAYOUT (main + sidebar)
   ========================================= */
.bms-step-layout {
    display: flex;
    gap: 30px;
}

.bms-step-main {
    flex: 1;
    min-width: 0;
}

.bms-vehicle-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.bms-sidebar-content {
    background: var(--bms-bg);
    border: 1px solid var(--bms-border);
    border-radius: var(--bms-radius);
    padding: 20px;
    position: sticky;
    top: 20px;
}

.bms-sidebar-plate {
    margin-bottom: 15px;
}

.bms-sidebar-vehicle h4 {
    margin: 0 0 10px;
    font-size: 18px;
    color: var(--bms-primary);
}

.bms-sidebar-details {
    list-style: none;
    margin: 0 0 15px;
    padding: 0;
}

.bms-sidebar-details li {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--bms-border);
}

.bms-sidebar-details li span {
    color: var(--bms-text-light);
}

.bms-sidebar-mot, .bms-sidebar-tyre {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--bms-white);
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 10px;
}

.bms-sidebar-mot-label, .bms-sidebar-tyre-label {
    color: var(--bms-text-light);
    font-weight: 600;
}

.bms-sidebar-mot-date.mot-valid { color: var(--bms-success); font-weight: 700; }
.bms-sidebar-mot-date.mot-expiring-soon { color: var(--bms-warning); font-weight: 700; }
.bms-sidebar-mot-date.mot-expired { color: var(--bms-danger); font-weight: 700; }

.bms-sidebar-note {
    font-size: 12px;
    color: var(--bms-text-light);
    margin: 10px 0 0;
}

/* =========================================
   TYRE OPTIONS (Confirmation Step)
   ========================================= */
.bms-step-header {
    margin-bottom: 20px;
}

.bms-step-note {
    margin: 5px 0 0;
    font-size: 14px;
    color: var(--bms-warning);
    font-weight: 600;
}

.bms-tyre-option-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border: 2px solid var(--bms-border);
    border-radius: 6px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.bms-tyre-option-item:hover {
    border-color: var(--bms-primary);
    background: #f0f6fc;
}

.bms-tyre-option-item.selected {
    border-color: var(--bms-primary);
    background: #f0f6fc;
}

.bms-tyre-option-item input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    cursor: pointer;
}

.bms-tyre-option-size {
    font-size: 16px;
    font-weight: 700;
    color: var(--bms-text);
}

.bms-tyre-option-specs {
    font-size: 13px;
    color: var(--bms-text-light);
    margin-top: 2px;
}

.bms-manual-entry-toggle {
    margin: 15px 0;
}

.bms-manual-entry-form {
    padding: 20px;
    background: var(--bms-bg);
    border-radius: var(--bms-radius);
    margin-bottom: 15px;
}

.bms-manual-entry-form.bms-manual-selected {
    border: 2px solid var(--bms-primary);
}

.bms-step-actions {
    margin-top: 20px;
    text-align: center;
}

/* =========================================
   PRODUCT LISTING
   ========================================= */
.bms-selected-size-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bms-bg);
    border-radius: 6px;
    margin-bottom: 20px;
}

.bms-selected-size-label {
    font-size: 14px;
    color: var(--bms-text-light);
}

.bms-selected-size-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--bms-primary);
    margin-left: 8px;
}

/* Filters */
.bms-product-filters {
    margin-bottom: 20px;
}

.bms-filter-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.bms-filter-row-sort {
    justify-content: space-between;
    align-items: center;
}

.bms-filter-select {
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid var(--bms-border);
    border-radius: 6px;
    background: var(--bms-white);
    min-width: 140px;
}

.bms-view-toggle {
    display: flex;
    gap: 4px;
}

.bms-view-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bms-bg);
    border: 1px solid var(--bms-border);
    border-radius: 6px;
    cursor: pointer;
    color: var(--bms-text-light);
}

.bms-view-btn.active {
    background: var(--bms-primary);
    color: #fff;
    border-color: var(--bms-primary);
}

/* Tyre Tiers */
.bms-tyre-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.bms-tier {
    border: 2px solid var(--bms-border);
    border-radius: var(--bms-radius);
    overflow: hidden;
}

.bms-tier-badge {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}

.bms-tier-budget .bms-tier-badge { background: #ef4444; }
.bms-tier-midrange .bms-tier-badge { background: #3b82f6; }
.bms-tier-premium .bms-tier-badge { background: #059669; }

/* Product Grid */
.bms-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.bms-products-grid.bms-list-view {
    grid-template-columns: 1fr;
}

.bms-product-card {
    border: 1px solid var(--bms-border);
    border-radius: var(--bms-radius);
    overflow: hidden;
    background: var(--bms-white);
    transition: box-shadow 0.2s;
}

.bms-product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.bms-list-view .bms-product-card {
    display: flex;
    align-items: center;
}

.bms-product-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bms-bg);
    padding: 10px;
}

.bms-list-view .bms-product-image {
    width: 140px;
    height: 120px;
    flex-shrink: 0;
}

.bms-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.bms-product-no-image {
    color: var(--bms-border);
    font-size: 40px;
}

.bms-product-info {
    padding: 15px;
}

.bms-list-view .bms-product-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.bms-product-brand {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--bms-text-light);
    margin-bottom: 4px;
}

.bms-product-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--bms-text);
    margin-bottom: 8px;
}

.bms-product-badges {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.bms-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.bms-badge-runflat { background: #dbeafe; color: #1e40af; }
.bms-badge-xl { background: #fef3c7; color: #92400e; }
.bms-badge-season { background: #d1fae5; color: #065f46; }

/* EU Labels */
.bms-eu-labels {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.bms-eu-label {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 3px;
    background: var(--bms-bg);
    border: 1px solid var(--bms-border);
}

.bms-product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--bms-primary);
    margin-bottom: 12px;
}

.bms-product-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.bms-qty-select {
    width: 60px;
    padding: 8px;
    font-size: 14px;
    border: 1px solid var(--bms-border);
    border-radius: 6px;
    text-align: center;
}

/* Pagination */
.bms-products-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 25px;
}

.bms-page-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bms-border);
    border-radius: 6px;
    background: var(--bms-white);
    cursor: pointer;
    font-weight: 600;
}

.bms-page-btn.active {
    background: var(--bms-primary);
    color: #fff;
    border-color: var(--bms-primary);
}

.bms-products-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--bms-text-light);
}

/* Cart Notification */
.bms-cart-notification {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    border-radius: var(--bms-radius);
    margin-bottom: 20px;
}

.bms-cart-notif-text {
    flex: 1;
    font-weight: 600;
    color: #065f46;
}

/* =========================================
   SERVICE CARDS
   ========================================= */
.bms-service-intro {
    text-align: center;
    margin-bottom: 25px;
}

.bms-price-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bms-success);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 30px;
    margin: 10px 0;
}

.bms-service-desc {
    color: var(--bms-text-light);
    font-size: 15px;
    max-width: 500px;
    margin: 10px auto 0;
}

.bms-service-cards,
.bms-additional-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 15px;
}

.bms-service-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: var(--bms-white);
    border: 1px solid var(--bms-border);
    border-radius: var(--bms-radius);
    text-align: center;
    transition: box-shadow 0.2s;
}

.bms-service-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.bms-service-card-icon {
    font-size: 36px;
    color: var(--bms-primary);
    margin-bottom: 12px;
}

.bms-service-card-icon .dashicons {
    font-size: 36px;
    width: 36px;
    height: 36px;
}

.bms-service-card-body {
    flex: 1;
}

.bms-service-card-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--bms-text);
}

.bms-service-card-desc {
    font-size: 13px;
    color: var(--bms-text-light);
    margin: 0 0 10px;
}

.bms-service-card-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--bms-primary);
    margin-bottom: 15px;
}

.bms-service-card .bms-btn {
    width: 100%;
}

/* =========================================
   BOOKING MODAL
   ========================================= */
.bms-booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bms-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.bms-modal-content {
    position: relative;
    width: 100%;
    max-width: 550px;
    max-height: 90vh;
    background: var(--bms-white);
    border-radius: var(--bms-radius);
    overflow-y: auto;
}

.bms-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--bms-border);
}

.bms-modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: var(--bms-primary);
}

.bms-modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--bms-text-light);
    cursor: pointer;
    border-radius: 4px;
}

.bms-modal-close:hover {
    background: #fef2f2;
    color: var(--bms-danger);
}

.bms-modal-body {
    padding: 25px;
}

body.bms-modal-open {
    overflow: hidden;
}

/* Form */
.bms-form-row {
    margin-bottom: 18px;
}

.bms-form-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--bms-text);
    margin-bottom: 5px;
}

.bms-form-row label .required {
    color: var(--bms-danger);
}

.bms-form-row input[type="text"],
.bms-form-row input[type="email"],
.bms-form-row input[type="tel"],
.bms-form-row input[type="date"],
.bms-form-row select,
.bms-form-row textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 15px;
    border: 2px solid var(--bms-border);
    border-radius: 6px;
    transition: border-color 0.2s;
}

.bms-form-row input:focus,
.bms-form-row select:focus,
.bms-form-row textarea:focus {
    border-color: var(--bms-primary);
    outline: none;
}

.bms-form-row-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.bms-form-actions {
    margin-top: 20px;
}

.bms-form-actions .bms-btn {
    width: 100%;
}

.bms-form-message {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
}

.bms-form-message.bms-form-success {
    background: #d1fae5;
    color: #065f46;
}

.bms-form-message.bms-form-error {
    background: #fef2f2;
    color: #991b1b;
}

.bms-form-success-text {
    display: block;
}

.bms-booking-ref-display {
    display: block;
    margin-top: 8px;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #1a3a5c;
    background: #f0f6fc;
    border: 2px solid #1a3a5c;
    border-radius: 6px;
    padding: 8px 16px;
    text-align: center;
}

.bms-no-data {
    text-align: center;
    padding: 20px;
    color: var(--bms-text-light);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
    .bms-step-layout {
        flex-direction: column;
    }

    .bms-vehicle-sidebar {
        width: 100%;
    }

    .bms-sidebar-content {
        position: static;
    }

    .bms-tyre-tiers {
        grid-template-columns: 1fr;
    }

    .bms-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .bms-split-layout {
        flex-direction: column;
    }

    .bms-split-divider {
        width: 100%;
        height: 40px;
        flex-direction: row;
    }

    .bms-split-divider::before {
        top: 50%;
        bottom: auto;
        left: 0;
        right: 0;
        width: 100%;
        height: 1px;
    }

    .bms-split-divider span {
        padding: 0 15px;
    }

    .bms-hub-panel {
        padding: 20px 15px;
    }

    .bms-tyre-dropdowns {
        grid-template-columns: repeat(2, 1fr);
    }

    .bms-products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .bms-hub-tab {
        flex: 1 1 25%;
        padding: 12px 4px;
        font-size: 13px;
    }

    .bms-tab-label {
        display: none;
    }

    .bms-tab-label-short {
        display: inline;
    }

    .bms-tab-icon {
        display: none;
    }

    .bms-panel-title {
        font-size: 18px;
    }

    .bms-form-row-half {
        grid-template-columns: 1fr;
    }

    .bms-filter-row {
        flex-direction: column;
    }

    .bms-filter-select {
        min-width: auto;
    }
}

/* =========================================
   MOT TAB SPECIFIC
   ========================================= */
.bms-hub-panel[data-panel="mot"] .bms-price-badge {
    background: var(--bms-accent);
}

/* =========================================
   TAB LABEL SAFETY
   ========================================= */
.bms-tab-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =========================================
   CROSS-SELL SERVICES (Booking Modal)
   ========================================= */
.bms-cross-sell {
    margin-bottom: 16px;
    padding: 14px;
    background: #f0f6fc;
    border-radius: 6px;
    border: 1px solid #d0dde9;
}

.bms-cross-sell-label {
    display: block;
    font-weight: 600;
    color: #1a3a5c;
    margin-bottom: 10px;
    font-size: 14px;
}

.bms-cross-sell-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bms-cross-sell-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.bms-cross-sell-item:hover {
    background: #e0ecf7;
}

.bms-cross-sell-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    flex-shrink: 0;
}

.bms-cross-sell-name {
    flex: 1;
    font-size: 13px;
    color: #333;
}

.bms-cross-sell-price {
    font-size: 12px;
    color: #d35400;
    font-weight: 600;
    white-space: nowrap;
}

/* =========================================
   VEHICLE LOOKUP V2 BRAND CONSISTENCY
   (Overrides for bmv2- classes to match bms- theme
    without modifying the protected vehicle-lookup-v2.css)
   ========================================= */
.bmv2-search-button {
    background: #d35400;
}

.bmv2-search-button:hover {
    background: #b84800;
}

.bmv2-registration-input:focus {
    border-color: #d35400;
}

.bmv2-tyre-option:hover {
    border-color: #1a3a5c;
    background: #f0f6fc;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.bmv2-tyre-option.selected {
    border-color: #1a3a5c;
    background: #f0f6fc;
}

.bmv2-spinner {
    border-top-color: #1a3a5c;
}

.bmv2-loading {
    color: #1a3a5c;
}
