body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: Arial, sans-serif;
}

#map {
    height: 100%;
    width: 100%;
    z-index: 1;
}

#controls {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    background: white;
    padding: 5px;
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

#day-select {
    font-size: 14px;
    padding: 5px;
}

/* Custom Marker Styles */
.custom-marker {
    display: flex;
    justify-content: center;
    align-items: center;
}

.marker-pin {
    width: 30px;
    height: 30px;
    border-radius: 50% 50% 50% 0;
    background: #c30b82;
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -15px 0 0 -15px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
}

.marker-pin::after {
    content: '';
    width: 14px;
    height: 14px;
    margin: 8px 0 0 8px;
    background: #fff;
    position: absolute;
    border-radius: 50%;
}

/* Colors */
.marker-pin.open {
    background: #28a745;
    /* Green */
}

.marker-pin.opening-soon {
    background: #007bff;
    /* Blue */
}

.marker-pin.closed {
    background: #dc3545;
    /* Red */
}

/* Popup Styles */
.leaflet-popup-content h3 {
    margin: 0 0 5px 0;
    color: #333;
}

.leaflet-popup-content p {
    margin: 5px 0;
    font-size: 14px;
}

.status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    color: white;
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 5px;
}

.status-open {
    background-color: #28a745;
}

.status-soon {
    background-color: #007bff;
}

.status-closed {
    background-color: #dc3545;
}

.marker-pin.closing-soon {
    background: #fd7e14;
    /* Orange */
}

.status-closing-soon {
    background-color: #fd7e14;
}

.bassins-list {
    margin-top: 8px;
    padding-left: 20px;
    font-size: 12px;
    color: #666;
}

/* Drawer Styles */
.drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 15px 15px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    z-index: 2000;
    max-height: 60vh;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 20px;
}

.drawer.open {
    transform: translateY(0);
}

.drawer-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

#drawer-content h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
}

#drawer-content p {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.4;
}

.bassins-list li {
    margin-bottom: 4px;
}