/**
 * Public-Facing Styles for InMode Provider Locator
 */

/* Main Container */
.inmode-provider-locator {
    display: flex;
    flex-wrap: wrap;
    background: #000000;
    color: #ffffff;
    font-family: 'Heebo', sans-serif;
    border: 1px solid #333;
    max-width: 1550px;
    margin: 20px auto;
}

/* Controls Section */
.locator-controls {
    flex-basis: 100%;
    padding: 30px;
    background: #000000;
    border-bottom: 1px solid #333333;
}

.search-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #59B7B3;
    font-weight: 400;
    text-transform: uppercase;
}

.search-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.search-inputs > div {
    flex: 1 1 auto;
}

.search-inputs .location-search {
    flex-grow: 2;
    min-width: 250px;
}

.search-inputs .search-btn-container {
    flex: 0 1 auto;
}

.search-inputs label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #cccccc;
}

.location-input,
.search-radius-select,
.technology-filter,
.treatment-filter,
.clinic-name-filter {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    background: #1a1a1a;
    border: 1px solid #444;
    color: #ffffff;
    border-radius: 0;
}

.use-location-btn {
    margin-left: -40px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #59B7B3;
}

.search-btn {
    height: 48px;
    background: #59B7B3;
    color: #ffffff;
    border: none;
    padding: 0 25px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
}

/* Main Content Area (List and Map) */
.locator-main {
    display: flex;
    width: 100%;
    height: 600px;
}

/* Results List */
.results-container {
    flex: 0 0 500px; /* Adjust width as needed */
    background: #000000;
    color: #ffffff;
    padding: 20px;
    overflow-y: auto;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #333333;
}

.results-title {
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    color: #cccccc;
    text-transform: uppercase;
}

.results-count {
    color: #cccccc;
}

.providers-list {
    margin-top: 20px;
}

/* Provider Card */
.provider-card {
    background: #000000;
    border: none;
    padding: 20px 10px;
    cursor: pointer;
    color: #ffffff;
    border-bottom: 1px solid #333333;
}

.provider-card:hover,
.provider-card.active {
    background: #1a1a1a;
}

/* Removed conflicting .provider-name definition - using modern definition later in file */

/* Removed conflicting .provider-address definition - using modern definition later in file */

/* No Results & Loading */
.no-results,
.loading-results {
    text-align: center;
    padding: 60px 20px;
    color: #ffffff;
}

.no-results h4,
.loading-results h4 {
    font-size: 20px;
    margin: 15px 0 10px;
    color: #ffffff;
}

.no-results p,
.loading-results p {
    font-size: 16px;
    color: #cccccc;
}

/* Map Container */
.map-container {
    flex: 1;
    position: relative;
}

.provider-map {
    width: 100%;
    height: 100%;
}

.map-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #333;
    border-top-color: #59B7B3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ====================================
   FILTERS SECTION - HORIZONTAL LAYOUT
   ==================================== */
.filters-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.filters-title {
    font-size: 18px;
    font-weight: 400;
    margin: 0 0 20px 0;
    text-align: center;
    color: #ffffff;
    text-transform: uppercase;
}

/* Horizontal Filter Layout - Matching Target */
.filter-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.filter-group {
    display: flex;
    flex-direction: column;
    width: 150px;
}

.filter-group label {
    font-size: 12px;
    margin-bottom: 5px;
    color: #ffffff;
    text-transform: uppercase;
    text-align: left;
}

.filter-group input,
.filter-group select {
    height: 45px;
    border: 1px solid #ffffff;
    border-radius: 0;
    background: #000000;
    color: #ffffff;
    font-size: 14px;
    font-family: 'Heebo', sans-serif;
    padding: 12px 15px;
    width: 100%;
}

.filter-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #59B7B3;
}

.filter-group select {
    cursor: pointer;
}

.filter-group select option {
    background: #000000;
    color: #ffffff;
}

/* Filter Action Buttons */
.filter-actions {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    margin-top: 0;
}

.apply-filters-btn,
.clear-filters-btn {
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    font-family: 'Heebo', sans-serif;
    height: 45px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.apply-filters-btn {
    background: #59B7B3;
    color: #ffffff;
    border: none;
}

.apply-filters-btn:hover {
    background: #4a9995;
}

.clear-filters-btn {
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.clear-filters-btn:hover {
    background: #ffffff;
    color: #000000;
}

/* ====================================
   RESULTS SECTION - MATCHING TARGET LAYOUT
   ==================================== */
.locator-results {
    display: flex;
    flex-direction: column;
    background: #000000;
}

/* Full Layout - Map + List Side by Side */
.inmode-provider-locator[data-layout="full"] .locator-results {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 0;
    min-height: 600px;
}

.inmode-provider-locator[data-layout="full"] .results-container {
    order: 1;
    background: #000000;
    color: #ffffff;
    overflow-y: auto;
    /* Removed max-height: 600px constraint */
    padding: 20px;
}

.inmode-provider-locator[data-layout="full"] .map-container {
    order: 2;
}

/* Map Container - Matching Target */
.map-container {
    position: relative;
    background: #f5f5f5;
    height: 600px;
}

.provider-map {
    width: 100%;
    height: 100%;
}

.map-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    z-index: 10;
}

.map-loading.hidden {
    display: none;
}

.map-loading p {
    margin: 10px 0 0 0;
    font-size: 16px;
}

/* Loading Spinner */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #59B7B3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ====================================
   PROVIDER CARDS - MATCHING TARGET DESIGN
   ==================================== */
.providers-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 20px;
}

.providers-list[data-view="list"] {
    display: flex;
    flex-direction: column;
}

.providers-list[data-view="grid"] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

/* Provider Card - Exact Match to Target */
.provider-card {
    background: #000000;
    border: none;
    padding: 20px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    color: #ffffff;
    border-bottom: 1px solid #333333;
}

.provider-card:hover,
.provider-card.active {
    background: #1a1a1a;
}

.provider-card:last-child {
    border-bottom: none;
}

/* Provider Header */
.provider-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 10px;
}

.provider-logo {
    width: 60px;
    height: 60px;
    background: #000000;
    border: 1px solid #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.provider-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.provider-info {
    flex: 1;
}

.provider-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #59B7B3;
    margin-bottom: 5px;
}

/* Removed conflicting .provider-contact definition - using modern definition later in file */

.contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: #59B7B3;
}

.contact-item svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Removed conflicting .provider-treatments definition - using modern definition later in file */

.treatments-label {
    display: block;
    font-size: 12px;
    color: #cccccc;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
}

.treatments-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.treatment-tag {
    display: inline-block;
    padding: 5px 12px;
    background: #222222;
    color: #ffffff;
    border: 1px solid #444444;
    font-size: 12px;
    border-radius: 4px;
    margin: 0 5px 5px 0;
}

/* Provider Distance */
.provider-distance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #333333;
}

.distance-info {
    font-size: 12px;
    color: #cccccc;
}

.directions-btn {
    background: #59B7B3;
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    font-family: 'Heebo', sans-serif;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.directions-btn:hover {
    background: #4a9995;
    text-decoration: none;
    color: #ffffff;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #ffffff;
}

.no-results-icon {
    margin-bottom: 15px;
    color: #59B7B3;
}

.no-results h4 {
    font-size: 20px;
    margin: 15px 0 10px;
    color: #ffffff;
}

.no-results p {
    font-size: 16px;
    margin: 0;
    color: #cccccc;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Loading Results */
.loading-results {
    text-align: center;
    padding: 60px 20px;
    color: #ffffff;
}

.loading-results p {
    margin: 15px 0 0 0;
    font-size: 16px;
    color: #cccccc;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    padding: 20px;
}

.load-more-btn {
    background: #59B7B3;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    font-family: 'Heebo', sans-serif;
    border-radius: 0;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #4a9995;
}

/* Provider Modal */
.provider-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    max-width: 600px;
    width: 90%;
    margin: 50px auto;
    background: #000000;
    border: 2px solid #59B7B3;
    border-radius: 0;
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #111111;
    border-bottom: 1px solid #333333;
}

.modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
}

.modal-close {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 5px;
}

.modal-close:hover {
    color: #59B7B3;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    color: #ffffff;
}

.detail-section {
    margin-bottom: 20px;
}

.detail-section h5 {
    font-size: 16px;
    margin: 0 0 10px;
    color: #59B7B3;
    font-weight: 500;
}

.detail-section p {
    margin: 0 0 10px;
    font-size: 14px;
    color: #cccccc;
}

.detail-section a {
    color: #59B7B3;
    text-decoration: none;
}

.detail-section a:hover {
    text-decoration: underline;
}

.treatments-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(89, 183, 179, 0.1);
    color: #59B7B3;
    font-weight: 500;
    border: 1px solid #59B7B3;
    border-radius: 0;
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */
@media (max-width: 1024px) {
    .inmode-provider-locator[data-layout="full"] .locator-results {
        grid-template-columns: 1fr;
        grid-template-rows: 400px 1fr;
    }
    
    .inmode-provider-locator[data-layout="full"] .map-container {
        order: 1;
        height: 400px;
    }
    
    .inmode-provider-locator[data-layout="full"] .results-container {
        order: 2;
        max-height: none;
    }
    
    .search-inputs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .location-search,
    .search-radius,
    .filter-group {
        width: calc(33.33% - 10px);
        min-width: 0;
    }
    
    .search-btn {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .locator-controls {
        padding: 40px 0;
    }
    
    .search-title {
        font-size: 36px;
    }
    
    .search-inputs {
        gap: 10px;
    }
    
    .location-search,
    .search-radius,
    .filter-group {
        width: calc(50% - 10px);
    }
    
    .search-btn {
        width: 100%;
    }
    
    .filter-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .apply-filters-btn,
    .clear-filters-btn {
        width: 100%;
    }
    
    .results-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .providers-list {
        gap: 10px;
    }
    
    .providers-list[data-view="grid"] {
        grid-template-columns: 1fr;
    }
    
    .provider-card {
        padding: 12px;
    }
    
    .provider-contact {
        flex-direction: column;
        gap: 8px;
    }
    
    .provider-distance {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .directions-btn {
        align-self: flex-start;
    }
    
    .modal-content {
        width: 95%;
        margin: 30px auto;
    }
}

@media (max-width: 480px) {
    .locator-controls {
        padding: 30px 0;
    }
    
    .search-title {
        font-size: 28px;
    }
    
    .location-search,
    .search-radius,
    .filter-group {
        width: 100%;
    }
    
    .modal-content {
        width: 100%;
        margin: 0;
        height: 100vh;
        max-height: none;
        border: none;
    }
    
    .modal-body {
        padding: 15px;
    }
}

/* ====================================
   ACCESSIBILITY & FOCUS STATES
   ==================================== */
.search-btn:focus,
.apply-filters-btn:focus,
.clear-filters-btn:focus,
.load-more-btn:focus,
.directions-btn:focus,
.view-btn:focus,
.modal-close:focus,
.use-location-btn:focus {
    outline: 2px solid #59B7B3;
    outline-offset: 2px;
}

@media (prefers-contrast: high) {
    .provider-card {
        border-width: 2px;
    }
    
    .provider-card:hover,
    .provider-card.active {
        border-width: 3px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .loading-spinner {
        animation: none;
    }
}

/* FIND A PROVIDER title */
.search-title {
    font-size: 48px;
    font-weight: 300;
    margin: 0 0 40px 0;
    text-align: center;
    color: #59B7B3;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Location icon */
.location-icon {
    font-size: 14px;
    color: #59B7B3;
}

/* Results near you */
.results-near-you {
    font-size: 14px;
    color: #cccccc;
    margin: 20px 0 15px 0;
    display: block;
    text-align: left;
}

/* InMode Theme Integration */
body.theme-inmode .inmode-provider-locator {
    --inmode-primary: #59B7B3;
    --inmode-primary-dark: #4a9995;
    --inmode-black: #000000;
    --inmode-white: #ffffff;
    --inmode-gray: #cccccc;
    --inmode-border: #333333;
}

/* Removed smooth scrolling to avoid conflicts */

/* Better loading states */
.map-loading, .loading-results {
    transition: opacity 0.3s ease;
}

/* Map marker info window styling */
.gm-style .gm-style-iw-c {
    padding: 0 !important; /* Let inner card control its own padding */
    border-radius: 0 !important;
    background: #000000 !important;
    border: 2px solid #59B7B3 !important;
    color: #ffffff !important;
}

.gm-style .gm-style-iw-d {
    overflow: hidden !important;
}

.gm-style .gm-style-iw-t::after {
    display: none; /* Hide the default Google Maps tail */
}

/* Make the info-window content use the same card layout */
.map-info-window .result-item-content {
    display: flex;
    padding: 10px;
    gap: 10px;
    background: #1e1e1e;
    border: 1px solid #333333;
    width: 350px; /* align with sidebar card width */
    box-sizing: border-box;
}

.map-info-window .provider-image { width: 80px; height: 80px; }
.map-info-window .provider-name { font-size: 16px; color: #ffffff; margin: 0; }
.map-info-window .provider-address { font-size: 13px; color: #cccccc; margin: 0; }
.map-info-window .provider-contact { display: flex; flex-direction: column; gap: 4px; }
.map-info-window .provider-phone a, .map-info-window .provider-website a { color: #59B7B3; text-decoration: none; }
.map-info-window .provider-phone a:hover, .map-info-window .provider-website a:hover { color: #ffffff; text-decoration: underline; }

.map-info-window h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 18px;
    color: #59B7B3;
}

.map-info-window p {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #cccccc;
}

.map-info-window p:last-child {
    margin-bottom: 0;
}

.map-info-window p strong {
    color: #59B7B3;
}

.map-info-window .contact-info {
    margin: 8px 0;
}

.map-info-window .directions-link {
    display: block;
    margin-top: 12px;
    text-align: right;
}

.map-info-window .directions-link a {
    display: inline-block;
    padding: 8px 12px;
    background: #59B7B3;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
}

.map-info-window .directions-link a:hover {
    background: #4a9995;
}

/* Modern Dark Provider Card Styles */

.locator-main {
    display: flex;
    gap: 20px;
    height: 600px;
}

.results-container {
    flex: 1;
    max-width: 400px;
    min-width: 350px;
    background: #111111;
    border: 1px solid #2d2d2d;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.results-header {
    background: #59B7B3;
    padding: 16px 20px;
    color: #ffffff;
    border-bottom: 1px solid #2d2d2d;
}

.results-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff !important;
}

/* Additional specificity for results text */
.providers-container .results-header h3,
.providers-container .results-header h3 *,
h3.results-title,
.inmode-provider-locator .results-header h3,
.inmode-provider-locator .results-title,
[data-plugin-version] .results-header h3,
[data-plugin-version] h3.results-title,
#inmode-results-container h3,
.locator-main .results-header h3 {
    color: #ffffff !important;
    text-shadow: none !important;
    background: transparent !important;
}

.results-count {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.providers-list {
    flex: 1;
    padding: 8px;
    background: #111111;
    overflow-y: auto;
}

/* Simplified Scrollbar - No Custom Styling */

.result-item {
    margin-bottom: 12px;
    position: relative;
}

.result-item:hover {
    border-color: #59B7B3;
}

/* Removed complex pseudo-elements */

.result-item-content {
    display: flex;
    padding: 10px;
    gap: 10px;
    position: relative;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
    background: #1e1e1e;
    border: 1px solid #333333;
    margin-bottom: 8px;
}

.map-container {
    flex: 2;
    background: #1a1a1a;
    border: 1px solid #2d2d2d;
    position: relative;
    height: 100%;
}

.provider-map {
    width: 100%;
    height: 100%;
}

/* Provider Image */
.provider-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    background: #2d2d2d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.provider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Provider Details */
.provider-details {
    flex: 1;
    color: #ffffff;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: flex-start;
}

/* Provider Name */
.provider-name {
    color: #ffffff;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    word-wrap: break-word;
}

/* Provider Address */
.provider-address {
    color: #cccccc;
    margin: 0;
    font-size: 13px;
    line-height: 1.3;
    word-wrap: break-word;
}

/* Provider Contact */
.provider-contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 4px;
}

.provider-phone, .provider-website {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
}

.provider-phone a, .provider-website a {
    color: #59B7B3 !important;
    text-decoration: none;
}

.provider-phone a:hover, .provider-website a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Provider Treatments */
.provider-treatments {
    margin: 0;
    padding: 8px 10px;
    background: transparent;
}

.treatments-label {
    color: #59B7B3 !important;
    font-size: 11px;
    font-weight: 600;
    margin: 0 0 4px 0;
    text-transform: uppercase;
}

.treatments-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.treatment-tag {
    background: rgba(89, 183, 179, 0.2);
    color: #ffffff;
    padding: 4px 8px;
    font-size: 12px;
    border: 1px solid rgba(89, 183, 179, 0.3);
    white-space: nowrap;
    display: inline-block;
}



.provider-phone,
.provider-website {
    color: #888888;
    font-size: 12px;
    margin: 0;
    line-height: 1.2;
}

.provider-phone a,
.provider-website a {
    color: #59B7B3;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.provider-phone a:hover,
.provider-website a:hover {
    color: #6dd5d0;
    text-shadow: 0 0 8px rgba(89, 183, 179, 0.3);
}



/* Loading and Empty States */
.loading-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: #888888;
    background: linear-gradient(145deg, #111111, #1a1a1a);
    border-radius: 12px;
    margin: 8px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #2d2d2d;
    border-top: 3px solid #59B7B3;
    border-right: 3px solid #4a9995;
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(89, 183, 179, 0.3);
}

.loading-results p {
    color: #b3b3b3;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: #888888;
    background: #1a1a1a;
    border-radius: 12px;
    margin: 20px;
}

.no-results h4 {
    color: #ffffff;
    font-size: 18px;
    margin: 0 0 8px 0;
}

.no-results p {
    color: #888888;
    font-size: 14px;
    margin: 0;
}

/* Simplified Responsive Design */
@media (max-width: 1024px) {
    .locator-main {
        flex-direction: column;
    }
    
    .results-container {
        max-width: none;
        min-width: auto;
        order: 2;
    }
    
    .map-container {
        height: 400px;
        order: 1;
    }
}

@media (max-width: 768px) {
    .locator-main {
        gap: 16px;
    }
    
    .result-item-content {
        padding: 12px;
        gap: 12px;
    }
    
    .provider-image {
        width: 60px;
        height: 60px;
    }
    
    .provider-name {
        font-size: 16px !important;
    }
    
    .provider-address {
        font-size: 12px;
    }
    
    .providers-list {
        padding: 6px;
    }
    
    .results-header {
        padding: 12px 16px;
    }
    
    .results-header h3 {
        font-size: 16px;
    }
} 