/* Simple Store Locator CSS - Professional and Clean */

.store-navigator-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
    min-height: 600px;
}

.store-navigator-container {
    display: flex;
    height: 700px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: #fff;
    position: relative;
}

.store-navigator-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #0056b3, #004085);
    z-index: 1;
}

.store-map {
    flex: 1;
    min-height: 700px;
    position: relative;
    background: #f8f9fa;
}

#map {
    width: 100%;
    height: 100%;
    border: none;
}

.find-store-navegator {
    width: 450px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.store-container {
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.store-header {
    margin-bottom: 25px;
    text-align: center;
}

.store-header h3 {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.store-header h3 i {
    color: #007bff;
    font-size: 24px;
}

.store-subtitle {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
    font-weight: 400;
}.navigation-
menu {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navigation-menu li {
    flex: 1;
}

.navigation-menu a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    text-decoration: none;
    color: #6c757d;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border-right: 1px solid #dee2e6;
    position: relative;
    gap: 6px;
    cursor: pointer;
}

.navigation-menu a i {
    font-size: 18px;
    margin-bottom: 2px;
}

.navigation-menu a span {
    font-size: 12px;
    font-weight: 600;
}

.navigation-menu li:last-child a {
    border-right: none;
}

.navigation-menu li.active a {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.navigation-menu a:hover:not(.active) {
    background: #e9ecef;
    color: #495057;
    transform: translateY(-1px);
}

.store-count-container {
    margin-bottom: 20px;
}

.store-count {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    padding: 12px 16px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #007bff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.search-form-container {
    margin-bottom: 25px;
}

.store-search-form {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.form-label i {
    color: #007bff;
    width: 16px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    transform: translateY(-1px);
}

.form-control::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

.input-group {
    display: flex;
}

.input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.input-group-append .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-color: #007bff;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

.btn-location {
    padding: 16px 24px;
    font-size: 16px;
    border-radius: 12px;
    width: 100%;
}

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

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
}

.select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.form-text {
    font-size: 12px;
    color: #6c757d;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-text i {
    color: #007bff;
}

.location-search-container {
    text-align: center;
}

.location-search-container .form-text {
    justify-content: center;
    margin-top: 12px;
}

.filter-group {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.results-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.filter-content {
    flex: 1;
    overflow-y: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.welcome-message, .no-results-message {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.welcome-content i, .no-results-content i {
    color: #007bff;
    margin-bottom: 16px;
    opacity: 0.7;
}

.welcome-content h5, .no-results-content h5 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #495057;
    font-weight: 600;
}

.welcome-content p, .no-results-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.store-item {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    position: relative;
    margin: 8px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.store-item:hover {
    background: linear-gradient(135deg, #f8f9ff, #f0f4ff);
    transform: translateY(-2px);
    border-color: #007bff;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.15);
}

.store-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.store-name {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    flex: 1;
}

.store-distance {
    background: #007bff;
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-left: 8px;
}

.store-details {
    margin-bottom: 12px;
}

.store-details p {
    margin: 0 0 4px 0;
    font-size: 13px;
    color: #6c757d;
    display: flex;
    align-items: center;
}

.store-details i {
    width: 16px;
    margin-right: 8px;
    color: #007bff;
}

.store-details a {
    color: #007bff;
    text-decoration: none;
}

.store-details a:hover {
    text-decoration: underline;
}

.store-actions {
    display: flex;
    gap: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .store-navigator-container {
        flex-direction: column;
        height: auto;
        min-height: 500px;
    }
    
    .store-map {
        height: 300px;
        min-height: 300px;
    }
    
    .find-store-navegator {
        width: 100%;
        border-left: none;
        border-top: 1px solid #e9ecef;
    }
    
    .store-container {
        padding: 16px;
    }
    
    .navigation-menu {
        flex-direction: column;
    }
    
    .navigation-menu a {
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }
    
    .navigation-menu li:last-child a {
        border-bottom: none;
    }
}/* Cit
y Search Autocomplete */
.city-search-container {
    position: relative;
}

.city-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid #007bff;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.city-suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.city-suggestion-item:hover {
    background-color: #f8f9fa;
}

.city-suggestion-item:last-child {
    border-bottom: none;
}

.city-suggestion-item.active {
    background-color: #007bff;
    color: #fff;
}

.city-suggestion-item i {
    color: #007bff;
    width: 16px;
}

.city-suggestion-item.active i {
    color: #fff;
}

/* Better button styling */
.search-btn {
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.search-btn span {
    font-weight: 600;
}

.input-group-append .search-btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: none;
}

/* Fix overlapping issues */
.results-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0; /* Important for flex overflow */
}

.filter-content {
    flex: 1;
    overflow-y: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    min-height: 0; /* Important for flex overflow */
}

/* Improve form spacing */
.form-group {
    margin-bottom: 18px;
}

.search-form-container {
    margin-bottom: 20px;
    flex-shrink: 0; /* Prevent shrinking */
}

.store-count-container {
    margin-bottom: 15px;
    flex-shrink: 0; /* Prevent shrinking */
}

.store-header {
    margin-bottom: 20px;
    flex-shrink: 0; /* Prevent shrinking */
}

/* Better scrollbar for suggestions */
.city-suggestions::-webkit-scrollbar {
    width: 6px;
}

.city-suggestions::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.city-suggestions::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.city-suggestions::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Loading state for buttons */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Better mobile responsiveness */
@media (max-width: 768px) {
    .store-navigator-page {
        padding: 10px;
    }
    
    .store-navigator-container {
        height: auto;
        min-height: 600px;
    }
    
    .find-store-navegator {
        width: 100%;
    }
    
    .store-container {
        padding: 20px;
    }
    
    .search-btn span {
        display: none;
    }
    
    .search-btn {
        min-width: 50px;
    }
    
    .city-suggestions {
        max-height: 150px;
    }
}

@media (max-width: 480px) {
    .store-container {
        padding: 15px;
    }
    
    .store-header h3 {
        font-size: 24px;
    }
    
    .navigation-menu a {
        padding: 12px 8px;
    }
    
    .navigation-menu a span {
        font-size: 11px;
    }
}