/* Street Cleaning Schedule Styles */

.street-cleaning-schedule {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 20px 0;
}

.street-cleaning-schedule h2 {
    color: #2c3e50;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.day-section {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.day-section h3 {
    color: #3498db;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.6em;
}

.day-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.day-section ul li {
    font-size: 1.2em;
    padding: 10px;
    border-bottom: 1px solid #ecf0f1;
    transition: background 0.3s;
}

.day-section ul li:last-child {
    border-bottom: none;
}

.day-section ul li:hover {
    background: #f8f9fa;
}

.no-streets {
    color: #7f8c8d;
    font-style: italic;
    margin: 0;
}

/* Search Styles */

.street-cleaning-search {
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
}

.search-instruction {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 15px;
    padding: 12px;
    background: #e8f4f8;
    border-left: 4px solid #3498db;
    border-radius: 4px;
}

.search-input-wrapper {
    position: relative;
}

#street-search-input {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s;
    text-transform: uppercase;
}

#street-search-input:focus {
    outline: none;
    border-color: #3498db;
}

#street-search-results {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-height: 50px;
}

.search-result {
    padding: 15px;
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    margin-bottom: 10px;
}

.search-result h3 {
    margin: 0 0 10px 0;
    color: #2c3e50;
}

.search-result p {
    margin: 5px 0;
    color: #555;
}

.search-result strong {
    color: #2c3e50;
}

.search-error {
    color: #e74c3c;
    text-align: center;
    padding: 20px;
    font-size: 1.1em;
}

.search-loading {
    text-align: center;
    padding: 20px;
    color: #7f8c8d;
}

/* Autocomplete Suggestions */

.autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #3498db;
    border-top: none;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 0 0 5px 5px;
    display: none;
}

.autocomplete-suggestions.active {
    display: block;
}

.autocomplete-suggestion {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.autocomplete-suggestion:hover,
.autocomplete-suggestion.selected {
    background: #3498db;
    color: white;
}

.autocomplete-suggestion:last-child {
    border-bottom: none;
}

/* Responsive Design */

@media (max-width: 768px) {
    .street-cleaning-schedule {
        padding: 15px;
    }
    
    .day-section {
        padding: 15px;
    }
    
    .street-cleaning-search {
        padding: 15px;
    }
}