/* Auslastungs-Chart Widget - Styling */
/* Für casaboavista.de */

.occupancy-widget {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.occupancy-widget h3 {
    color: #2c5f2d;
    margin: 0 0 15px 0;
    text-align: center;
    font-size: 1.1em;
}

.occupancy-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.occupancy-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.occupancy-line {
    width: 30px;
    height: 3px;
    border-radius: 2px;
}

.occupancy-line.klein {
    background: #4CAF50;
}

.occupancy-line.gross {
    background: #2196F3;
}

.occupancy-year-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 8px;
    background: #f5f5f5;
    border-radius: 4px;
}

.occupancy-year-nav button {
    padding: 6px 12px;
    background: #2c5f2d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85em;
}

.occupancy-year-nav button:hover {
    background: #1e4620;
}

.occupancy-chart-container {
    position: relative;
    width: 100%;
    height: 250px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.occupancy-canvas {
    width: 100%;
    height: 100%;
}

.occupancy-info {
    text-align: center;
    font-size: 0.85em;
    color: #666;
    margin-top: 8px;
}

.occupancy-booking-link {
    text-align: center;
    margin-top: 15px;
}

.occupancy-booking-link a {
    display: inline-block;
    padding: 10px 20px;
    background: #2c5f2d;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9em;
}

.occupancy-booking-link a:hover {
    background: #1e4620;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .occupancy-chart-container {
        height: 200px;
    }
    
    .occupancy-legend {
        flex-direction: column;
        gap: 10px;
    }
}
