/* OpenMicList Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    color: white;
    padding: 30px 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.95;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-secondary {
    background: white;
    color: #667eea;
}

.btn-secondary:hover {
    background: #f3f4f6;
}

#authStatus {
    font-size: 14px;
    color: white;
}

#authStatus a {
    color: white;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
}

/* City Selector */
.city-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

.city-selector label {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

#city-select {
    background: white;
    border: 2px solid white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    color: #667eea;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    min-width: 180px;
}

#city-select:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

#city-select:focus {
    border-color: #764ba2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Filters */
.filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid transparent;
    padding: 10px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #667eea;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.filter-btn.active {
    background: #667eea;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Map */
#map {
    height: 500px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin: 20px 0;
    z-index: 1;
}

/* Popup Content */
.popup-content h3 {
    margin-bottom: 8px;
    color: #333;
}

.popup-content p {
    margin: 5px 0;
    font-size: 0.9rem;
}

.popup-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.popup-content a:hover {
    text-decoration: underline;
}

.popup-content .venue-type {
    display: inline-block;
    background: #f0f0f0;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.popup-content .verified {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
    margin-top: 8px;
}

/* Venue List */
.venue-list {
    margin-top: 40px;
}

.venue-list h2 {
    color: white;
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
}

#venues-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.venue-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.venue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.venue-card.highlighted {
    border-color: #667eea;
    background: #f8f9ff;
}

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

.venue-card h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 12px;
    white-space: nowrap;
}

.badge.verified {
    background: #4CAF50;
    color: white;
}

.venue-type-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.venue-type-badge.music {
    background: #e8f5e9;
    color: #2e7d32;
}

.venue-type-badge.comedy {
    background: #fff3e0;
    color: #e65100;
}

.venue-type-badge.mixed {
    background: #e3f2fd;
    color: #1565c0;
}

.venue-schedule {
    color: #666;
    margin: 8px 0;
    font-weight: 600;
}

.venue-description {
    color: #666;
    font-size: 0.95rem;
    margin: 12px 0;
    line-height: 1.5;
}

.venue-footer {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-small {
    background: #667eea;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-small:hover {
    background: #5568d3;
    transform: translateY(-2px);
}

/* Footer */
footer {
    text-align: center;
    color: white;
    margin-top: 60px;
    padding: 30px 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

footer p {
    margin: 5px 0;
}

footer .small {
    font-size: 0.9rem;
    opacity: 0.8;
}

footer a {
    color: white;
    text-decoration: underline;
}

footer a:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .city-selector {
        flex-direction: row;
        gap: 8px;
    }

    .city-selector label {
        font-size: 1rem;
    }

    #city-select {
        min-width: 150px;
        padding: 8px 16px;
    }

    #map {
        height: 400px;
    }

    #venues-container {
        grid-template-columns: 1fr;
    }

    .filters {
        padding: 0 10px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    .city-selector {
        flex-direction: column;
        gap: 8px;
    }

    .city-selector label {
        font-size: 0.95rem;
    }

    #city-select {
        min-width: 200px;
        width: 100%;
        max-width: 280px;
    }

    #map {
        height: 300px;
        border-radius: 10px;
    }

    .venue-card {
        padding: 15px;
    }

    .venue-footer {
        flex-direction: column;
    }
}

/* Custom marker styles */
.custom-marker {
    background: transparent;
    border: none;
}

/* Loading state */
.loading {
    text-align: center;
    padding: 40px;
    color: white;
    font-size: 1.2rem;
}
