* {
    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%);
    min-height: 100vh;
    padding: 20px;
}

header {
    text-align: center;
    color: white;
    margin-bottom: 30px;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

header p {
    font-size: 1.1em;
    opacity: 0.9;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}

.map-container {
    position: relative;
    width: 100%;
    height: 600px;
    background: #f8f9fa;
}

.rating-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9em;
    white-space: nowrap;
}

.rating-indicator.must-try {
    color: #155724;
}

.rating-indicator.perhaps {
    color: #856404;
}

.rating-indicator.skip {
    color: #721c24;
}

.rating-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.rating-circle.green {
    background: #28a745;
}

.rating-circle.yellow {
    background: #ffc107;
}

.rating-circle.red {
    background: #dc3545;
}

.shop-name {
    font-size: 1.4em;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.numerical-rating {
    font-size: 1.2em;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 8px;
}

.donut-info {
    color: #666;
    margin-bottom: 15px;
    font-size: 1em;
}

.donut-name {
    font-weight: 600;
    color: #333;
}

.price {
    color: #333;
    font-weight: 600;
}

.shop-type {
    font-size: 0.8em;
    color: #888;
    font-weight: 400;
    margin-bottom: 8px;
}

/* Leaflet custom styles */
.leaflet-container {
    background: #f8f9fa;
}

.custom-marker {
    background: #dc3545;
    border: 3px solid white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: transform 0.2s;
}

.custom-marker:hover {
    transform: scale(1.3);
}

.custom-marker.must-try {
    background: #28a745;
}

.custom-marker.perhaps {
    background: #ffc107;
}

.custom-marker.skip {
    background: #dc3545;
}

.review-popup {
    min-width: 300px;
    max-width: 350px;
}

.donut-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.nav-arrow {
    background: #667eea;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2em;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow:hover:not(:disabled) {
    background: #5568d3;
}

.nav-arrow:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

.donut-counter {
    font-size: 0.9em;
    color: #666;
    font-weight: 600;
}

.review-popup .shop-name {
    font-size: 1.1em;
    margin-bottom: 3px;
}

.review-popup .shop-location {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 5px;
}

.review-popup .numerical-rating {
    font-size: 1em;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 8px;
}

.review-popup .donut-info {
    font-size: 0.9em;
    margin-bottom: 10px;
}

.review-popup .notes {
    margin: 15px 0;
}

.review-popup .notes ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.review-popup .notes li {
    padding: 3px 0;
    padding-left: 16px;
    position: relative;
    color: #555;
    font-size: 0.85em;
    line-height: 1.4;
}

.review-popup .notes li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #667eea;
}

.review-popup .shop-type {
    font-size: 0.75em;
    color: #888;
    font-weight: 400;
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    header h1 {
        font-size: 1.8em;
    }

    .map-container {
        height: 400px;
    }

    .review-popup {
        min-width: 250px;
        max-width: 280px;
    }
}
