/* Дополнительные стили для карты и кнопок */
#map {
    height: 500px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    background-color: #f0f0f0;
}

.custom-div-icon {
    background: transparent;
    border: none;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: #667eea;
    font-size: 1.1rem;
}

.error {
    text-align: center;
    padding: 2rem;
    color: #e74c3c;
    background: #fef5f5;
    border-radius: 8px;
}

.error-container {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 12px;
    margin: 2rem auto;
    max-width: 500px;
}

.error-container a {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 8px;
}

.btn-search {
    background: #667eea;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 1rem;
    transition: all 0.3s;
}

.btn-search:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

.popular-stops {
    margin-top: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.popular-stops h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

.no-results {
    text-align: center;
    padding: 2rem;
    background: #fef5f5;
    border-radius: 12px;
    margin-top: 2rem;
}

.route-header {
    margin-bottom: 1.5rem;
}

.route-header h1 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

.route-direction-full {
    font-size: 1.1rem;
    color: #666;
    padding: 0.5rem 0;
    border-bottom: 2px solid #e9ecef;
}

.stop-header {
    margin-bottom: 1.5rem;
}

.stop-header h1 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stop-description {
    color: #666;
    font-style: italic;
}

.hero {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Адаптивность для карты на мобильных */
@media (max-width: 768px) {
    #map {
        height: 350px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}