/* ==========================================================================
   TEMO Dealer Locator - Public Stylesheet (Exact Match to Client HTML & custom.css)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

:root {
    --transition-common: all 0.4s ease;

    --color-accent: #CC8E07;
    --color-primary: #737373;
    --color-secondary: #222222;
    --color-tertiary: #31B7E0;
    --color-quaternary: #0B0000;
    --color-quinary: #231F20;
    --color-white: #fff;
    --color-black: #000;

    --ff-base: "Lato", sans-serif;
    --ff-title: 'Lato', sans-serif;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semi-bold: 600;
    --fw-bold: 700;

    --f-size-XXL: clamp(2rem, 1.5714rem + 1.1905vw, 3rem);
    --f-size-XL: clamp(1.75rem, 1.4286rem + 0.8929vw, 2.5rem);
    --f-size-L: clamp(1.25rem, 0.8984rem + 0.9766vw, 1.875rem);
    --f-size-M: clamp(1.19rem, 0.80rem + 0.658vw, 1.5rem);
    --f-size-S: clamp(1.1rem, 1.098rem + 0.152vw, 1.25rem);
    --f-size-SS: clamp(1rem, 0.9712rem + 0.1282vw, 1.125rem);
    --f-size-Body: clamp(0.875rem, 0.8047rem + 0.1953vw, 1rem);
    --f-size-ES: clamp(0.8125rem, 0.7837rem + 0.1282vw, 0.9375rem);
}

.temo-dealer-locator {
    font-family: var(--ff-base);
    color: var(--color-secondary);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
}

.temo-dealer-locator .container {
    max-width: 1440px;
    width: 100%;
    padding-left: 24px;
    padding-right: 24px;
    margin: 0 auto;
}

.temo-dealer-locator * {
    box-sizing: border-box;
}

/* Find A Dealer Header */
.temo-dealer-locator .find-dealer-header {
    background: #FAFAFA;
    border-bottom: 1px solid #E5E5E5;
    padding: 24px 0;
    margin-bottom: 0;
}

.temo-dealer-locator .find-dealer-header h4 {
    margin-bottom: 8px;
    color: #222222;
    font-weight: var(--fw-medium);
    font-size: 24px;
}

.temo-dealer-locator .find-dealer-header p {
    color: #5C5C5C;
    margin-bottom: 0;
    font-size: 15px;
}

/* Dealer Map Form */
.temo-dealer-locator .dealer-map-form {
    padding: 30px 0 40px 0;
}

.temo-dealer-locator .dealer-search-form {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
    justify-content: space-between;
}

@media (max-width: 1280px) {
    .temo-dealer-locator .dealer-search-form {
        overflow-x: auto;
        padding-bottom: 8px;
    }
}

.temo-dealer-locator .dealer-search-form .field-group {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex: 0 0 auto;
}

.temo-dealer-locator .dealer-search-form .button-holder {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    flex: 0 0 auto;
    white-space: nowrap;
}

.temo-dealer-locator .dealer-search-form .field-label {
    color: #5C5C5C;
    font-size: var(--f-size-ES);
    font-weight: var(--fw-medium);
    margin-bottom: 0;
    white-space: nowrap;
}

.temo-dealer-locator .dealer-search-form .input-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.temo-dealer-locator .dealer-search-form .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    line-height: 1;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    border-radius: 0 !important;
}

.temo-dealer-locator .dealer-search-form .search-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

.temo-dealer-locator .dealer-search-form .zip-input {
    padding: 9px 12px 9px 42px !important;
    border: 1px solid #A6A6A6 !important;
    border-radius: 5px !important;
    font-size: var(--f-size-ES) !important;
    width: 175px !important;
    height: 48px !important;
    color: #333 !important;
    background: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
    line-height: normal !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.temo-dealer-locator .dealer-search-form .radius-input {
    width: 115px !important;
    height: 48px !important;
    border: 1px solid #A6A6A6 !important;
    border-radius: 5px !important;
    padding: 9px 28px 9px 10px !important;
    font-size: var(--f-size-ES) !important;
    color: #333 !important;
    background-color: #fff !important;
}

.temo-dealer-locator .dealer-search-form select {
    height: 48px !important;
    border: 1px solid #A6A6A6 !important;
    border-radius: 5px !important;
    padding: 9px 28px 9px 10px !important;
    font-size: var(--f-size-ES) !important;
    color: #333 !important;
    background-color: #fff !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 8px center !important;
    background-size: 16px !important;
}

.temo-dealer-locator .dealer-search-form #temo-dealer-product {
    width: 135px !important;
}

.temo-dealer-locator .dealer-search-form #temo-dealer-type {
    width: 125px !important;
}

.temo-dealer-locator .dealer-search-form input:focus,
.temo-dealer-locator .dealer-search-form select:focus {
    outline: none;
    border-color: #1ec2e0;
    box-shadow: 0 0 0 3px rgba(30, 194, 224, 0.15);
}

.temo-dealer-locator .dealer-search-form .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: var(--f-size-ES);
    font-weight: 500;
    cursor: pointer;
    background: #fff;
    color: #525252;
    border: 1px solid #A6A6A6 !important;
    height: 48px;
    transition: var(--transition-common);
    white-space: nowrap;
    text-decoration: none;
}

.temo-dealer-locator .dealer-search-form .btn svg {
    width: 18px;
    height: 18px;
}

.temo-dealer-locator .dealer-search-form .btn-primary {
    background: #1ec2e0;
    border-color: #1ec2e0 !important;
    color: #fff;
}

.temo-dealer-locator .dealer-search-form .btn-primary:hover {
    background: #17aecb;
    border-color: #17aecb !important;
    color: #fff;
}

.temo-dealer-locator .dealer-search-form .btn:hover:not(.btn-primary) {
    background: #f5f5f5;
    border-color: #666666 !important;
}

.temo-dealer-locator .dealer-search-form .btn-use-location,
.temo-dealer-locator .dealer-search-form .btn:not(.btn-primary) {
    background: #ffffff !important;
    color: #525252 !important;
    border: 1.5px solid #A6A6A6 !important;
    border-radius: 5px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.temo-dealer-locator .dealer-search-form .btn-use-location:hover,
.temo-dealer-locator .dealer-search-form .btn:hover:not(.btn-primary) {
    background: #f5f5f5 !important;
    border-color: #555555 !important;
}

/* Layout Grid Ratio */
.temo-dealer-locator .find-dealer-left {
    width: 28.2% !important;
    flex: 0 0 28.2% !important;
    max-width: 28.2% !important;
}

.temo-dealer-locator .find-dealer-right {
    width: 71.8% !important;
    flex: 0 0 71.8% !important;
    max-width: 71.8% !important;
}

@media (max-width: 991px) {
    .temo-dealer-locator .find-dealer-left,
    .temo-dealer-locator .find-dealer-right {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Equal Height Left Panel */
.temo-dealer-locator .dealer-map-left-info {
    height: 680px;
    display: flex;
    flex-direction: column;
}

/* Map Legend Box */
.temo-dealer-locator .dealer-map-legend-box {
    background: #FAFAFA;
    padding: 24px;
    border-radius: 8px 8px 0 0;
    border: 1px solid rgba(166, 166, 166, 0.4);
    border-bottom: 1px solid rgba(166, 166, 166, 0.4);
}

.temo-dealer-locator .dealer-map-legend-box h6 {
    color: #505050;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.temo-dealer-locator .dealer-map-legend-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.temo-dealer-locator .dealer-map-legend-box ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #5C5C5C;
    font-size: 14px;
    font-weight: 500;
}

.temo-dealer-locator .dealer-map-legend-box ul li span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.temo-dealer-locator .dealer-map-legend-box ul li:first-child span {
    background-color: #FFE9B9;
}

.temo-dealer-locator .dealer-map-legend-box ul li:nth-child(2) span {
    background-color: #E3F2D2;
}

/* Dealer Count Header */
.temo-dealer-locator .dealer-map-left-info .dealer-count {
    text-align: center;
    padding: 20px 24px;
    background: #fff;
    border-left: 1px solid rgba(166, 166, 166, 0.4);
    border-right: 1px solid rgba(166, 166, 166, 0.4);
    border-bottom: 1px solid rgba(166, 166, 166, 0.4);
}

.temo-dealer-locator .dealer-map-left-info .dealer-count p {
    color: #666666;
    margin: 0;
    font-size: 14px;
}

.temo-dealer-locator .dealer-map-left-info .dealer-count p strong {
    color: #222222;
    font-weight: var(--fw-medium);
}

/* Scrollable Results */
.temo-dealer-locator .dealer-left-info-scroll-outer {
    flex: 1 1 auto;
    overflow: hidden;
    margin-top: 16px;
    height: calc(100% - 190px);
}

.temo-dealer-locator .dealer-left-info-scroll {
    height: 100%;
    overflow-y: auto;
    padding-right: 14px;
}

.temo-dealer-locator .dealer-left-info-scroll::-webkit-scrollbar {
    width: 4px;
    height: 4px;
    background-color: #E2E2E2;
}

.temo-dealer-locator .dealer-left-info-scroll::-webkit-scrollbar-thumb {
    background: #31B7E0;
    border-radius: 10px;
}

.temo-dealer-locator .temo-locator-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 24px;
}

.temo-fullscreen-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(12, 32, 44, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    animation: temo-loader-fade-in 0.25s ease;
}

.temo-fullscreen-loader .temo-dealer-loader {
    display: block;
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.25));
}

.temo-dealer-locator .temo-dealer-loader {
    display: block;
    width: 56px;
    height: 56px;
}

.temo-dealer-locator .temo-dealer-loader-fallback,
.temo-fullscreen-loader .temo-dealer-loader-fallback {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #D6E8F0;
    border-top-color: #1EC2E0;
    border-radius: 50%;
    animation: temo-spin 0.8s linear infinite;
}

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

@keyframes temo-loader-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

body.temo-loader-open {
    overflow: hidden;
}

/* Dealer Card Styles */
.temo-dealer-locator .dealer-map-full-content {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.temo-dealer-locator .dealer-map-full-content.border-box {
    background-color: var(--color-white);
    border: 1px solid rgba(49, 183, 224, 0.4);
    box-shadow: 0px 0px 16px 0px rgba(49, 183, 224, 0.15);
}

.temo-dealer-locator .dealer-map-full-content.bg-box {
    background-color: #F9F9F9;
    border: 1px solid #EAEAEA;
}

.temo-dealer-locator .dealer-map-full-content:hover,
.temo-dealer-locator .temo-dealer-card--active {
    border-color: #31B7E0 !important;
    box-shadow: 0px 4px 20px 0px rgba(49, 183, 224, 0.25) !important;
}

/* Legend Tags (Pills) */
.temo-dealer-locator .temo-dealer-card-meta {
    margin-bottom: 8px;
}

.temo-dealer-locator .legend-tag {
    border-radius: 40px;
    padding: 6px 10px 6px 6px;
    display: inline-flex;
    gap: 5px;
    align-items: center;
    font-size: 14px;
    line-height: 1;
    margin-bottom: 0;
    white-space: nowrap;
    flex: 0 0 auto;
}

.temo-dealer-locator .temo-dealer-distance {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: #525252;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-radius: 40px;
    white-space: nowrap;
    flex: 0 0 auto;
}

.temo-dealer-locator .legend-tag.premier-tag {
    background: #FFF7E5;
    border: 1px solid #FFE9B9;
    color: #D69811;
}

.temo-dealer-locator .legend-tag.premier-tag .temo-dealer-type-icon,
.temo-dealer-locator .legend-tag.premier-tag > span {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFE9B9;
    border-radius: 50%;
    padding: 4px;
    flex-shrink: 0;
}

.temo-dealer-locator .legend-tag.authorized-tag {
    background: #F7FFEE;
    border: 1px solid #E3F1D2;
    color: #89B457;
}

.temo-dealer-locator .legend-tag.authorized-tag .temo-dealer-type-icon,
.temo-dealer-locator .legend-tag.authorized-tag > span {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E3F1D2;
    border-radius: 50%;
    padding: 5px;
    flex-shrink: 0;
}

/* Card Content Details */
.temo-dealer-locator .dealer-map-legend-content h5 {
    margin-bottom: 0;
    color: #5C5C5C;
    font-size: 18px;
    font-weight: 700;
}

.temo-dealer-locator .dealer-map-legend-content p {
    margin-bottom: 14px;
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
}

.temo-dealer-locator .dealer-map-legend-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 14px 0;
}

.temo-dealer-locator .dealer-map-legend-content ul li {
    margin-bottom: 7px;
}

.temo-dealer-locator .dealer-map-legend-content ul li a {
    display: flex;
    gap: 5px;
    color: #5C5C5C;
    font-size: var(--f-size-ES);
    text-decoration: none;
}

.temo-dealer-locator .dealer-map-legend-content ul li a:hover {
    color: #31B7E0;
}

.temo-dealer-locator .dealer-map-legend-content .user-info-area {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.temo-dealer-locator .dealer-map-legend-content .user-info-area .user-image {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
}

.temo-dealer-locator .dealer-map-legend-content .user-info-area .user-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.temo-dealer-locator .dealer-map-legend-content .user-info-area .user-name {
    color: rgba(0, 0, 0, 0.6);
    font-size: var(--f-size-ES);
}

.temo-dealer-locator .dealer-map-legend-content .user-info-area a {
    color: #5C5C5C;
    font-size: var(--f-size-ES);
    text-decoration: none;
}

.temo-dealer-locator .dealer-map-legend-content .user-info-area a:hover {
    color: #31B7E0;
}

/* Card Action Buttons & InfoWindow Action Buttons */
.temo-dealer-locator .dealer-map-legend-content .button-holder {
    display: flex !important;
    gap: 10px !important;
    margin-top: 14px !important;
}

.temo-dealer-locator .dealer-map-legend-content .button-holder a.btn,
.temo-dealer-locator .dealer-map-legend-content .button-holder button.btn {
    flex: 1 1 0% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 14px !important;
    height: 42px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: none !important;
    line-height: 1.2 !important;
    box-sizing: border-box !important;
    text-transform: none !important;
}

/* Contact Dealer Button (Card & InfoWindow) - Outline Cyan style */
.temo-dealer-locator .dealer-map-legend-content .button-holder a.btn.border-btn,
.temo-dealer-locator .dealer-map-legend-content .button-holder button.btn.border-btn {
    border: 1.5px solid #31B7E0 !important;
    color: #31B7E0 !important;
    background: #ffffff !important;
}

.temo-dealer-locator .dealer-map-legend-content .button-holder a.btn.border-btn:hover,
.temo-dealer-locator .dealer-map-legend-content .button-holder button.btn.border-btn:hover {
    background: #31B7E0 !important;
    color: #ffffff !important;
    border-color: #31B7E0 !important;
}

/* Direction Button (Dealer Card) - Solid Light Green style */
.temo-dealer-locator .dealer-map-legend-content .button-holder button.btn.primary-btn,
.temo-dealer-locator .dealer-map-legend-content .button-holder a.btn.primary-btn {
    border: 1.5px solid #9ECB6A !important;
    background: #9ECB6A !important;
    color: #ffffff !important;
}

.temo-dealer-locator .dealer-map-legend-content .button-holder button.btn.primary-btn:hover,
.temo-dealer-locator .dealer-map-legend-content .button-holder a.btn.primary-btn:hover {
    background: #8ab856 !important;
    border-color: #8ab856 !important;
    color: #ffffff !important;
}

/* Schedule / Direction Button (InfoWindow Popup) - Solid Cyan style */
.temo-dealer-locator .dealer-map-legend-content .button-holder button.btn.secondary-btn,
.temo-dealer-locator .dealer-map-legend-content .button-holder a.btn.secondary-btn {
    border: 1.5px solid #31B7E0 !important;
    background: #31B7E0 !important;
    color: #ffffff !important;
}

.temo-dealer-locator .dealer-map-legend-content .button-holder button.btn.secondary-btn:hover,
.temo-dealer-locator .dealer-map-legend-content .button-holder a.btn.secondary-btn:hover {
    background: #25a0c5 !important;
    border-color: #25a0c5 !important;
    color: #ffffff !important;
}

.temo-dealer-locator .dealer-map-legend-content .button-holder a.btn.secondary-btn:hover {
    background: #25a0c5;
    border-color: #25a0c5;
}

/* Map Right Panel Container */
.temo-dealer-locator .find-delaer-area .map-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 680px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.08);
}

.temo-dealer-locator #temo-dealer-map {
    width: 100%;
    height: 100%;
    min-height: 680px;
}

/* Google Maps InfoWindow Styling matching HTML marker popup */
.gm-style .gm-style-iw-c {
    padding: 0 !important;
    border-radius: 18px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18) !important;
    border: none !important;
}

.gm-style .gm-style-iw-d {
    overflow: hidden !important;
    max-width: 360px !important;
}

.temo-dealer-popup-content {
    padding: 24px;
    background: #ffffff;
    font-family: var(--ff-base);
    width: 340px;
}

.temo-dealer-popup-content .dealer-map-legend-content h5 {
    font-size: 18px;
    font-weight: 700;
    color: #5C5C5C;
    margin-bottom: 2px;
}

.temo-dealer-popup-content .dealer-map-legend-content p {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 14px;
}

.temo-dealer-popup-content .dealer-map-legend-content ul {
    margin-bottom: 14px;
}

.temo-dealer-popup-content .button-holder {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

/* ==========================================================================
   GET DIRECTIONS MODAL & MAP ROUTE OVERLAY
   ========================================================================== */

.temo-dealer-locator .temo-directions-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.temo-dealer-locator .temo-directions-modal {
    background: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 440px;
    padding: 24px 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: temoModalFadeIn 0.25s ease-out;
}

@keyframes temoModalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.temo-dealer-locator .temo-directions-modal-header {
    border-bottom: none;
    padding: 0 0 16px 0;
    margin-bottom: 8px;
}

.temo-dealer-locator .temo-directions-modal-header h5 {
    color: #1ec2e0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
}

.temo-dealer-locator .temo-directions-modal-close {
    background: transparent !important;
    border: none !important;
    font-size: 24px !important;
    line-height: 1 !important;
    color: #333333 !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.temo-dealer-locator .temo-directions-modal-close:hover {
    opacity: 1;
    color: #000000 !important;
}

.temo-dealer-locator .temo-directions-modal-body label {
    color: #666666;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.temo-dealer-locator .temo-directions-modal-body .form-control {
    width: 100% !important;
    height: 48px !important;
    border: 1px solid #c8c8c8 !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    color: #333333 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    line-height: normal !important;
}

.temo-dealer-locator .temo-directions-modal-body .form-control:focus {
    border-color: #1ec2e0 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(30, 194, 224, 0.15) !important;
}

.temo-dealer-locator .temo-directions-modal-body .form-control[readonly],
.temo-dealer-locator .temo-directions-modal-body .form-control:disabled {
    background: #f7f7f7 !important;
    color: #555555 !important;
    border-color: #dcdcdc !important;
}

/* Unit Selector Toggle Pills */
.temo-dealer-locator .travel-mode-toggle-group {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #f0f0f0;
	padding: 4px;
	border-radius: 30px;
	border: 1px solid #e0e0e0;
}

.temo-dealer-locator .travel-mode-toggle-group .unit-toggle-pill {
	min-width: 72px;
}

.temo-dealer-locator .unit-toggle-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f0f0;
    padding: 4px;
    border-radius: 30px;
    border: 1px solid #e0e0e0;
}

.temo-dealer-locator .unit-toggle-option {
    cursor: pointer;
    margin: 0;
}

.temo-dealer-locator .unit-toggle-pill {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #666666;
    border-radius: 20px;
    transition: all 0.2s ease;
    user-select: none;
}

.temo-dealer-locator .unit-toggle-option input:checked + .unit-toggle-pill {
    background: #1ec2e0;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(30, 194, 224, 0.3);
}

/* Submit Button */
.temo-dealer-locator .temo-btn-directions-submit {
    background: #1ec2e0 !important;
    border: 1.5px solid #1ec2e0 !important;
    color: #ffffff !important;
    padding: 10px 22px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(30, 194, 224, 0.25) !important;
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.temo-dealer-locator .temo-btn-directions-submit:hover {
    background: #17aecb !important;
    border-color: #17aecb !important;
    box-shadow: 0 6px 16px rgba(30, 194, 224, 0.35) !important;
}

/* Map Route Info Banner */
.temo-dealer-locator .temo-map-route-banner {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    background: #ffffff;
    border-radius: 10px;
    padding: 12px 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 5px solid #1ec2e0;
    font-size: 14px;
    color: #333333;
}

.temo-dealer-locator .temo-map-route-banner strong {
    color: #1ec2e0;
}

.temo-dealer-locator .temo-clear-route-btn {
    background: #f1f1f1 !important;
    color: #555555 !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 4px !important;
    padding: 5px 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.temo-dealer-locator .temo-clear-route-btn:hover {
    background: #e0e0e0 !important;
    color: #111111 !important;
}

/* Google Places Autocomplete Dropdown Over Modal */
.pac-container {
    z-index: 9999999 !important;
    font-family: var(--ff-base) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18) !important;
    border: 1px solid #e0e0e0 !important;
    margin-top: 4px !important;
}

/* Turn-by-Turn Directions Panel Styling */
.temo-dealer-locator #temo-directions-panel-wrapper {
    border-radius: 8px;
    border: 1px solid #e2e2e2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.temo-dealer-locator #temo-directions-panel {
    font-family: var(--ff-base);
    font-size: 13px;
    color: #333333;
}

.temo-dealer-locator #temo-directions-panel .adp-list {
    border-collapse: collapse;
    width: 100%;
}

.temo-dealer-locator #temo-directions-panel .adp-step {
    padding: 10px 8px;
    border-bottom: 1px solid #eeeeee;
    line-height: 1.4;
}

.temo-dealer-locator #temo-directions-panel .adp-step:hover {
    background: #f9fbfd;
}

.temo-dealer-locator #temo-directions-panel .adp-substep {
    padding: 8px 8px 8px 24px;
    border-bottom: 1px dashed #e8e8e8;
}

.temo-dealer-locator #temo-directions-panel .adp-summary {
    font-size: 14px;
    font-weight: 700;
    color: #1ec2e0;
    padding: 8px 0 12px 0;
}

.temo-dealer-locator #temo-directions-panel .adp-legal {
    font-size: 11px;
    color: #888888;
    margin-top: 12px;
}

/* Floating Map Toolbar & Visual Controls */
.temo-dealer-locator .temo-map-floating-toolbar {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.temo-dealer-locator .temo-toolbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #444444;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
}

.temo-dealer-locator .temo-toolbar-btn:hover {
    background: #1ec2e0;
    color: #ffffff;
    border-color: #1ec2e0;
    box-shadow: 0 6px 18px rgba(30, 194, 224, 0.3);
}

/* Bottom Right Dealer Type Map Overlay */
.temo-dealer-locator .temo-map-dealer-type-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 6px;
    pointer-events: auto;
}

.temo-dealer-locator .temo-map-dealer-type-overlay .overlay-title {
    font-size: 11px;
    font-weight: 700;
    color: #737373;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.temo-dealer-locator .temo-map-dealer-type-overlay .overlay-legend-list {
    display: flex;
    align-items: center;
    gap: 20px;
}

.temo-dealer-locator .temo-map-dealer-type-overlay .overlay-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}

.temo-dealer-locator .temo-map-dealer-type-overlay .legend-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.temo-dealer-locator .temo-map-dealer-type-overlay .legend-icon.premier {
    background-color: #FFE9B9;
}

.temo-dealer-locator .temo-map-dealer-type-overlay .legend-icon.authorized {
    background-color: #E3F2D2;
}

.temo-dealer-locator .temo-map-dealer-type-overlay .legend-text.premier-text {
    color: #D69811;
}

.temo-dealer-locator .temo-map-dealer-type-overlay .legend-text.authorized-text {
    color: #89B457;
}

/* Route Info Banner On Map */
.temo-dealer-locator .temo-map-route-banner {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #ffffff;
    padding: 10px 18px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    border-left: 4px solid #1ec2e0;
    font-size: 13px;
    color: #222222;
    animation: fadeInDown 0.3s ease;
}

.temo-dealer-locator .temo-map-route-banner strong {
    color: #1ec2e0;
}

.temo-dealer-locator .temo-clear-route-btn {
    background: #f0f0f0;
    border: 1px solid #cccccc;
    color: #444444;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.temo-dealer-locator .temo-clear-route-btn:hover {
    background: #e53935;
    color: #ffffff;
    border-color: #e53935;
}

/* Premium Card Hover State */
.temo-dealer-locator .temo-dealer-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.temo-dealer-locator .temo-dealer-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: #1ec2e0 !important;
}

.temo-dealer-locator .temo-dealer-card--active {
    border-left: 4px solid #1ec2e0 !important;
    background: #f6fcfe !important;
}

/* Fullscreen Map Mode */
.find-dealer-wrapper:fullscreen,
.find-dealer-wrapper:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    background: #ffffff !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

.find-dealer-wrapper:fullscreen .find-delaer-area,
.find-dealer-wrapper:-webkit-full-screen .find-delaer-area,
.find-dealer-wrapper:fullscreen .dealer-map,
.find-dealer-wrapper:-webkit-full-screen .dealer-map,
.find-dealer-wrapper:fullscreen #temo-dealer-map,
.find-dealer-wrapper:-webkit-full-screen #temo-dealer-map {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    flex: 1 !important;
}

.find-dealer-wrapper:fullscreen .temo-map-floating-toolbar,
.find-dealer-wrapper:-webkit-full-screen .temo-map-floating-toolbar {
    top: 20px !important;
    right: 20px !important;
    z-index: 99999 !important;
}