/* Header Location Search */


.rc-location-search-no-city h5 {font-size: 18px;}
.rc-location-search-no-city p {font-size: 14px; line-height: 1.4; margin-bottom: 10px;}
.rc-location-search-status-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.rc-location-search-status-row .rc-location-search-no-city-icon,
.rc-location-search-status-row .rc-location-search-not-found {
    margin: 0;
}
.rc-location-search-no-city .rc-button {font-size: 14px;
  padding: 6px 15px !important;
  min-height: unset;}

.rc-location-search-panel {
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1;
    background: #fff;
    border-top: 1px solid #DDE0E7;
    box-shadow: 0 8px 20px rgba(2, 18, 40, 0.08);
}

.rc-location-search-panel[hidden] {
    display: none !important;
}

.rc-location-search-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 24px;
}

.rc-location-search-input {
    display: block;
    width: 100%;
    height: 52px;
    padding: 12px 18px;
    color: #021228;
    background: #fff;
    border: 1px solid #DDE0E7;
    border-radius: 0;
    font-family: inherit;
    font-size: 16px;
}

.rc-location-search-input:focus {
    outline: none;
    border-color: #006BFD;
}

.rc-location-search-results {
    max-height: 320px;
    overflow-y: auto;
}

.rc-location-search-result {
    display: block;
    padding: 13px 18px;
    color: #021228;
    background: #fff;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.rc-location-search-result:hover {
    color: #006BFD;
    background: #F5F5F5;
}

.rc-location-search-empty {
    padding: 20px 15px;
    color: #6A7586;
}

/* Desktop Header Search */
@media (min-width: 992px) {

    /* Hide the quote button on desktop only */
    .rc-header-quote-button {
        display: none !important;
    }

    .rc-location-search {
        display: flex;
        align-items: center;
        width: 300px;
    }

    /* Desktop shows the input directly, so hide toggle icon */
    .rc-location-search-toggle {
        display: none !important;
    }

    /* Keep search panel visible inside the header */
    .rc-location-search-panel,
    .rc-location-search-panel[hidden] {
        display: block !important;
        position: static;
        width: 100%;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .rc-location-search-inner {
        position: relative;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .rc-location-search-input {
        width: 100%;
        height: 50px;
        padding: 10px 48px 10px 16px;
        border: 1px solid #DDE0E7;
        background: #fff;
        font-size: 15px;
		border-radius: 6px;
    }

    .rc-location-search-input:focus {
        outline: none;
        border-color: #006BFD;
    }

    /* Search icon inside desktop input */
    .rc-location-search-inner::after {
        content: "";
        position: absolute;
        top: 25px;
        right: 16px;
        width: 19px;
        height: 19px;
        transform: translateY(-50%);
        pointer-events: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='11' cy='11' r='7' stroke='%23021228' stroke-width='2'/%3E%3Cpath d='M16.5 16.5L21 21' stroke='%23021228' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

    /* Results dropdown below desktop input */
    .rc-location-search-results {
        position: absolute;
        top: calc(100% + 5px);
        left: 0;
        right: 0;
        z-index: 99999;
        max-height: 300px;
        overflow-y: auto;
        background: #fff;
        box-shadow: 0 8px 20px rgba(2, 18, 40, 0.12);
		border-radius: 6px;
    }

    .rc-location-search-result {
        padding: 12px 16px;
    }

    .rc-location-search-empty {
        padding: 20px 15px;
        background: #fff;
    }
}

/* Mobile / Tablet - keep current behaviour */
@media (max-width: 991px) {

    .rc-location-search-toggle {
        width: 44px;
        height: 44px;
		border: none;
		background: none;
    }

    .rc-location-search-inner {
        padding: 15px;
    }
}