/* static/css/dashboard.css */
.dashboard-container {
    position: relative;
    min-height: 80vh;
    display: flex;
}

.dashboard-content {
    padding: 20px 15px;
    margin-left: 80px; /* Platz für die Sidebar */
    flex: 1;
    transition: margin-left 0.3s ease;
}

.dashboard-buttons {
    position: fixed;
    left: 10px;
    top: 60px; /* Unter dem Header */
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;

    width: 80px;
    padding: 15px 5px;

    overflow-y: auto;
}

.dashboard-button {
    padding: 10px 5px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #ddd;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
}

.dashboard-button:hover {
    background: #e0e0e0;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.dashboard-button i {
    font-size: 16px;
    margin-bottom: 5px;
}

/* Active Button Styling */
.dashboard-button.active {
    background: #17706c;
    color: white;
    border-color: #17706c;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .dashboard-content {
        margin-left: 70px; /* Etwas schmalere Sidebar */
        padding: 15px;
        margin-top: 60px;
    }
    
    .dashboard-buttons {
        width: 70px;
        top: 60px;
        padding: 10px 3px;
    }
    
    .dashboard-button {
        font-size: 10px;
        padding: 8px 2px;
    }
    
    .dashboard-button i {
        font-size: 14px;
    }
}

/* Sehr kleine Displays */
@media (max-width: 480px) {
    .dashboard-content {
        margin-left: 60px;
    }
    
    .dashboard-buttons {
        width: 60px;
    }
    
    .dashboard-button {
        font-size: 9px;
    }
    
    .dashboard-button i {
        font-size: 12px;
    }
}

/* Scrollbar für die Sidebar */
.dashboard-buttons::-webkit-scrollbar {
    width: 3px;
}

.dashboard-buttons::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}